Skip to content

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

10 watching

Forks

Latest commit

 

History

173 Commits

Folders and files

Repository files navigation

grassroots-user-docs

User documentation for the Grassroots services, the Field Trials system and the mobile app.

The pages are Markdown files in services/ and mobile_app/. They are built into a website in the Read the Docs style using MkDocs.

Building the site

python3 -m venv venv
venv/bin/pip install -r requirements.txt
venv/bin/mkdocs serve      # preview at http://127.0.0.1:8000, reloads as you edit
venv/bin/mkdocs build      # writes the static site to site/

Adding a page

  1. Add the Markdown file under services/ or mobile_app/, next to related pages. Put its images in the images/ folder beside it.
  2. Add it to the nav section of mkdocs.yml so that it appears in the sidebar.
  3. Link to other pages with relative paths to their .md files, e.g. [Submitting Plots](submit_plots.md), rather than full https://grassroots.tools/... addresses.
  4. Run venv/bin/mkdocs build --strict to check for broken links.

docs/ holds the home page, the extra stylesheet and symlinks to services/ and mobile_app/. MkDocs needs the pages in a folder below mkdocs.yml, and the symlinks let them stay where they are.

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

10 watching

Forks

Releases

Packages

Contributors

Languages