mirror of
https://github.com/inventree/inventree-website.git
synced 2026-11-28 00:48:45 +00:00
* 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
14 lines
519 B
TOML
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
|