-
Notifications
You must be signed in to change notification settings - Fork 112
/
README.txt
51 lines (32 loc) · 1.6 KB
/
README.txt
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
NVDLA Open Source Project documentation
=======================================
If you just want to read the latest version of the NVDLA documentation, go
to https://nvdla.org/.
The NVDLA documentation is written in RestructuredText and built using
Sphinx.
Building documentation inside of NVIDIA
---------------------------------------
To build documentation on the NVIDIA farm, you need to first install Sphinx
in your working directory. To do this:
* Make sure that you have a version of git in your PATH --
/home/utils/git-2.9.2/bin/ will do.
* Set up the VirtualEnv. `cd` into where you want Sphinx to be installed,
and then run:
$ /home/utils/Python-2.7.9/bin/virtualenv sphinx
This will create a directory called 'sphinx' in your current directory.
(If you want the directory to be named something else, you can change it
as the parameter to virtualenv.)
* Install Sphinx in the virtualenv. I set up my virtualenv in
/home/scratch.jwise_t19x/sphinx, so I will run:
$ /home/scratch.jwise_t19x/sphinx/bin/pip install sphinx
* Sphinx should be installed now. To set up your environment to run
Sphinx, if you're using csh, you can run (changing the paths for your
install):
% source /home/scratch.jwise_t19x/sphinx/bin/activate.csh
or, for bash users:
$ . /home/scratch.jwise_t19x/sphinx/bin/activate
You should now be able to run build-html.sh inside of this "doc" directory.
Infrastructure
--------------
Travis-CI is set up to push to github-pages, as recommended in:
https://blog.ionelmc.ro/2015/07/11/publishing-to-github-pages-from-travis-ci/