https://github.com/brainelectronics/rtd-tutorial-template
https://github.com/brainelectronics/rtd-tutorial-template
read-the-docs rtd template test
Last synced: about 1 month ago
JSON representation
- Host: GitHub
- URL: https://github.com/brainelectronics/rtd-tutorial-template
- Owner: brainelectronics
- Created: 2022-10-23T19:49:46.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2022-12-17T17:05:14.000Z (over 3 years ago)
- Last Synced: 2025-01-19T16:24:36.773Z (over 1 year ago)
- Topics: read-the-docs, rtd, template, test
- Language: Python
- Homepage:
- Size: 41 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: changelog.md
Awesome Lists containing this project
README
# Template for the Read the Docs tutorial
[](https://brainelectronics-tutorial-template.readthedocs.io/en/latest/?badge=latest)


[](https://opensource.org/licenses/MIT)
Example RTD template project
---------------
This GitHub template includes fictional Python library
with some basic Sphinx docs.
The created documentation can be found at
https://brainelectronics-tutorial-template.readthedocs.io/en/latest/
- [Getting started](#getting-started)
- [Install required tools](#install-required-tools)
- [Create documentation](#create-documentation)
## Getting started
### Install required tools
Python3 must be installed on your system. Check the current Python version
with the following command
```bash
python --version
python3 --version
```
Depending on which command `Python 3.x.y` (with x.y as some numbers) is
returned, use that command to proceed.
```bash
# create and activate virtual environment
python3 -m venv .venv
source .venv/bin/activate
# install and upgrade required packages
pip install -U -r docs/requirements.txt
```
### Create documentation
```bash
# perform link checks
sphinx-build docs/ docs/build/linkcheck -d docs/build/docs_doctree/ --color -blinkcheck -j auto -W
# create documentation
sphinx-build docs/ docs/build/html/ -d docs/build/docs_doctree/ --color -bhtml -j auto -W
```
The created documentation can be found [here](docs/build/html).
Errors thrown due to invalid `autosectionlabels` or by invalid references to
files not being part of the [`docs/`](docs) folder are ignored, see
[`suppress_warnings` in docs config](docs/config.py)