docs: changed readme
ref: N25B-270
This commit is contained in:
17
README.md
17
README.md
@@ -150,21 +150,26 @@ commit name != <type>: description of the commit.
|
||||
## Documentation
|
||||
Generate documentation web pages using:
|
||||
|
||||
### Linux & macOS
|
||||
```bash
|
||||
PYTHONPATH=src sphinx-apidoc -F -o docs src/robot_interface
|
||||
```
|
||||
|
||||
### Windows
|
||||
```bash
|
||||
$env:PYTHONPATH="src"; sphinx-apidoc -F -o docs src/control_backend
|
||||
```
|
||||
|
||||
Optionally, in the `conf.py` file in the new `docs` folder, change preferences.
|
||||
For the page theme, change `html_theme` to `'sphinx_rtd_theme'`.
|
||||
|
||||
In the `docs` folder:
|
||||
|
||||
### Linux & macOS
|
||||
```bash
|
||||
make html
|
||||
```
|
||||
|
||||
### Windows
|
||||
```bash
|
||||
.\make.bat html
|
||||
```
|
||||
|
||||
### MacOS
|
||||
```bash
|
||||
make html
|
||||
```
|
||||
Reference in New Issue
Block a user