File: README.md

package info (click to toggle)
pytango 10.0.2-3
  • links: PTS, VCS
  • area: main
  • in suites: sid
  • size: 10,216 kB
  • sloc: python: 28,206; cpp: 16,380; sql: 255; sh: 82; makefile: 43
file content (20 lines) | stat: -rw-r--r-- 848 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
# PyTango Documentation

PyTango's documentation is written in [MyST](https://myst-parser.readthedocs.io/), a rich and extensible
flavour of Markdown, and built with [Sphinx](http://www.sphinx-doc.org/en/stable).

To build the docs locally, you will need to [install pixi](https://pixi.sh/latest/#installation), and then run:

```console
$ cd /path/to/pytango
$ pixi run doc
```

There is also a `pixi run doc_no_cache` option to rebuild the docs completely.  This is useful when
the only change is in a docstring, and Sphinx is not picking it up.

After building, open the `build/sphinx/index.html` page in your browser.

Another alternative is `pixi run doc_live`, which will automatically rebuild
Sphinx documentation on changes, with hot reloading in the browser
using [sphinx-autobuild](https://github.com/sphinx-doc/sphinx-autobuild#readme).