Documentation
How to update and build the documentation.
References:
- https://just-the-docs.github.io/just-the-docs/
- https://just-the-docs.github.io/just-the-docs/docs/index-test/
- https://pdmosses.github.io/just-the-docs-tests/
- https://pdmosses.github.io/test-nav/
Updating:
- Clone the repo locally
- Make the changes to the required markdown files
- Push to github’s master branch.
The website should get updated soon enough.
Testing Documentation Locally:
Sometimes, it is convenient to test the documentation locally, and then push it all at once.
To do this, after cloning the repo, run
docker compose build
docker compose up &
and navigate to:
http://0.0.0.0:4000/robot-framework/
the website will reload as you save changes to underlying files.
Folder Structure:
There is (at the time of writing) a folder structure like this:
.
├── 404.html ## this is displayed with a 404 error [no need to touch]
├── Gemfile ## defines some of the packages needed to build this website, [no need to touch]
├── _config.yml ## some baseline configurations [no need to touch]
├── _site ## local build of website goes here, [no need to touch, will be auto-updated]
│ └── *lots of files*
├── assets
│ └── images ## all images need to go into this folder
├── documentation_guide ## make a folder for each subsection we want
│ └── documentation.md
├── favicon.ico
├── index.md ## first displayed page
├── px4_robots
│ ├── first_experiment.md ## create individual documentation pages here
│ ├── px4_robots.md ## this file is the section header
│ ├── px4_setup.md ## individual documentation here
│ └── raspi_setup.md
└── readme.md