1 | If you are reading Tahoe-LAFS documentation |
---|
2 | ------------------------------------------- |
---|
3 | |
---|
4 | If you are reading Tahoe-LAFS documentation at a code hosting site or |
---|
5 | from a checked-out source tree, the preferred place to view the docs |
---|
6 | is http://tahoe-lafs.readthedocs.io/en/latest/. Code-hosting sites do |
---|
7 | not render cross-document links or images correctly. |
---|
8 | |
---|
9 | |
---|
10 | If you are writing Tahoe-LAFS documentation |
---|
11 | ------------------------------------------- |
---|
12 | |
---|
13 | To edit Tahoe-LAFS docs, you will need a checked-out source tree. You |
---|
14 | can edit the `.rst` files in this directory using a text editor, and |
---|
15 | then generate HTML output using Sphinx, a program that can produce its |
---|
16 | output in HTML and other formats. |
---|
17 | |
---|
18 | Files with `.rst` extension use reStructuredText markup format, which |
---|
19 | is the format Sphinx natively handles. To learn more about Sphinx, and |
---|
20 | for a friendly primer on reStructuredText, please see Sphinx project's |
---|
21 | documentation, available at: |
---|
22 | |
---|
23 | https://www.sphinx-doc.org/ |
---|
24 | |
---|
25 | If you have `tox` installed, you can run `tox -e docs` and then open |
---|
26 | the resulting docs/_build/html/index.html in your web browser. |
---|
27 | |
---|
28 | Note that Sphinx can also process Python docstrings to generate API |
---|
29 | documentation. Tahoe-LAFS currently does not use Sphinx for this |
---|
30 | purpose. |
---|
31 | |
---|
32 | |
---|
33 | Organizing Tahoe-LAFS documentation |
---|
34 | ----------------------------------- |
---|
35 | |
---|
36 | Tahoe-LAFS documentation has been a mishmash of many things that are |
---|
37 | useful to many people, with little organization, and, as a result, |
---|
38 | confusing and hard-to-approach. We are working on improving this. |
---|
39 | |
---|
40 | It is reasonable to expect that documentation files in "docs" |
---|
41 | directory will serve different and possibly overlapping groups of |
---|
42 | readers, so the top-level sections are organized based on the likely |
---|
43 | needs of those almost-distinct groups. We have: |
---|
44 | |
---|
45 | (a) New and experienced users of Tahoe-LAFS, who mainly need an |
---|
46 | operating manual to the software. Notes under the section |
---|
47 | titled "Getting Started with Tahoe-LAFS" will be the most useful |
---|
48 | to them. |
---|
49 | |
---|
50 | (b) Project contributors, both new and experienced. This group |
---|
51 | includes developers, issue reporters, and documentation writers. |
---|
52 | It will help this group to have the project's processes and |
---|
53 | guidelines written down. The section titled "Contributing to |
---|
54 | Tahoe-LAFS" is meant to be useful for this group. |
---|
55 | |
---|
56 | (c) Those who want to know various implementation details about the |
---|
57 | project. This group might include people who are mainly curious |
---|
58 | and those who want change things. We could expect an overlap |
---|
59 | between members of group (a) who want to know more and members |
---|
60 | of group (b). The sections titled "Tahoe-LAFS in Depth" and |
---|
61 | "Specifications" could be of interest to them. |
---|
62 | |
---|
63 | (d) There's also the broader community. This includes people with a |
---|
64 | general interest in Tahoe-LAFS project, and people from groups |
---|
65 | both (a) and (b). They will find "Notes of Community Interest" |
---|
66 | useful. |
---|
67 | |
---|
68 | When you add new content or remove old content to Tahoe-LAFS docs, it |
---|
69 | would be helpful to organize your changes with the above-stated groups |
---|
70 | of readers in mind. |
---|
71 | |
---|
72 | This directory also contains old notes that are mainly of historical |
---|
73 | interest, under the section titled "Notes of Historical Interest". |
---|
74 | Those could be removed someday, after sufficient consideration. |
---|