source: trunk/adm/guides/builddoc.rst @ 154

Last change on this file since 154 was 141, checked in by pinsard, 12 years ago

fix addition for update papers and improv. in build doc

  • Property mime-type set to text/x-rst
File size: 2.6 KB
RevLine 
[21]1.. +
2..
[115]3.. DESCRIPTION
4.. ===========
5..
6.. procedure to build and install doc
7..
[21]8.. TODO
9.. =====
10..
11.. translation
12..
13.. doxygen
14..
15.. wiki
16..
17.. checklink
[115]18..
19.. PDF pas encore diffusé car pb numérotation exotique par sphinx de graphiques
20..
[21]21.. EVOLUTIONS
22.. ==========
23..
[115]24.. $Id$
25..
26.. $URL$
27..
[141]28.. - fplod 20120223
29..
30..   * replace $TROPFLUX by $PROJECT
31..   * add a ref to profile_project.sh
32..
[115]33.. - fplod 20120209
34..
35..   * as this file is know cited in index_guide.rst, change section levels
36..
[57]37.. - fplod 20110628T133328Z aedon.locean-ipsl.upmc.fr (Darwin)
38..
39..   * add instruction for website processing
40..
41.. - fplod 20110628T132733Z aedon.locean-ipsl.upmc.fr (Darwin)
[115]42..
[57]43..   * add instruction for website
44..
[21]45.. - fplod 20101220T114850Z aedon.locean-ipsl.upmc.fr (Darwin)
46..
47..   * creation
48.. -
49
50.. |project| replace:: TROPFLUX
51.. |project_id| replace:: tropflux
52
53.. _builddoc:
54
55Build Documentation
[115]56===================
[21]57
[115]58You will find here
59how to build HTML, PDF and troff versions of documentations.
60
[141]61.. note::
62
63   Please refer to :ref:`project_profile.sh` to know how :envvar:`PROJECT` must
64   be defined
65
[21]66Documentation |project|
[115]67-----------------------
68
69La documentation est construite à partir des fichiers ReStructuredText_
[141]70dans :file:`${PROJECT}/adm/` et des commentaires dans les sources
71sous :file:`${PROJECT}/src/`.
[21]72
73.. _ReStructuredText: http://docutils.sourceforge.net/rst.html
74
75Sphinx_ est utilisé pour produire la documentation sous forme HTML:
76
77.. _Sphinx: http://sphinx.pocoo.org/
78
79.. parsed-literal::
80
[141]81   $ cd ${PROJECT}/adm/
[115]82   $ make clean
83   $ make before
84   $ make html_dev_sphinx
[21]85
86et regarder le résultat dans :file:`../doc/html/sphinx/index.html`.
87
[115]88(bientôt) Si le résultat est convainquant, on peut produire les autres formats de
[21]89documentations (HTML single, PDF et troff):
90
91.. parsed-literal::
92
[115]93   $ make all_dev
[21]94
[57]95Website |project|
[115]96-----------------
[57]97
[115]98La documentation est construite à partir des fichiers ReStructuredText_
[141]99dans :file:`${PROJECT}/adm/website`.
[57]100
101Sphinx_ est utilisé pour produire la documentation sous forme HTML:
102
103.. parsed-literal::
104
[141]105   $ cd ${PROJECT}/adm/
[115]106   $ make clean
107   $ make before
108   $ make html_user
[57]109
110et regarder le résultat dans :file:`./website/_build/html/index.html`.
111
[21]112Install Documentation |project|
[115]113-------------------------------
[21]114
115La mise à disposition des documentations produites ci-dessus sur l'URL
[115]116http://www.locean-ipsl.upmc.fr/~fplod/tropflux/tropflux_ws/doc/html/sphinx/index.html et sur l'URL http://www.locean-ipsl.upmc.fr/tropflux/
[21]117est réservée à Françoise Pinsard pour des raisons de protections de fichiers et
118de politique de login.
119
120L'installation se fait ainsi:
121
122.. parsed-literal::
123
[115]124   $ make install_all
Note: See TracBrowser for help on using the repository browser.