view docs/README @ 6234:7e2dd2159414

obshistory: rename cyclic to findcycle and correct its docstring If there's a cycle, we return a set, not a boolean. So we align the other return to be None instead of False and update doc and tests.
author Pierre-Yves David <pierre-yves.david@octobus.net>
date Fri, 13 May 2022 14:16:18 +0200
parents ef361938dfa1
children
line wrap: on
line source

Doc is generated with sphinx.

You can generate the doc with:

```
make
```

# Tutorials

For updating the tutorials, you need to have the docgraph extension installed
(https://pypi.python.org/pypi/hg-docgraph).

Then run the test-topic-tutorial.t and test-tutorial.t to update the output if
needed.

You'll need the dot binary (likely installed by the graphviz package in your
package manager) in order to have graphviz graphs rendered in the html output.

Simply run make in the docs directory should takes care of the conversion of
the tutorial .t files into .rst files. Then sphinx should do the rest of the
jobs by rendering graphviz graphs.