Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(199)

Side by Side Diff: native_client_sdk/src/doc/README

Issue 345703002: Adding development environment tutorial. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix Created 6 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 nacl-docs-rst 1 nacl-docs-rst
2 ============= 2 =============
3 3
4 Directory structure 4 Directory structure
5 ------------------- 5 -------------------
6 6
7 This is a tree of .rst files that represent the source of the NaCl 7 This is a tree of .rst files that represent the source of the NaCl
8 documentation. Some of the files and directories here are special: 8 documentation. Some of the files and directories here are special:
9 9
10 * conf.py: Sphinx configuration file 10 * conf.py: Sphinx configuration file
11 * images/: Images are stored here. Note that this isn't necessary - Sphinx 11 * images/: Images are stored here. Note that this isn't necessary - Sphinx
12 doesn't mind about interspersing images in .rst directories. 12 doesn't mind about interspersing images in .rst directories.
13 * _sphinxext/: Code of the Sphinx extension we use to generate HTML from .rst 13 * _sphinxext/: Code of the Sphinx extension we use to generate HTML from .rst
14 * _static/: Static files, like CSS, for the documentation. This should be seen 14 * _static/: Static files, like CSS, for the documentation. This should be seen
15 as part of the infrastructure - the real CSS comes from the real doc 15 as part of the infrastructure - the real CSS comes from the real doc
16 publishing server. 16 publishing server.
17 * doxygen/: Contains scripts for building doxygen docs. 17 * doxygen/: Contains scripts for building doxygen docs.
18 * Makefile & README 18 * Makefile & README
19 19
20 All output is written to native_client_sdk/doc_generated/... 20 All output is written to native_client_sdk/doc_generated/...
21 21
22 How to build 22 How to build
23 ------------ 23 ------------
24 24
25 To build the docs you will needs sphinx installed (and sphinx-build in your 25 To build the docs you will need these debian/ubuntu packages:
26 path). On debian/ubuntu this command is part of the ``python-sphinx`` package. 26
27 * python-sphinx
28 * python-beautifulsoup
27 29
28 There are two primary make targets: ``chromesite`` and ``chromesite_rst``. The 30 There are two primary make targets: ``chromesite`` and ``chromesite_rst``. The
29 ``chromesite`` target will build all documentation, including the doxygen docs. 31 ``chromesite`` target will build all documentation, including the doxygen docs.
30 This usually takes about a minute. To build this config, run:: 32 This usually takes about a minute. To build this config, run::
31 33
32 make 34 make
33 35
34 The ``chromesite_rst`` target will only build the ReST docs. This is usually 36 The ``chromesite_rst`` target will only build the ReST docs. This is usually
35 much faster. The default target is ``chromesite``. To build this config, run:: 37 much faster. The default target is ``chromesite``. To build this config, run::
36 38
(...skipping 18 matching lines...) Expand all
55 Checking outgoing links for integrity 57 Checking outgoing links for integrity
56 ------------------------------------- 58 -------------------------------------
57 59
58 We use the Sphinx-provided link checker (configured in conf.py and with some 60 We use the Sphinx-provided link checker (configured in conf.py and with some
59 monkey-patching in the extension) to check the outgoing links from the 61 monkey-patching in the extension) to check the outgoing links from the
60 documentation. To run the link checker:: 62 documentation. To run the link checker::
61 63
62 make linkcheck 64 make linkcheck
63 65
64 And look for "broken" in the output file. 66 And look for "broken" in the output file.
OLDNEW
« no previous file with comments | « native_client_sdk/doc_generated/sitemap.html ('k') | native_client_sdk/src/doc/images/voronoi1.png » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698