Source for the Sciris website. This is the project landing page; the documentation lives separately at docs.sciris.org (built from the docs folder of the Sciris repository).
index.md– all of the site content, written in Markdown with Nunjucks shortcodesbase.njk– the page template (navbar, hero, footer)eleventy.config.js– build configuration, plus the shortcodes used byindex.md(section,cards,examples,topbuttons, etc.)assets/– CSS, JS, images;assets/img/make-examples.pyregenerates the example plot
Requires Node.js. To build into _site:
./build.shTo preview at http://localhost:8080, rebuilding as you edit:
./serve.sh./clean.sh removes _site and node_modules.
Pushing to master builds and deploys the site to GitHub Pages via .github/workflows/deploy.yml. Note that this requires GitHub Pages to be set to "GitHub Actions" as its source in the repository settings.