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

Last change on this file since 710 was 696, checked in by djay, 9 years ago

Small fixes in the main documentation.

  • Property svn:keywords set to Date Author
File size: 4.2 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
[696]30The current structure of the ZOO Project documentation process is for
31developers with :ref:`SVN <svn>` commit access to maintain their
32documents in reStructuredText format, and therefore all documents live
33in the /docs directory in SVN.  The `Sphinx
34<http://sphinx.pocoo.org/>`__ documentation generator is used to
35convert the reStructuredText files to html, and the live website is
36then updated on an hourly basis.
[663]37
38
39Installing and using Sphinx
40------------------------
41
42On Linux
[665]43.................
[663]44
[665]45* Make sure you have the Python dev and setuptools packages installed. For example on Ubuntu:
[663]46
47   ::
48
49       sudo apt-get install python-dev
50       sudo apt-get install python-setuptools
51
52* Install sphinx using easy_install:
53
54   ::
55
[696]56       sudo easy_install Sphinx==1.3.1
[663]57       
58   .. note::
59   
[696]60      Make sure you install Sphinx 1.3.1 or more recent.
[663]61     
62* Checkout the /docs directory from SVN, such as:
63
64   ::
65 
66       svn checkout http://svn.zoo-project.org/svn/trunk zoo-project     
67
68* To process the docs, from the ZOO /docs directory, run:
69
70   ::
71
72       make html
73
74   or
75
76   ::
77
78       make latex
79
80   The HTML output will be written to the build/html sub-directory.
81
82.. note::
83
84    If there are more than one translation, the above commands will automatically
85    build all translations.
86
87
[665]88On Mac OS X |trade|
89..................................
[663]90
91* Install sphinx using easy_install:
92
93   ::
94
[696]95       sudo easy_install-2.7 Sphinx==1.3.1
[663]96       
97   .. note::
98   
[696]99      Make sure you install Sphinx 1.3.1 or more recent.
[663]100
101* Install `MacTex <http://www.tug.org/mactex/2009/>`__ if you want to build pdfs
102
103* Checkout the /docs directory from SVN, such as:
104
105   ::
106 
107       svn checkout http://svn.zoo-project.org/svn/trunk zoo-project
108
109* To process the docs, from the ZOO /docs directory, run:
110
111   ::
112
113       make html
114
115   or
116
117   ::
118
119       make latex
120
121   The HTML output will be written to the build/html sub-directory.
122
123
[665]124On Windows |trade|
125................................
[663]126
127* Install `Python 2.X <http://www.python.org/>`__
128* Download `setuptools <http://pypi.python.org/pypi/setuptools#windows>`__
129* Make sure that the ``C:/Python2X/Scripts`` directory is your path
130* Execute the following at commandline:
131
132   ::
133
[696]134       easy_install Sphinx==1.3.1
[663]135
136   ...you should see message: "Finished processing dependencies for Sphinx"
137
138   .. note::
139   
[696]140      Make sure you install Sphinx 1.3.1 or more recent.  See note above.
[663]141     
142* Install `MiKTeX <http://miktex.org>`__ if you want to build pdfs
143     
144* Checkout the /docs directory from SVN, such as:
145
146   ::
147 
148       svn checkout http://svn.zoo-project.org/svn/trunk zoo-project
149     
150* Inside the /docs directory, execute:
151
152   ::
153
154       make html
155
156   or
157
158   ::
159
160       make latex
161
162   The HTML output will be written to the _build/html sub-directory.
163
164
165reStructuredText Reference Guides
166***************************************
167
168The following resources are considered as useful for editing and creating new ZOO-Project documentation files.
169
170- Docutils `Quick reStructuredText <http://docutils.sourceforge.net/docs/user/rst/quickref.html>`__
171- Docutils `reStructuredText Directives <http://docutils.sourceforge.net/docs/ref/rst/directives.html>`__
172- Sphinx's `reStructuredText Primer <http://sphinx.pocoo.org/rest.html>`__
173- 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