source: trunk/docs/development/documentation.txt @ 591

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

corrected license link again

  • Property svn:eol-style set to native
  • Property svn:keywords set to HeadURL Date Author Id Rev
  • Property svn:mime-type set to text/plain
File size: 4.2 KB
Line 
1.. _documentation_development:
2
3Documentation Development Guide
4===============================
5
6:Authors: Nicolas Bozon, Gérald Fenoy, Jeff McKenna
7:Last Updated: $Date: 2015-02-25 12:13:33 +0000 (Wed, 25 Feb 2015) $
8
9.. contents:: Table of Contents
10    :depth: 2
11    :backlinks: top
12
13
14License
15-----------------
16
17The ZOO-Project documentation is released under the
18`Creative Commons Attribution-ShareAlike 4.0 International Public License <https://creativecommons.org/licenses/by-sa/4.0/legalcode>`__
19(CC-BY-SA). This license must be kept when editing or creating a new documentation file.
20
21.. image:: ../../_static/images/by-sa.png
22   :target: https://creativecommons.org/licenses/by-sa/4.0/legalcode/
23   :height: 31px
24   :width: 88px
25
26
27Background
28----------
29
30The current structure of the ZOO Project documentation process is for
31developers with :ref:`SVN <svn>` commit access to maintain their documents
32in reStructuredText format, and therefore all documents live in the
33/docs directory in SVN.  The `Sphinx <http://sphinx.pocoo.org/>`__ documentation generator is
34used to convert the reStructuredText files to html, and the live
35website is then updated on an hourly basis.
36
37reStructuredText Reference Guides
38---------------------------------
39
40- Docutils `Quick reStructuredText <http://docutils.sourceforge.net/docs/user/rst/quickref.html>`__
41- Docutils `reStructuredText Directives <http://docutils.sourceforge.net/docs/ref/rst/directives.html>`__
42- Sphinx's `reStructuredText Primer <http://sphinx.pocoo.org/rest.html>`__
43- search Sphinx's `mailing list <http://groups.google.com/group/sphinx-dev>`__
44
45reStructuredText Formatting
46---------------------------
47
48- All text should be hard breaks at or around the 80 column mark, just as
49  the source code.
50
51Installing and Using Sphinx for rst-html Generation
52---------------------------------------------------
53
54.. note::
55   
56    You can browse the versions of the Sphinx packages `here <http://pypi.python.org/pypi?%3Aaction=index>`__,
57    and then install the exact version such as:
58       
59    ::
60       
61        easy_install Sphinx==1.0.7
62
63
64**On Windows:**
65
66#. install `Python 2.X <http://www.python.org/>`__
67#. download `setuptools <http://pypi.python.org/pypi/setuptools#windows>`__
68#. make sure that the ``C:/Python2X/Scripts`` directory is your path
69#. execute the following at commandline:
70
71   ::
72
73       easy_install Sphinx
74
75   ...you should see message: "Finished processing dependencies for Sphinx"
76
77   .. note::
78   
79      Make sure you install Sphinx 1.0 or more recent.  See note above.
80     
81#. install `MiKTeX <http://miktex.org>`__ if you want to build pdfs
82     
83#. checkout the /docs directory from SVN, such as:
84
85   ::
86 
87       svn checkout http://svn.zoo-project.org/svn/trunk zoo-project
88     
89#. inside the /docs directory, execute:
90
91   ::
92
93       make html
94
95   or
96
97   ::
98
99       make latex
100
101   the HTML output will be written to the _build/html sub-directory.
102
103**On Linux:**
104
105#. make sure you have the Python dev and setuptools packages installed.
106   On Ubuntu:
107
108   ::
109
110       sudo apt-get install python-dev
111       sudo apt-get install python-setuptools
112
113#. install sphinx using easy_install:
114
115   ::
116
117       sudo easy_install Sphinx
118       
119   .. note::
120   
121      Make sure you install Sphinx 1.0 or more recent.  See note above. 
122     
123#. checkout the /docs directory from SVN, such as:
124
125   ::
126 
127       svn checkout http://svn.zoo-project.org/svn/trunk zoo-project     
128
129#. to process the docs, from the ZOO /docs directory, run:
130
131   ::
132
133       make html
134
135   or
136
137   ::
138
139       make latex
140
141   the HTML output will be written to the build/html sub-directory.
142
143.. note::
144
145    If there are more than one translation, the above commands will automatically
146    build all translations.
147
148
149**On Mac OS X:**
150
151#. install sphinx using easy_install:
152
153   ::
154
155       sudo easy_install Sphinx
156       
157   .. note::
158   
159      Make sure you install Sphinx 1.0 or more recent.  See note above.       
160
161#. install `MacTex <http://www.tug.org/mactex/2009/>`__ if you want to build pdfs
162
163#. checkout the /docs directory from SVN, such as:
164
165   ::
166 
167       svn checkout http://svn.zoo-project.org/svn/trunk zoo-project
168
169#. to process the docs, from the ZOO /docs directory, run:
170
171   ::
172
173       make html
174
175   or
176
177   ::
178
179       make latex
180
181   the HTML output will be written to the build/html sub-directory.
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