A MyST based landing page for the QIIME 2 project using the open source Landing Page Theme and custom roles & directives by Curvenote.
- Site wide configuration - see theme docs
- Configurable Hero & Footer Units - added using custom "parts" in the theme along with custom directives
- A Discourse directive
- A Science Icons Role
Install the curvenote
or mystmd
CLI.
npm install -g mystmd
myst -v
cd qiime-landing
myst start
Theme selection and configuration is set by adding the appropriate keys to the site
section of the myst.yml
file. For example:
site:
template: curvenote/curvenote-landing
options:
logo: qiime2.svg
favicon: images/qiime2-favicon-256.png
topbar_height: 80
topbar_floating: false
topbar_fixed: false
show_footnotes: false
show_bibliography: false
Add custom myst plugins to the site be adding a plugins
list to the project
section within myst.yml
.
The curvenote-landing
theme bundles the renderers for each of the plugins below, the MyST plugin system is still evolving, watch the myst docs for updates on how to include custom renderers.
project:
plugins:
- scienceicons.mjs
- discourse.mjs
- curvenote-web.mjs
This site is deployed on github actions, see .github/workflows/deploy.yml
.