2021-03-09 20:02:32 +00:00
|
|
|
If you are reading Tahoe-LAFS documentation
|
|
|
|
-------------------------------------------
|
2016-12-12 21:48:13 +00:00
|
|
|
|
2021-03-09 20:02:32 +00:00
|
|
|
If you are reading Tahoe-LAFS documentation at a code hosting site or
|
|
|
|
from a checked-out source tree, the preferred place to view the docs
|
2021-03-23 14:17:20 +00:00
|
|
|
is http://tahoe-lafs.readthedocs.io/en/latest/. Code-hosting sites do
|
2021-03-09 20:02:32 +00:00
|
|
|
not render cross-document links or images correctly.
|
|
|
|
|
|
|
|
|
|
|
|
If you are writing Tahoe-LAFS documentation
|
|
|
|
-------------------------------------------
|
|
|
|
|
2021-03-23 14:17:20 +00:00
|
|
|
To edit Tahoe-LAFS docs, you will need a checked-out source tree. You
|
2021-03-09 20:02:32 +00:00
|
|
|
can edit the `.rst` files in this directory using a text editor, and
|
|
|
|
then generate HTML output using Sphinx, a program that can produce its
|
|
|
|
output in HTML and other formats.
|
|
|
|
|
2021-03-23 14:18:25 +00:00
|
|
|
Files with `.rst` extension use reStructuredText markup format, which
|
|
|
|
is the format Sphinx natively handles. To learn more about Sphinx, and
|
|
|
|
for a friendly primer on reStructuredText, please see Sphinx project's
|
|
|
|
documentation, available at:
|
2021-03-09 20:02:32 +00:00
|
|
|
|
|
|
|
https://www.sphinx-doc.org/
|
|
|
|
|
2021-03-23 14:34:46 +00:00
|
|
|
If you have `tox` installed, you can run `tox -e docs` and then open
|
|
|
|
the resulting docs/_build/html/index.html in your web browser.
|
2021-03-09 20:02:32 +00:00
|
|
|
|
2021-03-23 14:45:56 +00:00
|
|
|
Note that Sphinx can also process Python docstrings to generate API
|
|
|
|
documentation. Tahoe-LAFS currently does not use Sphinx for this
|
|
|
|
purpose.
|