-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathREADME
More file actions
115 lines (82 loc) · 3.49 KB
/
README
File metadata and controls
115 lines (82 loc) · 3.49 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
5/5/2015: Hope to switch to sphinx soon.
Here are the basic guidelines for using docbook:
See the bottom of this README for instructions on installing the documentation.
use make html-chunked to create linked web-pages.
use make pdf to create a pdf.
sometimes you need to first 'make clean' before creating documents to
make sure that the most recent changes are incorporated.
The following characters have special meaning to docbook: '<','>','&'.
To print '<', type '<' , for '>' type '>' and for '&' type '&'.
If you wish to search and replace these characters in an entire document
first search and replace '&' for '&' so the the '&' in '<' or
'> is not changed.
Important tags and that should be used throughout the Document:
checkout http://www.docbook.org/tdg/en/html/docbook.html for a more
complete list of available tags.
<chapter id="[chapter title]"> Denotes the beginning and end of chapters.
<sect1 id="[section title]"> Denotes the major section within a chapter.
<sect2> Denotes the beginning and end of every subsection within the
document. Use this tag often, as it will help the user find information
quickly.
<title> Every chapter, section and subsection should have one title
immediately following the <chapter>, <sect1> or <sect2> tag.
<itemizedlist> Begins a list.
<orderedlist> Begins a ordered list.
<listitem> Denotes an element of either a itemizedlist or a orderedlist.
<para> Should be used regardless of the size of paragraph, in some cases
for a single word.
<parameter> Denotes a list arguments for a function.
<literal> Used to have the text inclosed in this tag be printed without
any formating. Use for variable names, method names or numbers.
<screen> Used to print text as it would be displayed on a computer. Use
for code examples, or computer output. Any line inside a <screen> tag
must not exceed 65 charaters in length (including whitespace). If you
need to do text wrapping please follow these guidelines:
1) Shell commands that wrap should wrap in a way that preserve the
ability to cut and paste, let the last character on the line be a slash,
with the following line indented. For example:
<screen> % mpirun -np 4
Some very long winded \
command
</screen>
2) Program output should be formatted by hand to be visibly appealing
and to not confuse the reader. For example, if we're showing output
from a help command:
<screen>
% paraprof -h
-x --exx I'm describing some very
long option
-h --help This message
</screen>
3) Makefiles should be modified to be syntactically correct, which
means slashes for line continuations, except on comments, where the
next line should begin with a pound. For example:
<screen>
# This is a long Makefile
# comment
thing: thing.cpp
$(CXX) thing.cpp -o thing $(LIB) \
$(INCLUDE)
</screen>
-------------------------------------------------------------------
Installing the Documentation
-------------------------------------------------------------------
Here's a cheat sheet for the TAUdocs
export CVSROOT=ix.cs.uoregon.edu:/research/paraducks2/cvs-src/master
cvs co taudocs
Make sure you are using java 7 or older. Java 8 hangs with the build system as currently implemented.
To Make PDFs:
cd referenceguide
make pdf
cp referenceguide.pdf
cd userguide
make pdf
cp userguide.pdf
To make html (for all of the guides)
cd newguide
make html newguide-chunked
cp newguide-chunked/
The pdfs are here (on ix):
cd /cs/www/hosts/www/Research/tau
The html here (on ix):
/cs/www/hosts/www/Research/tau/docs/newguide