diff options
Diffstat (limited to 'doc/documentation/README.txt')
-rw-r--r-- | doc/documentation/README.txt | 69 |
1 files changed, 69 insertions, 0 deletions
diff --git a/doc/documentation/README.txt b/doc/documentation/README.txt new file mode 100644 index 000000000..28223f009 --- /dev/null +++ b/doc/documentation/README.txt | |||
@@ -0,0 +1,69 @@ | |||
1 | To be moved to an appropriate section of "how to write documentation" or | ||
2 | "how to contribute to the documentation": | ||
3 | |||
4 | 1. When writing documentation, please use gender-neutral wording when | ||
5 | referring to people, such as singular “they”, “their”, “them”, and | ||
6 | so forth. -> https://en.wikipedia.org/wiki/Singular_they | ||
7 | |||
8 | 2. Keep line length below 74 characters. | ||
9 | - Expection by texi2pdf output so far: URLs will break | ||
10 | (inserted whitespace) when they contain linebreaks | ||
11 | within the @url{} / @uref{}. | ||
12 | |||
13 | 3. Do not use tab characters (see chapter 2.1 texinfo manual) | ||
14 | |||
15 | 4. Use neutral language and third person perspective in the text | ||
16 | * What's left to do | ||
17 | |||
18 | - Which Texlive modules are needed? Decrease the size. | ||
19 | - Update the content of gnunet documentation. | ||
20 | |||
21 | * How to use (hack) on this | ||
22 | |||
23 | ** with guix | ||
24 | |||
25 | Adjust accordingly, ie read the Guix Documentation: | ||
26 | setenv GUIX_PACKAGE_PATH "gnunet/contrib/packages/guix/packages" | ||
27 | guix environment gnunet-doc | ||
28 | and | ||
29 | guix build -f contrib/packages/guix/gnunet-doc.scm | ||
30 | |||
31 | ** without guix | ||
32 | |||
33 | You need to have Texinfo and Texlive in your path. | ||
34 | sh bootstrap | ||
35 | ./configure --enable-documentation | ||
36 | cd doc | ||
37 | make (format you want) | ||
38 | |||
39 | for example: make html, make info, make pdf | ||
40 | |||
41 | * structure (relations) | ||
42 | |||
43 | ** gnunet.texi | ||
44 | -> chapters/developer.texi | ||
45 | -> chapters/installation.texi | ||
46 | -> chapters/philosophy.texi | ||
47 | -> chapters/user.texi | ||
48 | -> chapters/vocabulary.texi | ||
49 | -> images/* | ||
50 | -> gpl-3.0.texi | ||
51 | -> fdl-1.3.texi | ||
52 | |||
53 | ** gnunet-c-tutorial.texi | ||
54 | -> figs/Service.pdf | ||
55 | -> figs/System.pdf | ||
56 | -> tutorial-examples/*.c | ||
57 | -> gpl-3.0.texi | ||
58 | -> fdl-1.3.texi | ||
59 | |||
60 | - gnunet-c-tutorial-v1.pdf: original LaTeX "gnunet-c-tutorial.pdf". | ||
61 | - man folder: the man pages. | ||
62 | - doxygen folder | ||
63 | - outdated-and-old-installation-instructions.txt: self described within the file. | ||
64 | |||
65 | |||
66 | Use `gendocs', add to the manual/ directory of the web site. | ||
67 | |||
68 | $ cd doc | ||
69 | $ gendocs.sh gnunet "GNUnet 0.10.X Reference Manual" | ||