Files
inventree-website/netlify.toml
T
Oliver dd7d563e79 Zensical Refactor (#300)
* refactor into zensical

* adjust nav layout

* more nav changes

* update features page

* open external hero links in new tab

* consolidate small pages

* add legacy page redirects

* tweak content

* further cleanup

* adjust netlify config

* disable redirect

* remove redirect script

* fix tag splitting for plugins

* Display plugin metadata on left-hand side

* revert icon changes

* move gallery to index page

* Add page deascriptions

* fix image size for carousel

* adjust theme
2026-11-22 22:40:17 +11:00

14 lines
519 B
TOML

# Netlify preview builds for pull requests
[build]
command = "pip install -r requirements.txt && zensical build --clean && python scripts/post_build.py"
publish = "site"
[build.environment]
PYTHON_VERSION = "3.12"
# Netlify's "pretty URLs" serves <page>.html at /<page> and redirects /<page>/ there.
# The legacy <page>.html redirects (see scripts/post_build.py) would then loop, so
# serve URLs exactly as built - matching GitHub Pages, which hosts the live site.
[build.processing.html]
pretty_urls = false