Skip to content

Repository files navigation

sciris.github.io

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).

Structure

  • index.md – all of the site content, written in Markdown with Nunjucks shortcodes
  • base.njk – the page template (navbar, hero, footer)
  • eleventy.config.js – build configuration, plus the shortcodes used by index.md (section, cards, examples, topbuttons, etc.)
  • assets/ – CSS, JS, images; assets/img/make-examples.py regenerates the example plot

Building

Requires Node.js. To build into _site:

./build.sh

To preview at http://localhost:8080, rebuilding as you edit:

./serve.sh

./clean.sh removes _site and node_modules.

Deployment

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.

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

4 watching

Forks

Releases

Packages

Used by

Contributors

Languages