source: branches/PublicaMundi_David-devel/docs/contribute/doc.rst @ 665

Last change on this file since 665 was 665, checked in by nbozon, 9 years ago

added missing documentation files

File size: 4.3 KB
RevLine 
[663]1.. _contribute_doc:
2
[665]3.. include:: <xhtml1-lat1.txt>
4.. include:: <xhtml1-symbol.txt>
5
[663]6Contribute documentation
7==================
8
[665]9ZOO Documentation is a collaborative process managed by the ZOO developers. Anybody is welcome to contribute to the ZOO-Project documentation. Please consider the following instructions before doing so.
[663]10
[665]11General information
12------------------------
13
[663]14For new comers
[665]15..........................
[663]16
17New users are encouraged to contribute documentation using the following ways:
18
[665]19* Download the ZOO-Project svn, edit the documentation files
20  located /docs directory and share the modifications through a new
21  ticket set to 'Documentation' tracker
22 
[663]23* Create a wiki page containg new or corrected documentation text, and create a new ticket to report its creation.
24
25The ZOO developers responsible for the documentation will then review the contributions to add them into the official docs.
26
27For registered developers
[665]28........................................
[663]29
30The current structure of the ZOO Project documentation process is for developers with :ref:`SVN <svn>` commit access to maintain their documents in reStructuredText format, and therefore all documents live in the /docs directory in SVN.  The `Sphinx <http://sphinx.pocoo.org/>`__ documentation generator is used to convert the reStructuredText files to html, and the live
31website is then updated on an hourly basis.
32
33
34Installing and using Sphinx
35------------------------
36
37On Linux
[665]38.................
[663]39
[665]40* Make sure you have the Python dev and setuptools packages installed. For example on Ubuntu:
[663]41
42   ::
43
44       sudo apt-get install python-dev
45       sudo apt-get install python-setuptools
46
47* Install sphinx using easy_install:
48
49   ::
50
51       sudo easy_install Sphinx
52       
53   .. note::
54   
55      Make sure you install Sphinx 1.0 or more recent.  See note above. 
56     
57* Checkout the /docs directory from SVN, such as:
58
59   ::
60 
61       svn checkout http://svn.zoo-project.org/svn/trunk zoo-project     
62
63* To process the docs, from the ZOO /docs directory, run:
64
65   ::
66
67       make html
68
69   or
70
71   ::
72
73       make latex
74
75   The HTML output will be written to the build/html sub-directory.
76
77.. note::
78
79    If there are more than one translation, the above commands will automatically
80    build all translations.
81
82
[665]83On Mac OS X |trade|
84..................................
[663]85
86* Install sphinx using easy_install:
87
88   ::
89
90       sudo easy_install Sphinx
91       
92   .. note::
93   
94      Make sure you install Sphinx 1.0 or more recent.  See note above.       
95
96* Install `MacTex <http://www.tug.org/mactex/2009/>`__ if you want to build pdfs
97
98* Checkout the /docs directory from SVN, such as:
99
100   ::
101 
102       svn checkout http://svn.zoo-project.org/svn/trunk zoo-project
103
104* To process the docs, from the ZOO /docs directory, run:
105
106   ::
107
108       make html
109
110   or
111
112   ::
113
114       make latex
115
116   The HTML output will be written to the build/html sub-directory.
117
118
[665]119On Windows |trade|
120................................
[663]121
122* Install `Python 2.X <http://www.python.org/>`__
123* Download `setuptools <http://pypi.python.org/pypi/setuptools#windows>`__
124* Make sure that the ``C:/Python2X/Scripts`` directory is your path
125* Execute the following at commandline:
126
127   ::
128
129       easy_install Sphinx
130
131   ...you should see message: "Finished processing dependencies for Sphinx"
132
133   .. note::
134   
135      Make sure you install Sphinx 1.0 or more recent.  See note above.
136     
137* Install `MiKTeX <http://miktex.org>`__ if you want to build pdfs
138     
139* Checkout the /docs directory from SVN, such as:
140
141   ::
142 
143       svn checkout http://svn.zoo-project.org/svn/trunk zoo-project
144     
145* Inside the /docs directory, execute:
146
147   ::
148
149       make html
150
151   or
152
153   ::
154
155       make latex
156
157   The HTML output will be written to the _build/html sub-directory.
158
159
160reStructuredText Reference Guides
161***************************************
162
163The following resources are considered as useful for editing and creating new ZOO-Project documentation files.
164
165- Docutils `Quick reStructuredText <http://docutils.sourceforge.net/docs/user/rst/quickref.html>`__
166- Docutils `reStructuredText Directives <http://docutils.sourceforge.net/docs/ref/rst/directives.html>`__
167- Sphinx's `reStructuredText Primer <http://sphinx.pocoo.org/rest.html>`__
168- search Sphinx's `mailing list <http://groups.google.com/group/sphinx-dev>`__
Note: See TracBrowser for help on using the repository browser.

Search

ZOO Sponsors

http://www.zoo-project.org/trac/chrome/site/img/geolabs-logo.pnghttp://www.zoo-project.org/trac/chrome/site/img/neogeo-logo.png http://www.zoo-project.org/trac/chrome/site/img/apptech-logo.png http://www.zoo-project.org/trac/chrome/site/img/3liz-logo.png http://www.zoo-project.org/trac/chrome/site/img/gateway-logo.png

Become a sponsor !

Knowledge partners

http://www.zoo-project.org/trac/chrome/site/img/ocu-logo.png http://www.zoo-project.org/trac/chrome/site/img/gucas-logo.png http://www.zoo-project.org/trac/chrome/site/img/polimi-logo.png http://www.zoo-project.org/trac/chrome/site/img/fem-logo.png http://www.zoo-project.org/trac/chrome/site/img/supsi-logo.png http://www.zoo-project.org/trac/chrome/site/img/cumtb-logo.png

Become a knowledge partner

Related links

http://zoo-project.org/img/ogclogo.png http://zoo-project.org/img/osgeologo.png