-
Notifications
You must be signed in to change notification settings - Fork 83
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Fix typo * Add make to prerequisites * Fix minor doc errors * Update documentation instructions
- Loading branch information
1 parent
44bd1ed
commit e4c8c26
Showing
8 changed files
with
42 additions
and
33 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,27 +1,26 @@ | ||
# Update the documentation | ||
|
||
All documentation is found in the `/docs` directory. | ||
All documentation is found in the `/docs` directory. Thank you for helping keep X-HEEP accurately and extensively documented! | ||
|
||
1. If you need to create a new entry, add the new document in markdown (`.md` extension) to the corresponding folder. Otherwise, just edit the corresponding file. | ||
|
||
> Make sure the document has one single `# header`, otherwise they will be considered different documents. | ||
2. If a new folder is added, add it to the `toctree` inside `docs/source/index.rst` (as the `peripherals` folder is) | ||
3. Commit and push | ||
2. If a new folder is added, add it to the `toctree` inside `docs/source/index.rst` (as the `peripherals` folder is). | ||
3. Commit and push. | ||
4. Open a pull request and you can preview the updates to the docs in the CI build. | ||
5. Once the pull request is merged, the documentation will be updated automatically. | ||
|
||
## Refresh the web documentation | ||
## Build locally the web documentation | ||
|
||
After each change to the documentation, once the branch is merged into the main branch of X-HEEP, anyone must do the following: | ||
If you want to build the web documentation locally to test or debug the build: | ||
|
||
1. Open a terminal in the `docs` folder and make sure the conda environment is activated. | ||
2. If it is your first time updating the web docs, run: | ||
2. The first time you do this, run: | ||
```bash | ||
pip install -r requirements.txt | ||
``` | ||
3. Run | ||
3. Run: | ||
```bash | ||
make clean html | ||
``` | ||
4. Wait a few minutes and enjoy your brand new documentation in [Read the Docs](https://x-heep.readthedocs.io/en/latest/). | ||
|
||
Thank you for helping keep X-HEEP accurately and extensively documented! |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters