Merge lp:~openerp-dev/openerp-doc/trunk-rewrite-build-with-generated-index-xmo into lp:~openerp/openerp-doc/trunk

Proposed by Xavier (Open ERP) on 2013-01-21
Status: Merged
Merged at revision: 32
Proposed branch: lp:~openerp-dev/openerp-doc/trunk-rewrite-build-with-generated-index-xmo
Merge into: lp:~openerp/openerp-doc/trunk
Diff against target: 4919 lines (+1553/-3022)
61 files modified
.bzrignore (+15/-0)
Makefile (+6/-16)
defaults/Makefile (+153/-0)
defaults/_templates/sidebarintro.html (+27/-0)
defaults/_templates/sidebarlogo.html (+3/-0)
defaults/_themes/.gitignore (+3/-0)
defaults/_themes/LICENSE (+37/-0)
defaults/_themes/README (+31/-0)
defaults/_themes/flask/layout.html (+25/-0)
defaults/_themes/flask/relations.html (+19/-0)
defaults/_themes/flask/static/flasky.css_t (+395/-0)
defaults/_themes/flask/static/small_flask.css (+70/-0)
defaults/_themes/flask/theme.conf (+9/-0)
defaults/_themes/flask_small/layout.html (+22/-0)
defaults/_themes/flask_small/static/flasky.css_t (+287/-0)
defaults/_themes/flask_small/theme.conf (+10/-0)
defaults/_themes/flask_theme_support.py (+86/-0)
defaults/conf.py (+177/-0)
developers/Makefile (+0/-153)
developers/_templates/sidebarintro.html (+0/-27)
developers/_templates/sidebarlogo.html (+0/-3)
developers/_themes/.gitignore (+0/-3)
developers/_themes/LICENSE (+0/-37)
developers/_themes/README (+0/-31)
developers/_themes/flask/layout.html (+0/-25)
developers/_themes/flask/relations.html (+0/-19)
developers/_themes/flask/static/flasky.css_t (+0/-395)
developers/_themes/flask/static/small_flask.css (+0/-70)
developers/_themes/flask/theme.conf (+0/-9)
developers/_themes/flask_small/layout.html (+0/-22)
developers/_themes/flask_small/static/flasky.css_t (+0/-287)
developers/_themes/flask_small/theme.conf (+0/-10)
developers/_themes/flask_theme_support.py (+0/-86)
developers/conf.py (+0/-258)
developers/developers.rst.inc (+0/-43)
developers/generate.py (+0/-74)
developers/index.rst (+0/-7)
developers/installation.rst (+0/-2)
developers/overview.rst (+0/-2)
docbuilder (+178/-0)
users/Makefile (+0/-154)
users/_templates/sidebarintro.html (+0/-21)
users/_templates/sidebarlogo.html (+0/-3)
users/_themes/.gitignore (+0/-3)
users/_themes/LICENSE (+0/-37)
users/_themes/README (+0/-31)
users/_themes/flask/layout.html (+0/-25)
users/_themes/flask/relations.html (+0/-19)
users/_themes/flask/static/flasky.css_t (+0/-395)
users/_themes/flask/static/small_flask.css (+0/-70)
users/_themes/flask/theme.conf (+0/-9)
users/_themes/flask_small/layout.html (+0/-22)
users/_themes/flask_small/static/flasky.css_t (+0/-287)
users/_themes/flask_small/theme.conf (+0/-10)
users/_themes/flask_theme_support.py (+0/-86)
users/accounting.rst (+0/-2)
users/conf.py (+0/-255)
users/index.rst (+0/-7)
users/sale.rst (+0/-2)
users/tutorial.rst (+0/-4)
users/users.rst.inc (+0/-1)
To merge this branch: bzr merge lp:~openerp-dev/openerp-doc/trunk-rewrite-build-with-generated-index-xmo
Reviewer Review Type Date Requested Status
Olivier Dony (Odoo) 2013-01-21 Approve on 2013-01-22
Review via email: mp+144084@code.launchpad.net

Description of the change

Rewrite of the documentation builder for trunk:
* Added an init target to checkout the various repos
* Removed unused developers/ and users/ directories
* Moved building logic to a python script
* Build addons docsets
  - iterate on addons, try to find those with a doc/conf.py or doc/index.rst
  - Default sphinx conf used if only index.rst is there (from defaults/ directory), some values are extracted from __openerp__.py
  - currently only builds mail but should pick up new addons if doc is added to them
* Removed building of command doc (command merged into trunk)
* Dynamically builds root index (developer/) with links to all found/generated docs

Warning: on first update, will need to manually checkout addons (or remove all checkouts and init)

To post a comment you must log in.
Vo Minh Thu (thu) wrote :

- Intersphinx target "openerpcommand" must be removed.
- The os.chdir(PATH_ROOT) is unnecessary (or almost) in docbuilder.
- There is still a "TODO: cp developers.html publish('developers', 'index.html')" but it seems to be implemented.

44. By Xavier (Open ERP) on 2013-01-21

[FIX] remove leftover todo

45. By Xavier (Open ERP) on 2013-01-21

[FIX] leftover unneeded chdir call

46. By Xavier (Open ERP) on 2013-01-21

[REM] openerpcommand intersphinx domain from default sphinx template (merged into trunk)

> - There is still a "TODO: cp developers.html publish('developers', 'index.html')" but it seems to be implemented.

Was done locally, forgot to push it.

> - The os.chdir(PATH_ROOT) is unnecessary (or almost) in docbuilder.

Done.

> - Intersphinx target "openerpcommand" must be removed.

Removed from the "defaults" project.

Olivier Dony (Odoo) (odo-openerp) wrote :

Looks good to me after a quick scan, but I get a traceback when I try to run `make html`. Haven't had time to investigate yet, might only be just me:

Traceback (most recent call last):
  File "./docbuilder", line 178, in <module>
    main()
  File "./docbuilder", line 175, in main
    args.func(args)
  File "./docbuilder", line 74, in html
    cwd=subpath(PATH_ROOT, project.directory))
  File "/usr/lib/python2.7/subprocess.py", line 506, in check_call
    retcode = call(*popenargs, **kwargs)
  File "/usr/lib/python2.7/subprocess.py", line 493, in call
    return Popen(*popenargs, **kwargs).wait()
  File "/usr/lib/python2.7/subprocess.py", line 679, in __init__
    errread, errwrite)
  File "/usr/lib/python2.7/subprocess.py", line 1249, in _execute_child
    raise child_exception
OSError: [Errno 2] No such file or directory: '/home/odo/repositories/doc/trunk/tools'
make: *** [html] Error 1

Apart from that, I would love to have an option to run bzr and sphinx-build in non-quiet mode when needed :-)

Olivier Dony (Odoo) (odo-openerp) wrote :

Please disregard the traceback in my previous comment, I had tried to init the branches manually (using faster local lightweight checkouts) and had not noticed the new `tools` one, which was thus missing.

I actually tried to run ``make init`` afterwards to see whether it would fix it, but it does not work on a partially initialized set of branches. Maybe we could have `init` as a real make target that has `addons`,`web`,`server` and `tools` as prerequisites, each having the corresponding `bzr branch` command. The `init` target could then be a prerequisite for `html`/`dirhtml`, auto-magically fixing your branches when needed.
Of course the same could be done in ./docbuilder, it's just that a Makefile works well for that sort of thing.

Anyhow, this is all just nice-to-have, the current patch is fine by me.

review: Approve

> Maybe we could have `init` as a real make target that has `addons`,`web`,`server` and `tools` as prerequisites, each having the corresponding `bzr branch` command.

They'd probably need to check whether the branch already exists as well, maybe each branch target (branch rules?) would do something like "if {branch is checked out & correct} pull else branch"

> Of course the same could be done in ./docbuilder, it's just that a Makefile works well for that sort of thing.

Aye, and the subcommands stuff could be removed from docbuilder, it'd simply build assuming branches are correctly setup (maybe just an assert of some sort that the path exists with a non-python-exception error & exit if not)

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== added file '.bzrignore'
2--- .bzrignore 1970-01-01 00:00:00 +0000
3+++ .bzrignore 2013-01-21 13:47:22 +0000
4@@ -0,0 +1,15 @@
5+# checked out by script
6+addons
7+command
8+server
9+tools
10+web
11+
12+# generated
13+build
14+
15+# virtualenv
16+.Python
17+bin
18+include
19+lib
20\ No newline at end of file
21
22=== modified file 'Makefile'
23--- Makefile 2013-01-18 13:39:37 +0000
24+++ Makefile 2013-01-21 13:47:22 +0000
25@@ -1,25 +1,15 @@
26 SHELL = /bin/bash
27 PUBLISH_DIR=./build/html
28+BUILDSCRIPT=./docbuilder
29+
30+.PHONY: init html dirhtml
31
32 clean:
33 rm -rf ${PUBLISH_DIR}
34 mkdir -p ${PUBLISH_DIR}
35
36+init:
37+ $(BUILDSCRIPT) init
38 dirhtml: html
39 html:
40- find . -name '*.pyc' -exec rm {} \;
41- pushd server ; bzr pull -q ; popd
42- pushd web ; bzr pull -q ; popd
43- pushd command ; bzr pull -q ; popd
44- pushd tools ; bzr pull -q ; popd
45-
46- mkdir -p ${PUBLISH_DIR}/developers/{server,web,command,runbot}
47- cp developers.html ${PUBLISH_DIR}/developers/index.html
48-
49- pushd server/doc ; make clean dirhtml ; cp -r _build/dirhtml/* ../../${PUBLISH_DIR}/developers/server/ ; popd
50- pushd web/addons/web/doc ; make clean dirhtml ; rm -rf ../../../../_web_html ; cp -r _build/dirhtml/* ../../../../${PUBLISH_DIR}/developers/web/ ; popd
51- pushd command/doc ; make clean dirhtml ; rm -rf ../../_command_html ; cp -r _build/dirhtml/* ../../${PUBLISH_DIR}/developers/command/ ; popd
52- pushd tools/openerp-runbot/doc ; make clean dirhtml ; rm -rf ../../_runbot_html ; cp -r _build/dirhtml/* ../../../${PUBLISH_DIR}/developers/runbot/ ; popd
53-
54- # Create global users tree
55- pushd users ; make clean ; make dirhtml ; cp -r _build/dirhtml ../${PUBLISH_DIR}/users ; popd
56+ $(BUILDSCRIPT) html
57
58=== added directory 'defaults'
59=== added file 'defaults/Makefile'
60--- defaults/Makefile 1970-01-01 00:00:00 +0000
61+++ defaults/Makefile 2013-01-21 13:47:22 +0000
62@@ -0,0 +1,153 @@
63+# Makefile for Sphinx documentation
64+#
65+
66+# You can set these variables from the command line.
67+SPHINXOPTS =
68+SPHINXBUILD = sphinx-build
69+PAPER =
70+BUILDDIR = _build
71+
72+# Internal variables.
73+PAPEROPT_a4 = -D latex_paper_size=a4
74+PAPEROPT_letter = -D latex_paper_size=letter
75+ALLSPHINXOPTS = -d $(BUILDDIR)/doctrees $(PAPEROPT_$(PAPER)) $(SPHINXOPTS) .
76+# the i18n builder cannot share the environment and doctrees with the others
77+I18NSPHINXOPTS = $(PAPEROPT_$(PAPER)) $(SPHINXOPTS) .
78+
79+.PHONY: help clean html dirhtml singlehtml pickle json htmlhelp qthelp devhelp epub latex latexpdf text man changes linkcheck doctest gettext
80+
81+help:
82+ @echo "Please use \`make <target>' where <target> is one of"
83+ @echo " html to make standalone HTML files"
84+ @echo " dirhtml to make HTML files named index.html in directories"
85+ @echo " singlehtml to make a single large HTML file"
86+ @echo " pickle to make pickle files"
87+ @echo " json to make JSON files"
88+ @echo " htmlhelp to make HTML files and a HTML help project"
89+ @echo " qthelp to make HTML files and a qthelp project"
90+ @echo " devhelp to make HTML files and a Devhelp project"
91+ @echo " epub to make an epub"
92+ @echo " latex to make LaTeX files, you can set PAPER=a4 or PAPER=letter"
93+ @echo " latexpdf to make LaTeX files and run them through pdflatex"
94+ @echo " text to make text files"
95+ @echo " man to make manual pages"
96+ @echo " texinfo to make Texinfo files"
97+ @echo " info to make Texinfo files and run them through makeinfo"
98+ @echo " gettext to make PO message catalogs"
99+ @echo " changes to make an overview of all changed/added/deprecated items"
100+ @echo " linkcheck to check all external links for integrity"
101+ @echo " doctest to run all doctests embedded in the documentation (if enabled)"
102+
103+clean:
104+ -rm -rf $(BUILDDIR)/*
105+
106+html:
107+ $(SPHINXBUILD) -b html $(ALLSPHINXOPTS) $(BUILDDIR)/html
108+ @echo
109+ @echo "Build finished. The HTML pages are in $(BUILDDIR)/html."
110+
111+dirhtml:
112+ $(SPHINXBUILD) -b dirhtml $(ALLSPHINXOPTS) $(BUILDDIR)/dirhtml
113+ @echo
114+ @echo "Build finished. The HTML pages are in $(BUILDDIR)/dirhtml."
115+
116+singlehtml:
117+ $(SPHINXBUILD) -b singlehtml $(ALLSPHINXOPTS) $(BUILDDIR)/singlehtml
118+ @echo
119+ @echo "Build finished. The HTML page is in $(BUILDDIR)/singlehtml."
120+
121+pickle:
122+ $(SPHINXBUILD) -b pickle $(ALLSPHINXOPTS) $(BUILDDIR)/pickle
123+ @echo
124+ @echo "Build finished; now you can process the pickle files."
125+
126+json:
127+ $(SPHINXBUILD) -b json $(ALLSPHINXOPTS) $(BUILDDIR)/json
128+ @echo
129+ @echo "Build finished; now you can process the JSON files."
130+
131+htmlhelp:
132+ $(SPHINXBUILD) -b htmlhelp $(ALLSPHINXOPTS) $(BUILDDIR)/htmlhelp
133+ @echo
134+ @echo "Build finished; now you can run HTML Help Workshop with the" \
135+ ".hhp project file in $(BUILDDIR)/htmlhelp."
136+
137+qthelp:
138+ $(SPHINXBUILD) -b qthelp $(ALLSPHINXOPTS) $(BUILDDIR)/qthelp
139+ @echo
140+ @echo "Build finished; now you can run "qcollectiongenerator" with the" \
141+ ".qhcp project file in $(BUILDDIR)/qthelp, like this:"
142+ @echo "# qcollectiongenerator $(BUILDDIR)/qthelp/DocumentationTemplate.qhcp"
143+ @echo "To view the help file:"
144+ @echo "# assistant -collectionFile $(BUILDDIR)/qthelp/DocumentationTemplate.qhc"
145+
146+devhelp:
147+ $(SPHINXBUILD) -b devhelp $(ALLSPHINXOPTS) $(BUILDDIR)/devhelp
148+ @echo
149+ @echo "Build finished."
150+ @echo "To view the help file:"
151+ @echo "# mkdir -p $$HOME/.local/share/devhelp/DocumentationTemplate"
152+ @echo "# ln -s $(BUILDDIR)/devhelp $$HOME/.local/share/devhelp/DocumentationTemplate"
153+ @echo "# devhelp"
154+
155+epub:
156+ $(SPHINXBUILD) -b epub $(ALLSPHINXOPTS) $(BUILDDIR)/epub
157+ @echo
158+ @echo "Build finished. The epub file is in $(BUILDDIR)/epub."
159+
160+latex:
161+ $(SPHINXBUILD) -b latex $(ALLSPHINXOPTS) $(BUILDDIR)/latex
162+ @echo
163+ @echo "Build finished; the LaTeX files are in $(BUILDDIR)/latex."
164+ @echo "Run \`make' in that directory to run these through (pdf)latex" \
165+ "(use \`make latexpdf' here to do that automatically)."
166+
167+latexpdf:
168+ $(SPHINXBUILD) -b latex $(ALLSPHINXOPTS) $(BUILDDIR)/latex
169+ @echo "Running LaTeX files through pdflatex..."
170+ $(MAKE) -C $(BUILDDIR)/latex all-pdf
171+ @echo "pdflatex finished; the PDF files are in $(BUILDDIR)/latex."
172+
173+text:
174+ $(SPHINXBUILD) -b text $(ALLSPHINXOPTS) $(BUILDDIR)/text
175+ @echo
176+ @echo "Build finished. The text files are in $(BUILDDIR)/text."
177+
178+man:
179+ $(SPHINXBUILD) -b man $(ALLSPHINXOPTS) $(BUILDDIR)/man
180+ @echo
181+ @echo "Build finished. The manual pages are in $(BUILDDIR)/man."
182+
183+texinfo:
184+ $(SPHINXBUILD) -b texinfo $(ALLSPHINXOPTS) $(BUILDDIR)/texinfo
185+ @echo
186+ @echo "Build finished. The Texinfo files are in $(BUILDDIR)/texinfo."
187+ @echo "Run \`make' in that directory to run these through makeinfo" \
188+ "(use \`make info' here to do that automatically)."
189+
190+info:
191+ $(SPHINXBUILD) -b texinfo $(ALLSPHINXOPTS) $(BUILDDIR)/texinfo
192+ @echo "Running Texinfo files through makeinfo..."
193+ make -C $(BUILDDIR)/texinfo info
194+ @echo "makeinfo finished; the Info files are in $(BUILDDIR)/texinfo."
195+
196+gettext:
197+ $(SPHINXBUILD) -b gettext $(I18NSPHINXOPTS) $(BUILDDIR)/locale
198+ @echo
199+ @echo "Build finished. The message catalogs are in $(BUILDDIR)/locale."
200+
201+changes:
202+ $(SPHINXBUILD) -b changes $(ALLSPHINXOPTS) $(BUILDDIR)/changes
203+ @echo
204+ @echo "The overview file is in $(BUILDDIR)/changes."
205+
206+linkcheck:
207+ $(SPHINXBUILD) -b linkcheck $(ALLSPHINXOPTS) $(BUILDDIR)/linkcheck
208+ @echo
209+ @echo "Link check complete; look for any errors in the above output " \
210+ "or in $(BUILDDIR)/linkcheck/output.txt."
211+
212+doctest:
213+ $(SPHINXBUILD) -b doctest $(ALLSPHINXOPTS) $(BUILDDIR)/doctest
214+ @echo "Testing of doctests in the sources finished, look at the " \
215+ "results in $(BUILDDIR)/doctest/output.txt."
216
217=== added directory 'defaults/_static'
218=== added file 'defaults/_static/openerp.png'
219Binary files defaults/_static/openerp.png 1970-01-01 00:00:00 +0000 and defaults/_static/openerp.png 2013-01-21 13:47:22 +0000 differ
220=== added directory 'defaults/_templates'
221=== added file 'defaults/_templates/sidebarintro.html'
222--- defaults/_templates/sidebarintro.html 1970-01-01 00:00:00 +0000
223+++ defaults/_templates/sidebarintro.html 2013-01-21 13:47:22 +0000
224@@ -0,0 +1,27 @@
225+<h3>About</h3>
226+
227+<p>
228+
229+OpenERP is an extensive open source suite of business applications. It is built
230+on a flexible development framework written in Python. The framework uses a
231+three-tier architecture. It provides an ORM on top of PostgreSQL, a modular
232+application server, and a feature-packed web client.
233+
234+</p>
235+
236+<h3>Other Docs</h3>
237+<ul>
238+ <li><a href="http://doc.openerp.com/trunk/users">Users doc</a></li>
239+ <li>
240+ <a href="http://doc.openerp.com/v5.0">5.0</a>
241+ <a href="http://doc.openerp.com/v6.0">6.0</a>
242+ <a href="http://doc.openerp.com/v6.1">6.1</a>
243+ (old versions)
244+ </li>
245+</ul>
246+
247+<h3>Useful Links</h3>
248+<ul>
249+ <li><a href="http://www.openerp.com/">OpenERP.com</a></li>
250+ <li><a href="http://python.org/">Python.org</a></li>
251+</ul>
252
253=== added file 'defaults/_templates/sidebarlogo.html'
254--- defaults/_templates/sidebarlogo.html 1970-01-01 00:00:00 +0000
255+++ defaults/_templates/sidebarlogo.html 2013-01-21 13:47:22 +0000
256@@ -0,0 +1,3 @@
257+<p class="logo"><a href="{{ pathto(master_doc) }}">
258+ <img class="logo" src="{{ pathto('_static/openerp.png', 1) }}" alt="Logo"/>
259+</a></p>
260
261=== added directory 'defaults/_themes'
262=== added file 'defaults/_themes/.gitignore'
263--- defaults/_themes/.gitignore 1970-01-01 00:00:00 +0000
264+++ defaults/_themes/.gitignore 2013-01-21 13:47:22 +0000
265@@ -0,0 +1,3 @@
266+*.pyc
267+*.pyo
268+.DS_Store
269
270=== added file 'defaults/_themes/LICENSE'
271--- defaults/_themes/LICENSE 1970-01-01 00:00:00 +0000
272+++ defaults/_themes/LICENSE 2013-01-21 13:47:22 +0000
273@@ -0,0 +1,37 @@
274+Copyright (c) 2010 by Armin Ronacher.
275+
276+Some rights reserved.
277+
278+Redistribution and use in source and binary forms of the theme, with or
279+without modification, are permitted provided that the following conditions
280+are met:
281+
282+* Redistributions of source code must retain the above copyright
283+ notice, this list of conditions and the following disclaimer.
284+
285+* Redistributions in binary form must reproduce the above
286+ copyright notice, this list of conditions and the following
287+ disclaimer in the documentation and/or other materials provided
288+ with the distribution.
289+
290+* The names of the contributors may not be used to endorse or
291+ promote products derived from this software without specific
292+ prior written permission.
293+
294+We kindly ask you to only use these themes in an unmodified manner just
295+for Flask and Flask-related products, not for unrelated projects. If you
296+like the visual style and want to use it for your own projects, please
297+consider making some larger changes to the themes (such as changing
298+font faces, sizes, colors or margins).
299+
300+THIS THEME IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
301+AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
302+IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
303+ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
304+LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
305+CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
306+SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
307+INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
308+CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
309+ARISING IN ANY WAY OUT OF THE USE OF THIS THEME, EVEN IF ADVISED OF THE
310+POSSIBILITY OF SUCH DAMAGE.
311
312=== added file 'defaults/_themes/README'
313--- defaults/_themes/README 1970-01-01 00:00:00 +0000
314+++ defaults/_themes/README 2013-01-21 13:47:22 +0000
315@@ -0,0 +1,31 @@
316+Flask Sphinx Styles
317+===================
318+
319+This repository contains sphinx styles for Flask and Flask related
320+projects. To use this style in your Sphinx documentation, follow
321+this guide:
322+
323+1. put this folder as _themes into your docs folder. Alternatively
324+ you can also use git submodules to check out the contents there.
325+2. add this to your conf.py:
326+
327+ sys.path.append(os.path.abspath('_themes'))
328+ html_theme_path = ['_themes']
329+ html_theme = 'flask'
330+
331+The following themes exist:
332+
333+- 'flask' - the standard flask documentation theme for large
334+ projects
335+- 'flask_small' - small one-page theme. Intended to be used by
336+ very small addon libraries for flask.
337+
338+The following options exist for the flask_small theme:
339+
340+ [options]
341+ index_logo = '' filename of a picture in _static
342+ to be used as replacement for the
343+ h1 in the index.rst file.
344+ index_logo_height = 120px height of the index logo
345+ github_fork = '' repository name on github for the
346+ "fork me" badge
347
348=== added directory 'defaults/_themes/flask'
349=== added file 'defaults/_themes/flask/layout.html'
350--- defaults/_themes/flask/layout.html 1970-01-01 00:00:00 +0000
351+++ defaults/_themes/flask/layout.html 2013-01-21 13:47:22 +0000
352@@ -0,0 +1,25 @@
353+{%- extends "basic/layout.html" %}
354+{%- block extrahead %}
355+ {{ super() }}
356+ {% if theme_touch_icon %}
357+ <link rel="apple-touch-icon" href="{{ pathto('_static/' ~ theme_touch_icon, 1) }}" />
358+ {% endif %}
359+ <link media="only screen and (max-device-width: 480px)" href="{{
360+ pathto('_static/small_flask.css', 1) }}" type= "text/css" rel="stylesheet" />
361+{% endblock %}
362+{%- block relbar2 %}{% endblock %}
363+{% block header %}
364+ {{ super() }}
365+ {% if pagename == 'index' %}
366+ <div class=indexwrapper>
367+ {% endif %}
368+{% endblock %}
369+{%- block footer %}
370+ <div class="footer">
371+ &copy; Copyright {{ copyright }}
372+ Created using <a href="http://sphinx.pocoo.org/">Sphinx</a> and the <a href="https://github.com/mitsuhiko/flask-sphinx-themes">Flask theme</a>.
373+ </div>
374+ {% if pagename == 'index' %}
375+ </div>
376+ {% endif %}
377+{%- endblock %}
378
379=== added file 'defaults/_themes/flask/relations.html'
380--- defaults/_themes/flask/relations.html 1970-01-01 00:00:00 +0000
381+++ defaults/_themes/flask/relations.html 2013-01-21 13:47:22 +0000
382@@ -0,0 +1,19 @@
383+<h3>Related Topics</h3>
384+<ul>
385+ <li><a href="{{ pathto(master_doc) }}">Documentation overview</a><ul>
386+ {%- for parent in parents %}
387+ <li><a href="{{ parent.link|e }}">{{ parent.title }}</a><ul>
388+ {%- endfor %}
389+ {%- if prev %}
390+ <li>Previous: <a href="{{ prev.link|e }}" title="{{ _('previous chapter')
391+ }}">{{ prev.title }}</a></li>
392+ {%- endif %}
393+ {%- if next %}
394+ <li>Next: <a href="{{ next.link|e }}" title="{{ _('next chapter')
395+ }}">{{ next.title }}</a></li>
396+ {%- endif %}
397+ {%- for parent in parents %}
398+ </ul></li>
399+ {%- endfor %}
400+ </ul></li>
401+</ul>
402
403=== added directory 'defaults/_themes/flask/static'
404=== added file 'defaults/_themes/flask/static/flasky.css_t'
405--- defaults/_themes/flask/static/flasky.css_t 1970-01-01 00:00:00 +0000
406+++ defaults/_themes/flask/static/flasky.css_t 2013-01-21 13:47:22 +0000
407@@ -0,0 +1,395 @@
408+/*
409+ * flasky.css_t
410+ * ~~~~~~~~~~~~
411+ *
412+ * :copyright: Copyright 2010 by Armin Ronacher.
413+ * :license: Flask Design License, see LICENSE for details.
414+ */
415+
416+{% set page_width = '1000px' %}
417+{% set sidebar_width = '200px' %}
418+
419+@import url("basic.css");
420+
421+/* -- page layout ----------------------------------------------------------- */
422+
423+body {
424+ font-family: 'Georgia', serif;
425+ font-size: 17px;
426+ background-color: white;
427+ color: #000;
428+ margin: 0;
429+ padding: 0;
430+}
431+
432+div.document {
433+ width: {{ page_width }};
434+ margin: 30px auto 0 auto;
435+}
436+
437+div.documentwrapper {
438+ float: left;
439+ width: 100%;
440+}
441+
442+div.bodywrapper {
443+ margin: 0 0 0 {{ sidebar_width }};
444+}
445+
446+div.sphinxsidebar {
447+ width: {{ sidebar_width }};
448+}
449+
450+hr {
451+ border: 1px solid #B1B4B6;
452+}
453+
454+div.body {
455+ background-color: #ffffff;
456+ color: #3E4349;
457+ padding: 0 30px 0 30px;
458+}
459+
460+img.floatingflask {
461+ padding: 0 0 10px 10px;
462+ float: right;
463+}
464+
465+div.footer {
466+ width: {{ page_width }};
467+ margin: 20px auto 30px auto;
468+ font-size: 14px;
469+ color: #888;
470+ text-align: right;
471+}
472+
473+div.footer a {
474+ color: #888;
475+}
476+
477+div.related {
478+ display: none;
479+}
480+
481+div.sphinxsidebar a {
482+ color: #444;
483+ text-decoration: none;
484+ border-bottom: 1px dotted #999;
485+}
486+
487+div.sphinxsidebar a:hover {
488+ border-bottom: 1px solid #999;
489+}
490+
491+div.sphinxsidebar {
492+ font-size: 14px;
493+ line-height: 1.5;
494+}
495+
496+div.sphinxsidebarwrapper {
497+ padding: 18px 10px;
498+}
499+
500+div.sphinxsidebarwrapper p.logo {
501+ padding: 0 0 20px 0;
502+ margin: 0;
503+ text-align: center;
504+}
505+
506+div.sphinxsidebar h3,
507+div.sphinxsidebar h4 {
508+ font-family: 'Garamond', 'Georgia', serif;
509+ color: #444;
510+ font-size: 24px;
511+ font-weight: normal;
512+ margin: 0 0 5px 0;
513+ padding: 0;
514+}
515+
516+div.sphinxsidebar h4 {
517+ font-size: 20px;
518+}
519+
520+div.sphinxsidebar h3 a {
521+ color: #444;
522+}
523+
524+div.sphinxsidebar p.logo a,
525+div.sphinxsidebar h3 a,
526+div.sphinxsidebar p.logo a:hover,
527+div.sphinxsidebar h3 a:hover {
528+ border: none;
529+}
530+
531+div.sphinxsidebar p {
532+ color: #555;
533+ margin: 10px 0;
534+}
535+
536+div.sphinxsidebar ul {
537+ margin: 10px 0;
538+ padding: 0;
539+ color: #000;
540+}
541+
542+div.sphinxsidebar input {
543+ border: 1px solid #ccc;
544+ font-family: 'Georgia', serif;
545+ font-size: 1em;
546+}
547+
548+/* -- body styles ----------------------------------------------------------- */
549+
550+a {
551+ color: #004B6B;
552+ text-decoration: underline;
553+}
554+
555+a:hover {
556+ color: #6D4100;
557+ text-decoration: underline;
558+}
559+
560+div.body h1,
561+div.body h2,
562+div.body h3,
563+div.body h4,
564+div.body h5,
565+div.body h6 {
566+ font-family: 'Garamond', 'Georgia', serif;
567+ font-weight: normal;
568+ margin: 30px 0px 10px 0px;
569+ padding: 0;
570+}
571+
572+{% if theme_index_logo %}
573+div.indexwrapper h1 {
574+ text-indent: -999999px;
575+ background: url({{ theme_index_logo }}) no-repeat center center;
576+ height: {{ theme_index_logo_height }};
577+}
578+{% endif %}
579+
580+div.body h1 { margin-top: 0; padding-top: 0; font-size: 240%; }
581+div.body h2 { font-size: 180%; }
582+div.body h3 { font-size: 150%; }
583+div.body h4 { font-size: 130%; }
584+div.body h5 { font-size: 100%; }
585+div.body h6 { font-size: 100%; }
586+
587+a.headerlink {
588+ color: #ddd;
589+ padding: 0 4px;
590+ text-decoration: none;
591+}
592+
593+a.headerlink:hover {
594+ color: #444;
595+ background: #eaeaea;
596+}
597+
598+div.body p, div.body dd, div.body li {
599+ line-height: 1.4em;
600+}
601+
602+div.admonition {
603+ background: #fafafa;
604+ margin: 20px -30px;
605+ padding: 10px 30px;
606+ border-top: 1px solid #ccc;
607+ border-bottom: 1px solid #ccc;
608+}
609+
610+div.admonition tt.xref, div.admonition a tt {
611+ border-bottom: 1px solid #fafafa;
612+}
613+
614+dd div.admonition {
615+ margin-left: -60px;
616+ padding-left: 60px;
617+}
618+
619+div.admonition p.admonition-title {
620+ font-family: 'Garamond', 'Georgia', serif;
621+ font-weight: normal;
622+ font-size: 24px;
623+ margin: 0 0 10px 0;
624+ padding: 0;
625+ line-height: 1;
626+}
627+
628+div.admonition p.last {
629+ margin-bottom: 0;
630+}
631+
632+div.highlight {
633+ background-color: white;
634+}
635+
636+dt:target, .highlight {
637+ background: #FAF3E8;
638+}
639+
640+div.note {
641+ background-color: #eee;
642+ border: 1px solid #ccc;
643+}
644+
645+div.seealso {
646+ background-color: #ffc;
647+ border: 1px solid #ff6;
648+}
649+
650+div.topic {
651+ background-color: #eee;
652+}
653+
654+p.admonition-title {
655+ display: inline;
656+}
657+
658+p.admonition-title:after {
659+ content: ":";
660+}
661+
662+pre, tt {
663+ font-family: 'Consolas', 'Menlo', 'Deja Vu Sans Mono', 'Bitstream Vera Sans Mono', monospace;
664+ font-size: 0.9em;
665+}
666+
667+img.screenshot {
668+}
669+
670+tt.descname, tt.descclassname {
671+ font-size: 0.95em;
672+}
673+
674+tt.descname {
675+ padding-right: 0.08em;
676+}
677+
678+img.screenshot {
679+ -moz-box-shadow: 2px 2px 4px #eee;
680+ -webkit-box-shadow: 2px 2px 4px #eee;
681+ box-shadow: 2px 2px 4px #eee;
682+}
683+
684+table.docutils {
685+ border: 1px solid #888;
686+ -moz-box-shadow: 2px 2px 4px #eee;
687+ -webkit-box-shadow: 2px 2px 4px #eee;
688+ box-shadow: 2px 2px 4px #eee;
689+}
690+
691+table.docutils td, table.docutils th {
692+ border: 1px solid #888;
693+ padding: 0.25em 0.7em;
694+}
695+
696+table.field-list, table.footnote {
697+ border: none;
698+ -moz-box-shadow: none;
699+ -webkit-box-shadow: none;
700+ box-shadow: none;
701+}
702+
703+table.footnote {
704+ margin: 15px 0;
705+ width: 100%;
706+ border: 1px solid #eee;
707+ background: #fdfdfd;
708+ font-size: 0.9em;
709+}
710+
711+table.footnote + table.footnote {
712+ margin-top: -15px;
713+ border-top: none;
714+}
715+
716+table.field-list th {
717+ padding: 0 0.8em 0 0;
718+}
719+
720+table.field-list td {
721+ padding: 0;
722+}
723+
724+table.footnote td.label {
725+ width: 0px;
726+ padding: 0.3em 0 0.3em 0.5em;
727+}
728+
729+table.footnote td {
730+ padding: 0.3em 0.5em;
731+}
732+
733+dl {
734+ margin: 0;
735+ padding: 0;
736+}
737+
738+dl dd {
739+ margin-left: 30px;
740+}
741+
742+blockquote {
743+ margin: 0 0 0 30px;
744+ padding: 0;
745+}
746+
747+ul, ol {
748+ margin: 10px 0 10px 30px;
749+ padding: 0;
750+}
751+
752+pre {
753+ background: #eee;
754+ padding: 7px 30px;
755+ margin: 15px -30px;
756+ line-height: 1.3em;
757+}
758+
759+dl pre, blockquote pre, li pre {
760+ margin-left: -60px;
761+ padding-left: 60px;
762+}
763+
764+dl dl pre {
765+ margin-left: -90px;
766+ padding-left: 90px;
767+}
768+
769+tt {
770+ background-color: #ecf0f3;
771+ color: #222;
772+ /* padding: 1px 2px; */
773+}
774+
775+tt.xref, a tt {
776+ background-color: #FBFBFB;
777+ border-bottom: 1px solid white;
778+}
779+
780+a.reference {
781+ text-decoration: none;
782+ border-bottom: 1px dotted #004B6B;
783+}
784+
785+a.reference:hover {
786+ border-bottom: 1px solid #6D4100;
787+}
788+
789+a.footnote-reference {
790+ text-decoration: none;
791+ font-size: 0.7em;
792+ vertical-align: top;
793+ border-bottom: 1px dotted #004B6B;
794+}
795+
796+a.footnote-reference:hover {
797+ border-bottom: 1px solid #6D4100;
798+}
799+
800+a:hover tt {
801+ background: #EEE;
802+}
803
804=== added file 'defaults/_themes/flask/static/small_flask.css'
805--- defaults/_themes/flask/static/small_flask.css 1970-01-01 00:00:00 +0000
806+++ defaults/_themes/flask/static/small_flask.css 2013-01-21 13:47:22 +0000
807@@ -0,0 +1,70 @@
808+/*
809+ * small_flask.css_t
810+ * ~~~~~~~~~~~~~~~~~
811+ *
812+ * :copyright: Copyright 2010 by Armin Ronacher.
813+ * :license: Flask Design License, see LICENSE for details.
814+ */
815+
816+body {
817+ margin: 0;
818+ padding: 20px 30px;
819+}
820+
821+div.documentwrapper {
822+ float: none;
823+ background: white;
824+}
825+
826+div.sphinxsidebar {
827+ display: block;
828+ float: none;
829+ width: 102.5%;
830+ margin: 50px -30px -20px -30px;
831+ padding: 10px 20px;
832+ background: #333;
833+ color: white;
834+}
835+
836+div.sphinxsidebar h3, div.sphinxsidebar h4, div.sphinxsidebar p,
837+div.sphinxsidebar h3 a {
838+ color: white;
839+}
840+
841+div.sphinxsidebar a {
842+ color: #aaa;
843+}
844+
845+div.sphinxsidebar p.logo {
846+ display: none;
847+}
848+
849+div.document {
850+ width: 100%;
851+ margin: 0;
852+}
853+
854+div.related {
855+ display: block;
856+ margin: 0;
857+ padding: 10px 0 20px 0;
858+}
859+
860+div.related ul,
861+div.related ul li {
862+ margin: 0;
863+ padding: 0;
864+}
865+
866+div.footer {
867+ display: none;
868+}
869+
870+div.bodywrapper {
871+ margin: 0;
872+}
873+
874+div.body {
875+ min-height: 0;
876+ padding: 0;
877+}
878
879=== added file 'defaults/_themes/flask/theme.conf'
880--- defaults/_themes/flask/theme.conf 1970-01-01 00:00:00 +0000
881+++ defaults/_themes/flask/theme.conf 2013-01-21 13:47:22 +0000
882@@ -0,0 +1,9 @@
883+[theme]
884+inherit = basic
885+stylesheet = flasky.css
886+pygments_style = flask_theme_support.FlaskyStyle
887+
888+[options]
889+index_logo = ''
890+index_logo_height = 120px
891+touch_icon =
892
893=== added directory 'defaults/_themes/flask_small'
894=== added file 'defaults/_themes/flask_small/layout.html'
895--- defaults/_themes/flask_small/layout.html 1970-01-01 00:00:00 +0000
896+++ defaults/_themes/flask_small/layout.html 2013-01-21 13:47:22 +0000
897@@ -0,0 +1,22 @@
898+{% extends "basic/layout.html" %}
899+{% block header %}
900+ {{ super() }}
901+ {% if pagename == 'index' %}
902+ <div class=indexwrapper>
903+ {% endif %}
904+{% endblock %}
905+{% block footer %}
906+ {% if pagename == 'index' %}
907+ </div>
908+ {% endif %}
909+{% endblock %}
910+{# do not display relbars #}
911+{% block relbar1 %}{% endblock %}
912+{% block relbar2 %}
913+ {% if theme_github_fork %}
914+ <a href="http://github.com/{{ theme_github_fork }}"><img style="position: fixed; top: 0; right: 0; border: 0;"
915+ src="http://s3.amazonaws.com/github/ribbons/forkme_right_darkblue_121621.png" alt="Fork me on GitHub" /></a>
916+ {% endif %}
917+{% endblock %}
918+{% block sidebar1 %}{% endblock %}
919+{% block sidebar2 %}{% endblock %}
920
921=== added directory 'defaults/_themes/flask_small/static'
922=== added file 'defaults/_themes/flask_small/static/flasky.css_t'
923--- defaults/_themes/flask_small/static/flasky.css_t 1970-01-01 00:00:00 +0000
924+++ defaults/_themes/flask_small/static/flasky.css_t 2013-01-21 13:47:22 +0000
925@@ -0,0 +1,287 @@
926+/*
927+ * flasky.css_t
928+ * ~~~~~~~~~~~~
929+ *
930+ * Sphinx stylesheet -- flasky theme based on nature theme.
931+ *
932+ * :copyright: Copyright 2007-2010 by the Sphinx team, see AUTHORS.
933+ * :license: BSD, see LICENSE for details.
934+ *
935+ */
936+
937+@import url("basic.css");
938+
939+/* -- page layout ----------------------------------------------------------- */
940+
941+body {
942+ font-family: 'Georgia', serif;
943+ font-size: 17px;
944+ color: #000;
945+ background: white;
946+ margin: 0;
947+ padding: 0;
948+}
949+
950+div.documentwrapper {
951+ float: left;
952+ width: 100%;
953+}
954+
955+div.bodywrapper {
956+ margin: 40px auto 0 auto;
957+ width: 700px;
958+}
959+
960+hr {
961+ border: 1px solid #B1B4B6;
962+}
963+
964+div.body {
965+ background-color: #ffffff;
966+ color: #3E4349;
967+ padding: 0 30px 30px 30px;
968+}
969+
970+img.floatingflask {
971+ padding: 0 0 10px 10px;
972+ float: right;
973+}
974+
975+div.footer {
976+ text-align: right;
977+ color: #888;
978+ padding: 10px;
979+ font-size: 14px;
980+ width: 650px;
981+ margin: 0 auto 40px auto;
982+}
983+
984+div.footer a {
985+ color: #888;
986+ text-decoration: underline;
987+}
988+
989+div.related {
990+ line-height: 32px;
991+ color: #888;
992+}
993+
994+div.related ul {
995+ padding: 0 0 0 10px;
996+}
997+
998+div.related a {
999+ color: #444;
1000+}
1001+
1002+/* -- body styles ----------------------------------------------------------- */
1003+
1004+a {
1005+ color: #004B6B;
1006+ text-decoration: underline;
1007+}
1008+
1009+a:hover {
1010+ color: #6D4100;
1011+ text-decoration: underline;
1012+}
1013+
1014+div.body {
1015+ padding-bottom: 40px; /* saved for footer */
1016+}
1017+
1018+div.body h1,
1019+div.body h2,
1020+div.body h3,
1021+div.body h4,
1022+div.body h5,
1023+div.body h6 {
1024+ font-family: 'Garamond', 'Georgia', serif;
1025+ font-weight: normal;
1026+ margin: 30px 0px 10px 0px;
1027+ padding: 0;
1028+}
1029+
1030+{% if theme_index_logo %}
1031+div.indexwrapper h1 {
1032+ text-indent: -999999px;
1033+ background: url({{ theme_index_logo }}) no-repeat center center;
1034+ height: {{ theme_index_logo_height }};
1035+}
1036+{% endif %}
1037+
1038+div.body h2 { font-size: 180%; }
1039+div.body h3 { font-size: 150%; }
1040+div.body h4 { font-size: 130%; }
1041+div.body h5 { font-size: 100%; }
1042+div.body h6 { font-size: 100%; }
1043+
1044+a.headerlink {
1045+ color: white;
1046+ padding: 0 4px;
1047+ text-decoration: none;
1048+}
1049+
1050+a.headerlink:hover {
1051+ color: #444;
1052+ background: #eaeaea;
1053+}
1054+
1055+div.body p, div.body dd, div.body li {
1056+ line-height: 1.4em;
1057+}
1058+
1059+div.admonition {
1060+ background: #fafafa;
1061+ margin: 20px -30px;
1062+ padding: 10px 30px;
1063+ border-top: 1px solid #ccc;
1064+ border-bottom: 1px solid #ccc;
1065+}
1066+
1067+div.admonition p.admonition-title {
1068+ font-family: 'Garamond', 'Georgia', serif;
1069+ font-weight: normal;
1070+ font-size: 24px;
1071+ margin: 0 0 10px 0;
1072+ padding: 0;
1073+ line-height: 1;
1074+}
1075+
1076+div.admonition p.last {
1077+ margin-bottom: 0;
1078+}
1079+
1080+div.highlight{
1081+ background-color: white;
1082+}
1083+
1084+dt:target, .highlight {
1085+ background: #FAF3E8;
1086+}
1087+
1088+div.note {
1089+ background-color: #eee;
1090+ border: 1px solid #ccc;
1091+}
1092+
1093+div.seealso {
1094+ background-color: #ffc;
1095+ border: 1px solid #ff6;
1096+}
1097+
1098+div.topic {
1099+ background-color: #eee;
1100+}
1101+
1102+div.warning {
1103+ background-color: #ffe4e4;
1104+ border: 1px solid #f66;
1105+}
1106+
1107+p.admonition-title {
1108+ display: inline;
1109+}
1110+
1111+p.admonition-title:after {
1112+ content: ":";
1113+}
1114+
1115+pre, tt {
1116+ font-family: 'Consolas', 'Menlo', 'Deja Vu Sans Mono', 'Bitstream Vera Sans Mono', monospace;
1117+ font-size: 0.85em;
1118+}
1119+
1120+img.screenshot {
1121+}
1122+
1123+tt.descname, tt.descclassname {
1124+ font-size: 0.95em;
1125+}
1126+
1127+tt.descname {
1128+ padding-right: 0.08em;
1129+}
1130+
1131+img.screenshot {
1132+ -moz-box-shadow: 2px 2px 4px #eee;
1133+ -webkit-box-shadow: 2px 2px 4px #eee;
1134+ box-shadow: 2px 2px 4px #eee;
1135+}
1136+
1137+table.docutils {
1138+ border: 1px solid #888;
1139+ -moz-box-shadow: 2px 2px 4px #eee;
1140+ -webkit-box-shadow: 2px 2px 4px #eee;
1141+ box-shadow: 2px 2px 4px #eee;
1142+}
1143+
1144+table.docutils td, table.docutils th {
1145+ border: 1px solid #888;
1146+ padding: 0.25em 0.7em;
1147+}
1148+
1149+table.field-list, table.footnote {
1150+ border: none;
1151+ -moz-box-shadow: none;
1152+ -webkit-box-shadow: none;
1153+ box-shadow: none;
1154+}
1155+
1156+table.footnote {
1157+ margin: 15px 0;
1158+ width: 100%;
1159+ border: 1px solid #eee;
1160+}
1161+
1162+table.field-list th {
1163+ padding: 0 0.8em 0 0;
1164+}
1165+
1166+table.field-list td {
1167+ padding: 0;
1168+}
1169+
1170+table.footnote td {
1171+ padding: 0.5em;
1172+}
1173+
1174+dl {
1175+ margin: 0;
1176+ padding: 0;
1177+}
1178+
1179+dl dd {
1180+ margin-left: 30px;
1181+}
1182+
1183+pre {
1184+ padding: 0;
1185+ margin: 15px -30px;
1186+ padding: 8px;
1187+ line-height: 1.3em;
1188+ padding: 7px 30px;
1189+ background: #eee;
1190+ border-radius: 2px;
1191+ -moz-border-radius: 2px;
1192+ -webkit-border-radius: 2px;
1193+}
1194+
1195+dl pre {
1196+ margin-left: -60px;
1197+ padding-left: 60px;
1198+}
1199+
1200+tt {
1201+ background-color: #ecf0f3;
1202+ color: #222;
1203+ /* padding: 1px 2px; */
1204+}
1205+
1206+tt.xref, a tt {
1207+ background-color: #FBFBFB;
1208+}
1209+
1210+a:hover tt {
1211+ background: #EEE;
1212+}
1213
1214=== added file 'defaults/_themes/flask_small/theme.conf'
1215--- defaults/_themes/flask_small/theme.conf 1970-01-01 00:00:00 +0000
1216+++ defaults/_themes/flask_small/theme.conf 2013-01-21 13:47:22 +0000
1217@@ -0,0 +1,10 @@
1218+[theme]
1219+inherit = basic
1220+stylesheet = flasky.css
1221+nosidebar = true
1222+pygments_style = flask_theme_support.FlaskyStyle
1223+
1224+[options]
1225+index_logo = ''
1226+index_logo_height = 120px
1227+github_fork = ''
1228
1229=== added file 'defaults/_themes/flask_theme_support.py'
1230--- defaults/_themes/flask_theme_support.py 1970-01-01 00:00:00 +0000
1231+++ defaults/_themes/flask_theme_support.py 2013-01-21 13:47:22 +0000
1232@@ -0,0 +1,86 @@
1233+# flasky extensions. flasky pygments style based on tango style
1234+from pygments.style import Style
1235+from pygments.token import Keyword, Name, Comment, String, Error, \
1236+ Number, Operator, Generic, Whitespace, Punctuation, Other, Literal
1237+
1238+
1239+class FlaskyStyle(Style):
1240+ background_color = "#f8f8f8"
1241+ default_style = ""
1242+
1243+ styles = {
1244+ # No corresponding class for the following:
1245+ #Text: "", # class: ''
1246+ Whitespace: "underline #f8f8f8", # class: 'w'
1247+ Error: "#a40000 border:#ef2929", # class: 'err'
1248+ Other: "#000000", # class 'x'
1249+
1250+ Comment: "italic #8f5902", # class: 'c'
1251+ Comment.Preproc: "noitalic", # class: 'cp'
1252+
1253+ Keyword: "bold #004461", # class: 'k'
1254+ Keyword.Constant: "bold #004461", # class: 'kc'
1255+ Keyword.Declaration: "bold #004461", # class: 'kd'
1256+ Keyword.Namespace: "bold #004461", # class: 'kn'
1257+ Keyword.Pseudo: "bold #004461", # class: 'kp'
1258+ Keyword.Reserved: "bold #004461", # class: 'kr'
1259+ Keyword.Type: "bold #004461", # class: 'kt'
1260+
1261+ Operator: "#582800", # class: 'o'
1262+ Operator.Word: "bold #004461", # class: 'ow' - like keywords
1263+
1264+ Punctuation: "bold #000000", # class: 'p'
1265+
1266+ # because special names such as Name.Class, Name.Function, etc.
1267+ # are not recognized as such later in the parsing, we choose them
1268+ # to look the same as ordinary variables.
1269+ Name: "#000000", # class: 'n'
1270+ Name.Attribute: "#c4a000", # class: 'na' - to be revised
1271+ Name.Builtin: "#004461", # class: 'nb'
1272+ Name.Builtin.Pseudo: "#3465a4", # class: 'bp'
1273+ Name.Class: "#000000", # class: 'nc' - to be revised
1274+ Name.Constant: "#000000", # class: 'no' - to be revised
1275+ Name.Decorator: "#888", # class: 'nd' - to be revised
1276+ Name.Entity: "#ce5c00", # class: 'ni'
1277+ Name.Exception: "bold #cc0000", # class: 'ne'
1278+ Name.Function: "#000000", # class: 'nf'
1279+ Name.Property: "#000000", # class: 'py'
1280+ Name.Label: "#f57900", # class: 'nl'
1281+ Name.Namespace: "#000000", # class: 'nn' - to be revised
1282+ Name.Other: "#000000", # class: 'nx'
1283+ Name.Tag: "bold #004461", # class: 'nt' - like a keyword
1284+ Name.Variable: "#000000", # class: 'nv' - to be revised
1285+ Name.Variable.Class: "#000000", # class: 'vc' - to be revised
1286+ Name.Variable.Global: "#000000", # class: 'vg' - to be revised
1287+ Name.Variable.Instance: "#000000", # class: 'vi' - to be revised
1288+
1289+ Number: "#990000", # class: 'm'
1290+
1291+ Literal: "#000000", # class: 'l'
1292+ Literal.Date: "#000000", # class: 'ld'
1293+
1294+ String: "#4e9a06", # class: 's'
1295+ String.Backtick: "#4e9a06", # class: 'sb'
1296+ String.Char: "#4e9a06", # class: 'sc'
1297+ String.Doc: "italic #8f5902", # class: 'sd' - like a comment
1298+ String.Double: "#4e9a06", # class: 's2'
1299+ String.Escape: "#4e9a06", # class: 'se'
1300+ String.Heredoc: "#4e9a06", # class: 'sh'
1301+ String.Interpol: "#4e9a06", # class: 'si'
1302+ String.Other: "#4e9a06", # class: 'sx'
1303+ String.Regex: "#4e9a06", # class: 'sr'
1304+ String.Single: "#4e9a06", # class: 's1'
1305+ String.Symbol: "#4e9a06", # class: 'ss'
1306+
1307+ Generic: "#000000", # class: 'g'
1308+ Generic.Deleted: "#a40000", # class: 'gd'
1309+ Generic.Emph: "italic #000000", # class: 'ge'
1310+ Generic.Error: "#ef2929", # class: 'gr'
1311+ Generic.Heading: "bold #000080", # class: 'gh'
1312+ Generic.Inserted: "#00A000", # class: 'gi'
1313+ Generic.Output: "#888", # class: 'go'
1314+ Generic.Prompt: "#745334", # class: 'gp'
1315+ Generic.Strong: "bold #000000", # class: 'gs'
1316+ Generic.Subheading: "bold #800080", # class: 'gu'
1317+ Generic.Traceback: "bold #a40000", # class: 'gt'
1318+ }
1319
1320=== added file 'defaults/conf.py'
1321--- defaults/conf.py 1970-01-01 00:00:00 +0000
1322+++ defaults/conf.py 2013-01-21 13:47:22 +0000
1323@@ -0,0 +1,177 @@
1324+# -*- coding: utf-8 -*-
1325+#
1326+# Documentation Template documentation build configuration file, created by
1327+# sphinx-quickstart on Fri Jan 18 15:08:56 2013.
1328+#
1329+# This file is execfile()d with the current directory set to its containing dir.
1330+#
1331+# Note that not all possible configuration values are present in this
1332+# autogenerated file.
1333+#
1334+# All configuration values have a default; values that are commented out
1335+# serve to show the default.
1336+
1337+import sys, os
1338+
1339+# If extensions (or modules to document with autodoc) are in another directory,
1340+# add these directories to sys.path here. If the directory is relative to the
1341+# documentation root, use os.path.abspath to make it absolute, like shown here.
1342+#sys.path.insert(0, os.path.abspath('.'))
1343+
1344+# -- General configuration -----------------------------------------------------
1345+
1346+# If your documentation needs a minimal Sphinx version, state it here.
1347+#needs_sphinx = '1.0'
1348+
1349+# Add any Sphinx extension module names here, as strings. They can be extensions
1350+# coming with Sphinx (named 'sphinx.ext.*') or your custom ones.
1351+extensions = ['sphinx.ext.autodoc', 'sphinx.ext.intersphinx', 'sphinx.ext.todo', 'sphinx.ext.viewcode']
1352+
1353+# Add any paths that contain templates here, relative to this directory.
1354+templates_path = ['_templates']
1355+
1356+# The suffix of source filenames.
1357+source_suffix = '.rst'
1358+
1359+# The encoding of source files.
1360+#source_encoding = 'utf-8-sig'
1361+
1362+# The master toctree document.
1363+master_doc = 'index'
1364+
1365+# General information about the project.
1366+#project = u'Documentation Template'
1367+#copyright = u'2013, OpenERP S.A.'
1368+
1369+# The version info for the project you're documenting, acts as replacement for
1370+# |version| and |release|, also used in various other places throughout the
1371+# built documents.
1372+#
1373+# The short X.Y version.
1374+#version = '0.0'
1375+# The full version, including alpha/beta/rc tags.
1376+#release = '0.0'
1377+
1378+# The language for content autogenerated by Sphinx. Refer to documentation
1379+# for a list of supported languages.
1380+#language = None
1381+
1382+# There are two options for replacing |today|: either, you set today to some
1383+# non-false value, then it is used:
1384+#today = ''
1385+# Else, today_fmt is used as the format for a strftime call.
1386+#today_fmt = '%B %d, %Y'
1387+
1388+# List of patterns, relative to source directory, that match files and
1389+# directories to ignore when looking for source files.
1390+exclude_patterns = ['_build']
1391+
1392+# The reST default role (used for this markup: `text`) to use for all documents.
1393+#default_role = None
1394+
1395+# If true, '()' will be appended to :func: etc. cross-reference text.
1396+#add_function_parentheses = True
1397+
1398+# If true, the current module name will be prepended to all description
1399+# unit titles (such as .. function::).
1400+#add_module_names = True
1401+
1402+# If true, sectionauthor and moduleauthor directives will be shown in the
1403+# output. They are ignored by default.
1404+#show_authors = False
1405+
1406+# The name of the Pygments (syntax highlighting) style to use.
1407+pygments_style = 'sphinx'
1408+
1409+# A list of ignored prefixes for module index sorting.
1410+#modindex_common_prefix = []
1411+
1412+
1413+# -- Options for HTML output ---------------------------------------------------
1414+
1415+# The theme to use for HTML and HTML Help pages. See the documentation for
1416+# a list of builtin themes.
1417+html_theme = 'flask'
1418+
1419+# Theme options are theme-specific and customize the look and feel of a theme
1420+# further. For a list of options available for each theme, see the
1421+# documentation.
1422+html_theme_options = {
1423+ "nosidebar": False,
1424+}
1425+
1426+# Add any paths that contain custom themes here, relative to this directory.
1427+html_theme_path = ['_themes']
1428+
1429+# The name for this set of Sphinx documents. If None, it defaults to
1430+# "<project> v<release> documentation".
1431+#html_title = None
1432+
1433+# A shorter title for the navigation bar. Default is the same as html_title.
1434+#html_short_title = None
1435+
1436+# The name of an image file (relative to this directory) to place at the top
1437+# of the sidebar.
1438+#html_logo = None
1439+
1440+# The name of an image file (within the static path) to use as favicon of the
1441+# docs. This file should be a Windows icon file (.ico) being 16x16 or 32x32
1442+# pixels large.
1443+#html_favicon = None
1444+
1445+# Add any paths that contain custom static files (such as style sheets) here,
1446+# relative to this directory. They are copied after the builtin static files,
1447+# so a file named "default.css" will overwrite the builtin "default.css".
1448+html_static_path = ['_static']
1449+
1450+# If not '', a 'Last updated on:' timestamp is inserted at every page bottom,
1451+# using the given strftime format.
1452+#html_last_updated_fmt = '%b %d, %Y'
1453+
1454+# If true, SmartyPants will be used to convert quotes and dashes to
1455+# typographically correct entities.
1456+#html_use_smartypants = True
1457+
1458+# Custom sidebar templates, maps document names to template names.
1459+html_sidebars = {
1460+ 'index': ['sidebarintro.html', 'sourcelink.html', 'searchbox.html'],
1461+ '**': ['sidebarlogo.html', 'localtoc.html', 'relations.html',
1462+ 'sourcelink.html', 'searchbox.html']
1463+}
1464+
1465+# Additional templates that should be rendered to pages, maps page names to
1466+# template names.
1467+#html_additional_pages = {}
1468+
1469+# If false, no module index is generated.
1470+#html_domain_indices = True
1471+
1472+# If false, no index is generated.
1473+#html_use_index = True
1474+
1475+# If true, the index is split into individual pages for each letter.
1476+#html_split_index = False
1477+
1478+# If true, links to the reST sources are added to the pages.
1479+#html_show_sourcelink = True
1480+
1481+# If true, "Created using Sphinx" is shown in the HTML footer. Default is True.
1482+#html_show_sphinx = True
1483+
1484+# If true, "(C) Copyright ..." is shown in the HTML footer. Default is True.
1485+#html_show_copyright = True
1486+
1487+# If true, an OpenSearch description file will be output, and all pages will
1488+# contain a <link> tag referring to it. The value of this option must be the
1489+# base URL from which the finished HTML is served.
1490+#html_use_opensearch = ''
1491+
1492+# This is the file name suffix for HTML files (e.g. ".xhtml").
1493+#html_file_suffix = None
1494+
1495+# Example configuration for intersphinx: refer to the Python standard library.
1496+intersphinx_mapping = {
1497+ 'http://docs.python.org/': None,
1498+ 'openerpserver': ('http://doc.openerp.com/trunk/developers/server', None),
1499+ 'openerpweb': ('http://doc.openerp.com/trunk/developers/web', None),
1500+}
1501
1502=== removed directory 'developers'
1503=== removed file 'developers/Makefile'
1504--- developers/Makefile 2012-03-05 11:41:17 +0000
1505+++ developers/Makefile 1970-01-01 00:00:00 +0000
1506@@ -1,153 +0,0 @@
1507-# Makefile for Sphinx documentation
1508-#
1509-
1510-# You can set these variables from the command line.
1511-SPHINXOPTS = -q
1512-SPHINXBUILD = sphinx-build
1513-PAPER =
1514-BUILDDIR = _build
1515-
1516-# Internal variables.
1517-PAPEROPT_a4 = -D latex_paper_size=a4
1518-PAPEROPT_letter = -D latex_paper_size=letter
1519-ALLSPHINXOPTS = -d $(BUILDDIR)/doctrees $(PAPEROPT_$(PAPER)) $(SPHINXOPTS) .
1520-# the i18n builder cannot share the environment and doctrees with the others
1521-I18NSPHINXOPTS = $(PAPEROPT_$(PAPER)) $(SPHINXOPTS) .
1522-
1523-.PHONY: help clean html dirhtml singlehtml pickle json htmlhelp qthelp devhelp epub latex latexpdf text man changes linkcheck doctest gettext
1524-
1525-help:
1526- @echo "Please use \`make <target>' where <target> is one of"
1527- @echo " html to make standalone HTML files"
1528- @echo " dirhtml to make HTML files named index.html in directories"
1529- @echo " singlehtml to make a single large HTML file"
1530- @echo " pickle to make pickle files"
1531- @echo " json to make JSON files"
1532- @echo " htmlhelp to make HTML files and a HTML help project"
1533- @echo " qthelp to make HTML files and a qthelp project"
1534- @echo " devhelp to make HTML files and a Devhelp project"
1535- @echo " epub to make an epub"
1536- @echo " latex to make LaTeX files, you can set PAPER=a4 or PAPER=letter"
1537- @echo " latexpdf to make LaTeX files and run them through pdflatex"
1538- @echo " text to make text files"
1539- @echo " man to make manual pages"
1540- @echo " texinfo to make Texinfo files"
1541- @echo " info to make Texinfo files and run them through makeinfo"
1542- @echo " gettext to make PO message catalogs"
1543- @echo " changes to make an overview of all changed/added/deprecated items"
1544- @echo " linkcheck to check all external links for integrity"
1545- @echo " doctest to run all doctests embedded in the documentation (if enabled)"
1546-
1547-clean:
1548- -rm -rf $(BUILDDIR)/*
1549-
1550-html:
1551- $(SPHINXBUILD) -b html $(ALLSPHINXOPTS) $(BUILDDIR)/html
1552- @echo
1553- @echo "Build finished. The HTML pages are in $(BUILDDIR)/html."
1554-
1555-dirhtml:
1556- $(SPHINXBUILD) -b dirhtml $(ALLSPHINXOPTS) $(BUILDDIR)/dirhtml
1557- @echo
1558- @echo "Build finished. The HTML pages are in $(BUILDDIR)/dirhtml."
1559-
1560-singlehtml:
1561- $(SPHINXBUILD) -b singlehtml $(ALLSPHINXOPTS) $(BUILDDIR)/singlehtml
1562- @echo
1563- @echo "Build finished. The HTML page is in $(BUILDDIR)/singlehtml."
1564-
1565-pickle:
1566- $(SPHINXBUILD) -b pickle $(ALLSPHINXOPTS) $(BUILDDIR)/pickle
1567- @echo
1568- @echo "Build finished; now you can process the pickle files."
1569-
1570-json:
1571- $(SPHINXBUILD) -b json $(ALLSPHINXOPTS) $(BUILDDIR)/json
1572- @echo
1573- @echo "Build finished; now you can process the JSON files."
1574-
1575-htmlhelp:
1576- $(SPHINXBUILD) -b htmlhelp $(ALLSPHINXOPTS) $(BUILDDIR)/htmlhelp
1577- @echo
1578- @echo "Build finished; now you can run HTML Help Workshop with the" \
1579- ".hhp project file in $(BUILDDIR)/htmlhelp."
1580-
1581-qthelp:
1582- $(SPHINXBUILD) -b qthelp $(ALLSPHINXOPTS) $(BUILDDIR)/qthelp
1583- @echo
1584- @echo "Build finished; now you can run "qcollectiongenerator" with the" \
1585- ".qhcp project file in $(BUILDDIR)/qthelp, like this:"
1586- @echo "# qcollectiongenerator $(BUILDDIR)/qthelp/OpenERPTechnicalDocumentation.qhcp"
1587- @echo "To view the help file:"
1588- @echo "# assistant -collectionFile $(BUILDDIR)/qthelp/OpenERPTechnicalDocumentation.qhc"
1589-
1590-devhelp:
1591- $(SPHINXBUILD) -b devhelp $(ALLSPHINXOPTS) $(BUILDDIR)/devhelp
1592- @echo
1593- @echo "Build finished."
1594- @echo "To view the help file:"
1595- @echo "# mkdir -p $$HOME/.local/share/devhelp/OpenERPTechnicalDocumentation"
1596- @echo "# ln -s $(BUILDDIR)/devhelp $$HOME/.local/share/devhelp/OpenERPTechnicalDocumentation"
1597- @echo "# devhelp"
1598-
1599-epub:
1600- $(SPHINXBUILD) -b epub $(ALLSPHINXOPTS) $(BUILDDIR)/epub
1601- @echo
1602- @echo "Build finished. The epub file is in $(BUILDDIR)/epub."
1603-
1604-latex:
1605- $(SPHINXBUILD) -b latex $(ALLSPHINXOPTS) $(BUILDDIR)/latex
1606- @echo
1607- @echo "Build finished; the LaTeX files are in $(BUILDDIR)/latex."
1608- @echo "Run \`make' in that directory to run these through (pdf)latex" \
1609- "(use \`make latexpdf' here to do that automatically)."
1610-
1611-latexpdf:
1612- $(SPHINXBUILD) -b latex $(ALLSPHINXOPTS) $(BUILDDIR)/latex
1613- @echo "Running LaTeX files through pdflatex..."
1614- $(MAKE) -C $(BUILDDIR)/latex all-pdf
1615- @echo "pdflatex finished; the PDF files are in $(BUILDDIR)/latex."
1616-
1617-text:
1618- $(SPHINXBUILD) -b text $(ALLSPHINXOPTS) $(BUILDDIR)/text
1619- @echo
1620- @echo "Build finished. The text files are in $(BUILDDIR)/text."
1621-
1622-man:
1623- $(SPHINXBUILD) -b man $(ALLSPHINXOPTS) $(BUILDDIR)/man
1624- @echo
1625- @echo "Build finished. The manual pages are in $(BUILDDIR)/man."
1626-
1627-texinfo:
1628- $(SPHINXBUILD) -b texinfo $(ALLSPHINXOPTS) $(BUILDDIR)/texinfo
1629- @echo
1630- @echo "Build finished. The Texinfo files are in $(BUILDDIR)/texinfo."
1631- @echo "Run \`make' in that directory to run these through makeinfo" \
1632- "(use \`make info' here to do that automatically)."
1633-
1634-info:
1635- $(SPHINXBUILD) -b texinfo $(ALLSPHINXOPTS) $(BUILDDIR)/texinfo
1636- @echo "Running Texinfo files through makeinfo..."
1637- make -C $(BUILDDIR)/texinfo info
1638- @echo "makeinfo finished; the Info files are in $(BUILDDIR)/texinfo."
1639-
1640-gettext:
1641- $(SPHINXBUILD) -b gettext $(I18NSPHINXOPTS) $(BUILDDIR)/locale
1642- @echo
1643- @echo "Build finished. The message catalogs are in $(BUILDDIR)/locale."
1644-
1645-changes:
1646- $(SPHINXBUILD) -b changes $(ALLSPHINXOPTS) $(BUILDDIR)/changes
1647- @echo
1648- @echo "The overview file is in $(BUILDDIR)/changes."
1649-
1650-linkcheck:
1651- $(SPHINXBUILD) -b linkcheck $(ALLSPHINXOPTS) $(BUILDDIR)/linkcheck
1652- @echo
1653- @echo "Link check complete; look for any errors in the above output " \
1654- "or in $(BUILDDIR)/linkcheck/output.txt."
1655-
1656-doctest:
1657- $(SPHINXBUILD) -b doctest $(ALLSPHINXOPTS) $(BUILDDIR)/doctest
1658- @echo "Testing of doctests in the sources finished, look at the " \
1659- "results in $(BUILDDIR)/doctest/output.txt."
1660
1661=== removed directory 'developers/_static'
1662=== removed file 'developers/_static/openerp.png'
1663Binary files developers/_static/openerp.png 2012-02-17 16:55:19 +0000 and developers/_static/openerp.png 1970-01-01 00:00:00 +0000 differ
1664=== removed directory 'developers/_templates'
1665=== removed file 'developers/_templates/sidebarintro.html'
1666--- developers/_templates/sidebarintro.html 2012-10-22 09:38:20 +0000
1667+++ developers/_templates/sidebarintro.html 1970-01-01 00:00:00 +0000
1668@@ -1,27 +0,0 @@
1669-<h3>About</h3>
1670-
1671-<p>
1672-
1673-OpenERP is an extensive open source suite of business applications. It is built
1674-on a flexible development framework written in Python. The framework uses a
1675-three-tier architecture. It provides an ORM on top of PostgreSQL, a modular
1676-application server, and a feature-packed web client.
1677-
1678-</p>
1679-
1680-<h3>Other Docs</h3>
1681-<ul>
1682- <li><a href="http://doc.openerp.com/trunk/users">Users doc</a></li>
1683- <li>
1684- <a href="http://doc.openerp.com/v5.0">5.0</a>
1685- <a href="http://doc.openerp.com/v6.0">6.0</a>
1686- <a href="http://doc.openerp.com/v6.1">6.1</a>
1687- (old versions)
1688- </li>
1689-</ul>
1690-
1691-<h3>Useful Links</h3>
1692-<ul>
1693- <li><a href="http://www.openerp.com/">OpenERP.com</a></li>
1694- <li><a href="http://python.org/">Python.org</a></li>
1695-</ul>
1696
1697=== removed file 'developers/_templates/sidebarlogo.html'
1698--- developers/_templates/sidebarlogo.html 2012-02-17 16:55:19 +0000
1699+++ developers/_templates/sidebarlogo.html 1970-01-01 00:00:00 +0000
1700@@ -1,3 +0,0 @@
1701-<p class="logo"><a href="{{ pathto(master_doc) }}">
1702- <img class="logo" src="{{ pathto('_static/openerp.png', 1) }}" alt="Logo"/>
1703-</a></p>
1704
1705=== removed directory 'developers/_themes'
1706=== removed file 'developers/_themes/.gitignore'
1707--- developers/_themes/.gitignore 2012-02-17 16:09:56 +0000
1708+++ developers/_themes/.gitignore 1970-01-01 00:00:00 +0000
1709@@ -1,3 +0,0 @@
1710-*.pyc
1711-*.pyo
1712-.DS_Store
1713
1714=== removed file 'developers/_themes/LICENSE'
1715--- developers/_themes/LICENSE 2012-02-17 16:09:56 +0000
1716+++ developers/_themes/LICENSE 1970-01-01 00:00:00 +0000
1717@@ -1,37 +0,0 @@
1718-Copyright (c) 2010 by Armin Ronacher.
1719-
1720-Some rights reserved.
1721-
1722-Redistribution and use in source and binary forms of the theme, with or
1723-without modification, are permitted provided that the following conditions
1724-are met:
1725-
1726-* Redistributions of source code must retain the above copyright
1727- notice, this list of conditions and the following disclaimer.
1728-
1729-* Redistributions in binary form must reproduce the above
1730- copyright notice, this list of conditions and the following
1731- disclaimer in the documentation and/or other materials provided
1732- with the distribution.
1733-
1734-* The names of the contributors may not be used to endorse or
1735- promote products derived from this software without specific
1736- prior written permission.
1737-
1738-We kindly ask you to only use these themes in an unmodified manner just
1739-for Flask and Flask-related products, not for unrelated projects. If you
1740-like the visual style and want to use it for your own projects, please
1741-consider making some larger changes to the themes (such as changing
1742-font faces, sizes, colors or margins).
1743-
1744-THIS THEME IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
1745-AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
1746-IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
1747-ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
1748-LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
1749-CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
1750-SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
1751-INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
1752-CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
1753-ARISING IN ANY WAY OUT OF THE USE OF THIS THEME, EVEN IF ADVISED OF THE
1754-POSSIBILITY OF SUCH DAMAGE.
1755
1756=== removed file 'developers/_themes/README'
1757--- developers/_themes/README 2012-02-17 16:09:56 +0000
1758+++ developers/_themes/README 1970-01-01 00:00:00 +0000
1759@@ -1,31 +0,0 @@
1760-Flask Sphinx Styles
1761-===================
1762-
1763-This repository contains sphinx styles for Flask and Flask related
1764-projects. To use this style in your Sphinx documentation, follow
1765-this guide:
1766-
1767-1. put this folder as _themes into your docs folder. Alternatively
1768- you can also use git submodules to check out the contents there.
1769-2. add this to your conf.py:
1770-
1771- sys.path.append(os.path.abspath('_themes'))
1772- html_theme_path = ['_themes']
1773- html_theme = 'flask'
1774-
1775-The following themes exist:
1776-
1777-- 'flask' - the standard flask documentation theme for large
1778- projects
1779-- 'flask_small' - small one-page theme. Intended to be used by
1780- very small addon libraries for flask.
1781-
1782-The following options exist for the flask_small theme:
1783-
1784- [options]
1785- index_logo = '' filename of a picture in _static
1786- to be used as replacement for the
1787- h1 in the index.rst file.
1788- index_logo_height = 120px height of the index logo
1789- github_fork = '' repository name on github for the
1790- "fork me" badge
1791
1792=== removed directory 'developers/_themes/flask'
1793=== removed file 'developers/_themes/flask/layout.html'
1794--- developers/_themes/flask/layout.html 2012-02-17 16:55:19 +0000
1795+++ developers/_themes/flask/layout.html 1970-01-01 00:00:00 +0000
1796@@ -1,25 +0,0 @@
1797-{%- extends "basic/layout.html" %}
1798-{%- block extrahead %}
1799- {{ super() }}
1800- {% if theme_touch_icon %}
1801- <link rel="apple-touch-icon" href="{{ pathto('_static/' ~ theme_touch_icon, 1) }}" />
1802- {% endif %}
1803- <link media="only screen and (max-device-width: 480px)" href="{{
1804- pathto('_static/small_flask.css', 1) }}" type= "text/css" rel="stylesheet" />
1805-{% endblock %}
1806-{%- block relbar2 %}{% endblock %}
1807-{% block header %}
1808- {{ super() }}
1809- {% if pagename == 'index' %}
1810- <div class=indexwrapper>
1811- {% endif %}
1812-{% endblock %}
1813-{%- block footer %}
1814- <div class="footer">
1815- &copy; Copyright {{ copyright }}
1816- Created using <a href="http://sphinx.pocoo.org/">Sphinx</a> and the <a href="https://github.com/mitsuhiko/flask-sphinx-themes">Flask theme</a>.
1817- </div>
1818- {% if pagename == 'index' %}
1819- </div>
1820- {% endif %}
1821-{%- endblock %}
1822
1823=== removed file 'developers/_themes/flask/relations.html'
1824--- developers/_themes/flask/relations.html 2012-02-17 16:09:56 +0000
1825+++ developers/_themes/flask/relations.html 1970-01-01 00:00:00 +0000
1826@@ -1,19 +0,0 @@
1827-<h3>Related Topics</h3>
1828-<ul>
1829- <li><a href="{{ pathto(master_doc) }}">Documentation overview</a><ul>
1830- {%- for parent in parents %}
1831- <li><a href="{{ parent.link|e }}">{{ parent.title }}</a><ul>
1832- {%- endfor %}
1833- {%- if prev %}
1834- <li>Previous: <a href="{{ prev.link|e }}" title="{{ _('previous chapter')
1835- }}">{{ prev.title }}</a></li>
1836- {%- endif %}
1837- {%- if next %}
1838- <li>Next: <a href="{{ next.link|e }}" title="{{ _('next chapter')
1839- }}">{{ next.title }}</a></li>
1840- {%- endif %}
1841- {%- for parent in parents %}
1842- </ul></li>
1843- {%- endfor %}
1844- </ul></li>
1845-</ul>
1846
1847=== removed directory 'developers/_themes/flask/static'
1848=== removed file 'developers/_themes/flask/static/flasky.css_t'
1849--- developers/_themes/flask/static/flasky.css_t 2012-02-18 20:28:07 +0000
1850+++ developers/_themes/flask/static/flasky.css_t 1970-01-01 00:00:00 +0000
1851@@ -1,395 +0,0 @@
1852-/*
1853- * flasky.css_t
1854- * ~~~~~~~~~~~~
1855- *
1856- * :copyright: Copyright 2010 by Armin Ronacher.
1857- * :license: Flask Design License, see LICENSE for details.
1858- */
1859-
1860-{% set page_width = '1000px' %}
1861-{% set sidebar_width = '200px' %}
1862-
1863-@import url("basic.css");
1864-
1865-/* -- page layout ----------------------------------------------------------- */
1866-
1867-body {
1868- font-family: 'Georgia', serif;
1869- font-size: 17px;
1870- background-color: white;
1871- color: #000;
1872- margin: 0;
1873- padding: 0;
1874-}
1875-
1876-div.document {
1877- width: {{ page_width }};
1878- margin: 30px auto 0 auto;
1879-}
1880-
1881-div.documentwrapper {
1882- float: left;
1883- width: 100%;
1884-}
1885-
1886-div.bodywrapper {
1887- margin: 0 0 0 {{ sidebar_width }};
1888-}
1889-
1890-div.sphinxsidebar {
1891- width: {{ sidebar_width }};
1892-}
1893-
1894-hr {
1895- border: 1px solid #B1B4B6;
1896-}
1897-
1898-div.body {
1899- background-color: #ffffff;
1900- color: #3E4349;
1901- padding: 0 30px 0 30px;
1902-}
1903-
1904-img.floatingflask {
1905- padding: 0 0 10px 10px;
1906- float: right;
1907-}
1908-
1909-div.footer {
1910- width: {{ page_width }};
1911- margin: 20px auto 30px auto;
1912- font-size: 14px;
1913- color: #888;
1914- text-align: right;
1915-}
1916-
1917-div.footer a {
1918- color: #888;
1919-}
1920-
1921-div.related {
1922- display: none;
1923-}
1924-
1925-div.sphinxsidebar a {
1926- color: #444;
1927- text-decoration: none;
1928- border-bottom: 1px dotted #999;
1929-}
1930-
1931-div.sphinxsidebar a:hover {
1932- border-bottom: 1px solid #999;
1933-}
1934-
1935-div.sphinxsidebar {
1936- font-size: 14px;
1937- line-height: 1.5;
1938-}
1939-
1940-div.sphinxsidebarwrapper {
1941- padding: 18px 10px;
1942-}
1943-
1944-div.sphinxsidebarwrapper p.logo {
1945- padding: 0 0 20px 0;
1946- margin: 0;
1947- text-align: center;
1948-}
1949-
1950-div.sphinxsidebar h3,
1951-div.sphinxsidebar h4 {
1952- font-family: 'Garamond', 'Georgia', serif;
1953- color: #444;
1954- font-size: 24px;
1955- font-weight: normal;
1956- margin: 0 0 5px 0;
1957- padding: 0;
1958-}
1959-
1960-div.sphinxsidebar h4 {
1961- font-size: 20px;
1962-}
1963-
1964-div.sphinxsidebar h3 a {
1965- color: #444;
1966-}
1967-
1968-div.sphinxsidebar p.logo a,
1969-div.sphinxsidebar h3 a,
1970-div.sphinxsidebar p.logo a:hover,
1971-div.sphinxsidebar h3 a:hover {
1972- border: none;
1973-}
1974-
1975-div.sphinxsidebar p {
1976- color: #555;
1977- margin: 10px 0;
1978-}
1979-
1980-div.sphinxsidebar ul {
1981- margin: 10px 0;
1982- padding: 0;
1983- color: #000;
1984-}
1985-
1986-div.sphinxsidebar input {
1987- border: 1px solid #ccc;
1988- font-family: 'Georgia', serif;
1989- font-size: 1em;
1990-}
1991-
1992-/* -- body styles ----------------------------------------------------------- */
1993-
1994-a {
1995- color: #004B6B;
1996- text-decoration: underline;
1997-}
1998-
1999-a:hover {
2000- color: #6D4100;
2001- text-decoration: underline;
2002-}
2003-
2004-div.body h1,
2005-div.body h2,
2006-div.body h3,
2007-div.body h4,
2008-div.body h5,
2009-div.body h6 {
2010- font-family: 'Garamond', 'Georgia', serif;
2011- font-weight: normal;
2012- margin: 30px 0px 10px 0px;
2013- padding: 0;
2014-}
2015-
2016-{% if theme_index_logo %}
2017-div.indexwrapper h1 {
2018- text-indent: -999999px;
2019- background: url({{ theme_index_logo }}) no-repeat center center;
2020- height: {{ theme_index_logo_height }};
2021-}
2022-{% endif %}
2023-
2024-div.body h1 { margin-top: 0; padding-top: 0; font-size: 240%; }
2025-div.body h2 { font-size: 180%; }
2026-div.body h3 { font-size: 150%; }
2027-div.body h4 { font-size: 130%; }
2028-div.body h5 { font-size: 100%; }
2029-div.body h6 { font-size: 100%; }
2030-
2031-a.headerlink {
2032- color: #ddd;
2033- padding: 0 4px;
2034- text-decoration: none;
2035-}
2036-
2037-a.headerlink:hover {
2038- color: #444;
2039- background: #eaeaea;
2040-}
2041-
2042-div.body p, div.body dd, div.body li {
2043- line-height: 1.4em;
2044-}
2045-
2046-div.admonition {
2047- background: #fafafa;
2048- margin: 20px -30px;
2049- padding: 10px 30px;
2050- border-top: 1px solid #ccc;
2051- border-bottom: 1px solid #ccc;
2052-}
2053-
2054-div.admonition tt.xref, div.admonition a tt {
2055- border-bottom: 1px solid #fafafa;
2056-}
2057-
2058-dd div.admonition {
2059- margin-left: -60px;
2060- padding-left: 60px;
2061-}
2062-
2063-div.admonition p.admonition-title {
2064- font-family: 'Garamond', 'Georgia', serif;
2065- font-weight: normal;
2066- font-size: 24px;
2067- margin: 0 0 10px 0;
2068- padding: 0;
2069- line-height: 1;
2070-}
2071-
2072-div.admonition p.last {
2073- margin-bottom: 0;
2074-}
2075-
2076-div.highlight {
2077- background-color: white;
2078-}
2079-
2080-dt:target, .highlight {
2081- background: #FAF3E8;
2082-}
2083-
2084-div.note {
2085- background-color: #eee;
2086- border: 1px solid #ccc;
2087-}
2088-
2089-div.seealso {
2090- background-color: #ffc;
2091- border: 1px solid #ff6;
2092-}
2093-
2094-div.topic {
2095- background-color: #eee;
2096-}
2097-
2098-p.admonition-title {
2099- display: inline;
2100-}
2101-
2102-p.admonition-title:after {
2103- content: ":";
2104-}
2105-
2106-pre, tt {
2107- font-family: 'Consolas', 'Menlo', 'Deja Vu Sans Mono', 'Bitstream Vera Sans Mono', monospace;
2108- font-size: 0.9em;
2109-}
2110-
2111-img.screenshot {
2112-}
2113-
2114-tt.descname, tt.descclassname {
2115- font-size: 0.95em;
2116-}
2117-
2118-tt.descname {
2119- padding-right: 0.08em;
2120-}
2121-
2122-img.screenshot {
2123- -moz-box-shadow: 2px 2px 4px #eee;
2124- -webkit-box-shadow: 2px 2px 4px #eee;
2125- box-shadow: 2px 2px 4px #eee;
2126-}
2127-
2128-table.docutils {
2129- border: 1px solid #888;
2130- -moz-box-shadow: 2px 2px 4px #eee;
2131- -webkit-box-shadow: 2px 2px 4px #eee;
2132- box-shadow: 2px 2px 4px #eee;
2133-}
2134-
2135-table.docutils td, table.docutils th {
2136- border: 1px solid #888;
2137- padding: 0.25em 0.7em;
2138-}
2139-
2140-table.field-list, table.footnote {
2141- border: none;
2142- -moz-box-shadow: none;
2143- -webkit-box-shadow: none;
2144- box-shadow: none;
2145-}
2146-
2147-table.footnote {
2148- margin: 15px 0;
2149- width: 100%;
2150- border: 1px solid #eee;
2151- background: #fdfdfd;
2152- font-size: 0.9em;
2153-}
2154-
2155-table.footnote + table.footnote {
2156- margin-top: -15px;
2157- border-top: none;
2158-}
2159-
2160-table.field-list th {
2161- padding: 0 0.8em 0 0;
2162-}
2163-
2164-table.field-list td {
2165- padding: 0;
2166-}
2167-
2168-table.footnote td.label {
2169- width: 0px;
2170- padding: 0.3em 0 0.3em 0.5em;
2171-}
2172-
2173-table.footnote td {
2174- padding: 0.3em 0.5em;
2175-}
2176-
2177-dl {
2178- margin: 0;
2179- padding: 0;
2180-}
2181-
2182-dl dd {
2183- margin-left: 30px;
2184-}
2185-
2186-blockquote {
2187- margin: 0 0 0 30px;
2188- padding: 0;
2189-}
2190-
2191-ul, ol {
2192- margin: 10px 0 10px 30px;
2193- padding: 0;
2194-}
2195-
2196-pre {
2197- background: #eee;
2198- padding: 7px 30px;
2199- margin: 15px -30px;
2200- line-height: 1.3em;
2201-}
2202-
2203-dl pre, blockquote pre, li pre {
2204- margin-left: -60px;
2205- padding-left: 60px;
2206-}
2207-
2208-dl dl pre {
2209- margin-left: -90px;
2210- padding-left: 90px;
2211-}
2212-
2213-tt {
2214- background-color: #ecf0f3;
2215- color: #222;
2216- /* padding: 1px 2px; */
2217-}
2218-
2219-tt.xref, a tt {
2220- background-color: #FBFBFB;
2221- border-bottom: 1px solid white;
2222-}
2223-
2224-a.reference {
2225- text-decoration: none;
2226- border-bottom: 1px dotted #004B6B;
2227-}
2228-
2229-a.reference:hover {
2230- border-bottom: 1px solid #6D4100;
2231-}
2232-
2233-a.footnote-reference {
2234- text-decoration: none;
2235- font-size: 0.7em;
2236- vertical-align: top;
2237- border-bottom: 1px dotted #004B6B;
2238-}
2239-
2240-a.footnote-reference:hover {
2241- border-bottom: 1px solid #6D4100;
2242-}
2243-
2244-a:hover tt {
2245- background: #EEE;
2246-}
2247
2248=== removed file 'developers/_themes/flask/static/small_flask.css'
2249--- developers/_themes/flask/static/small_flask.css 2012-02-17 16:09:56 +0000
2250+++ developers/_themes/flask/static/small_flask.css 1970-01-01 00:00:00 +0000
2251@@ -1,70 +0,0 @@
2252-/*
2253- * small_flask.css_t
2254- * ~~~~~~~~~~~~~~~~~
2255- *
2256- * :copyright: Copyright 2010 by Armin Ronacher.
2257- * :license: Flask Design License, see LICENSE for details.
2258- */
2259-
2260-body {
2261- margin: 0;
2262- padding: 20px 30px;
2263-}
2264-
2265-div.documentwrapper {
2266- float: none;
2267- background: white;
2268-}
2269-
2270-div.sphinxsidebar {
2271- display: block;
2272- float: none;
2273- width: 102.5%;
2274- margin: 50px -30px -20px -30px;
2275- padding: 10px 20px;
2276- background: #333;
2277- color: white;
2278-}
2279-
2280-div.sphinxsidebar h3, div.sphinxsidebar h4, div.sphinxsidebar p,
2281-div.sphinxsidebar h3 a {
2282- color: white;
2283-}
2284-
2285-div.sphinxsidebar a {
2286- color: #aaa;
2287-}
2288-
2289-div.sphinxsidebar p.logo {
2290- display: none;
2291-}
2292-
2293-div.document {
2294- width: 100%;
2295- margin: 0;
2296-}
2297-
2298-div.related {
2299- display: block;
2300- margin: 0;
2301- padding: 10px 0 20px 0;
2302-}
2303-
2304-div.related ul,
2305-div.related ul li {
2306- margin: 0;
2307- padding: 0;
2308-}
2309-
2310-div.footer {
2311- display: none;
2312-}
2313-
2314-div.bodywrapper {
2315- margin: 0;
2316-}
2317-
2318-div.body {
2319- min-height: 0;
2320- padding: 0;
2321-}
2322
2323=== removed file 'developers/_themes/flask/theme.conf'
2324--- developers/_themes/flask/theme.conf 2012-02-17 16:09:56 +0000
2325+++ developers/_themes/flask/theme.conf 1970-01-01 00:00:00 +0000
2326@@ -1,9 +0,0 @@
2327-[theme]
2328-inherit = basic
2329-stylesheet = flasky.css
2330-pygments_style = flask_theme_support.FlaskyStyle
2331-
2332-[options]
2333-index_logo = ''
2334-index_logo_height = 120px
2335-touch_icon =
2336
2337=== removed directory 'developers/_themes/flask_small'
2338=== removed file 'developers/_themes/flask_small/layout.html'
2339--- developers/_themes/flask_small/layout.html 2012-02-17 16:09:56 +0000
2340+++ developers/_themes/flask_small/layout.html 1970-01-01 00:00:00 +0000
2341@@ -1,22 +0,0 @@
2342-{% extends "basic/layout.html" %}
2343-{% block header %}
2344- {{ super() }}
2345- {% if pagename == 'index' %}
2346- <div class=indexwrapper>
2347- {% endif %}
2348-{% endblock %}
2349-{% block footer %}
2350- {% if pagename == 'index' %}
2351- </div>
2352- {% endif %}
2353-{% endblock %}
2354-{# do not display relbars #}
2355-{% block relbar1 %}{% endblock %}
2356-{% block relbar2 %}
2357- {% if theme_github_fork %}
2358- <a href="http://github.com/{{ theme_github_fork }}"><img style="position: fixed; top: 0; right: 0; border: 0;"
2359- src="http://s3.amazonaws.com/github/ribbons/forkme_right_darkblue_121621.png" alt="Fork me on GitHub" /></a>
2360- {% endif %}
2361-{% endblock %}
2362-{% block sidebar1 %}{% endblock %}
2363-{% block sidebar2 %}{% endblock %}
2364
2365=== removed directory 'developers/_themes/flask_small/static'
2366=== removed file 'developers/_themes/flask_small/static/flasky.css_t'
2367--- developers/_themes/flask_small/static/flasky.css_t 2012-02-17 16:09:56 +0000
2368+++ developers/_themes/flask_small/static/flasky.css_t 1970-01-01 00:00:00 +0000
2369@@ -1,287 +0,0 @@
2370-/*
2371- * flasky.css_t
2372- * ~~~~~~~~~~~~
2373- *
2374- * Sphinx stylesheet -- flasky theme based on nature theme.
2375- *
2376- * :copyright: Copyright 2007-2010 by the Sphinx team, see AUTHORS.
2377- * :license: BSD, see LICENSE for details.
2378- *
2379- */
2380-
2381-@import url("basic.css");
2382-
2383-/* -- page layout ----------------------------------------------------------- */
2384-
2385-body {
2386- font-family: 'Georgia', serif;
2387- font-size: 17px;
2388- color: #000;
2389- background: white;
2390- margin: 0;
2391- padding: 0;
2392-}
2393-
2394-div.documentwrapper {
2395- float: left;
2396- width: 100%;
2397-}
2398-
2399-div.bodywrapper {
2400- margin: 40px auto 0 auto;
2401- width: 700px;
2402-}
2403-
2404-hr {
2405- border: 1px solid #B1B4B6;
2406-}
2407-
2408-div.body {
2409- background-color: #ffffff;
2410- color: #3E4349;
2411- padding: 0 30px 30px 30px;
2412-}
2413-
2414-img.floatingflask {
2415- padding: 0 0 10px 10px;
2416- float: right;
2417-}
2418-
2419-div.footer {
2420- text-align: right;
2421- color: #888;
2422- padding: 10px;
2423- font-size: 14px;
2424- width: 650px;
2425- margin: 0 auto 40px auto;
2426-}
2427-
2428-div.footer a {
2429- color: #888;
2430- text-decoration: underline;
2431-}
2432-
2433-div.related {
2434- line-height: 32px;
2435- color: #888;
2436-}
2437-
2438-div.related ul {
2439- padding: 0 0 0 10px;
2440-}
2441-
2442-div.related a {
2443- color: #444;
2444-}
2445-
2446-/* -- body styles ----------------------------------------------------------- */
2447-
2448-a {
2449- color: #004B6B;
2450- text-decoration: underline;
2451-}
2452-
2453-a:hover {
2454- color: #6D4100;
2455- text-decoration: underline;
2456-}
2457-
2458-div.body {
2459- padding-bottom: 40px; /* saved for footer */
2460-}
2461-
2462-div.body h1,
2463-div.body h2,
2464-div.body h3,
2465-div.body h4,
2466-div.body h5,
2467-div.body h6 {
2468- font-family: 'Garamond', 'Georgia', serif;
2469- font-weight: normal;
2470- margin: 30px 0px 10px 0px;
2471- padding: 0;
2472-}
2473-
2474-{% if theme_index_logo %}
2475-div.indexwrapper h1 {
2476- text-indent: -999999px;
2477- background: url({{ theme_index_logo }}) no-repeat center center;
2478- height: {{ theme_index_logo_height }};
2479-}
2480-{% endif %}
2481-
2482-div.body h2 { font-size: 180%; }
2483-div.body h3 { font-size: 150%; }
2484-div.body h4 { font-size: 130%; }
2485-div.body h5 { font-size: 100%; }
2486-div.body h6 { font-size: 100%; }
2487-
2488-a.headerlink {
2489- color: white;
2490- padding: 0 4px;
2491- text-decoration: none;
2492-}
2493-
2494-a.headerlink:hover {
2495- color: #444;
2496- background: #eaeaea;
2497-}
2498-
2499-div.body p, div.body dd, div.body li {
2500- line-height: 1.4em;
2501-}
2502-
2503-div.admonition {
2504- background: #fafafa;
2505- margin: 20px -30px;
2506- padding: 10px 30px;
2507- border-top: 1px solid #ccc;
2508- border-bottom: 1px solid #ccc;
2509-}
2510-
2511-div.admonition p.admonition-title {
2512- font-family: 'Garamond', 'Georgia', serif;
2513- font-weight: normal;
2514- font-size: 24px;
2515- margin: 0 0 10px 0;
2516- padding: 0;
2517- line-height: 1;
2518-}
2519-
2520-div.admonition p.last {
2521- margin-bottom: 0;
2522-}
2523-
2524-div.highlight{
2525- background-color: white;
2526-}
2527-
2528-dt:target, .highlight {
2529- background: #FAF3E8;
2530-}
2531-
2532-div.note {
2533- background-color: #eee;
2534- border: 1px solid #ccc;
2535-}
2536-
2537-div.seealso {
2538- background-color: #ffc;
2539- border: 1px solid #ff6;
2540-}
2541-
2542-div.topic {
2543- background-color: #eee;
2544-}
2545-
2546-div.warning {
2547- background-color: #ffe4e4;
2548- border: 1px solid #f66;
2549-}
2550-
2551-p.admonition-title {
2552- display: inline;
2553-}
2554-
2555-p.admonition-title:after {
2556- content: ":";
2557-}
2558-
2559-pre, tt {
2560- font-family: 'Consolas', 'Menlo', 'Deja Vu Sans Mono', 'Bitstream Vera Sans Mono', monospace;
2561- font-size: 0.85em;
2562-}
2563-
2564-img.screenshot {
2565-}
2566-
2567-tt.descname, tt.descclassname {
2568- font-size: 0.95em;
2569-}
2570-
2571-tt.descname {
2572- padding-right: 0.08em;
2573-}
2574-
2575-img.screenshot {
2576- -moz-box-shadow: 2px 2px 4px #eee;
2577- -webkit-box-shadow: 2px 2px 4px #eee;
2578- box-shadow: 2px 2px 4px #eee;
2579-}
2580-
2581-table.docutils {
2582- border: 1px solid #888;
2583- -moz-box-shadow: 2px 2px 4px #eee;
2584- -webkit-box-shadow: 2px 2px 4px #eee;
2585- box-shadow: 2px 2px 4px #eee;
2586-}
2587-
2588-table.docutils td, table.docutils th {
2589- border: 1px solid #888;
2590- padding: 0.25em 0.7em;
2591-}
2592-
2593-table.field-list, table.footnote {
2594- border: none;
2595- -moz-box-shadow: none;
2596- -webkit-box-shadow: none;
2597- box-shadow: none;
2598-}
2599-
2600-table.footnote {
2601- margin: 15px 0;
2602- width: 100%;
2603- border: 1px solid #eee;
2604-}
2605-
2606-table.field-list th {
2607- padding: 0 0.8em 0 0;
2608-}
2609-
2610-table.field-list td {
2611- padding: 0;
2612-}
2613-
2614-table.footnote td {
2615- padding: 0.5em;
2616-}
2617-
2618-dl {
2619- margin: 0;
2620- padding: 0;
2621-}
2622-
2623-dl dd {
2624- margin-left: 30px;
2625-}
2626-
2627-pre {
2628- padding: 0;
2629- margin: 15px -30px;
2630- padding: 8px;
2631- line-height: 1.3em;
2632- padding: 7px 30px;
2633- background: #eee;
2634- border-radius: 2px;
2635- -moz-border-radius: 2px;
2636- -webkit-border-radius: 2px;
2637-}
2638-
2639-dl pre {
2640- margin-left: -60px;
2641- padding-left: 60px;
2642-}
2643-
2644-tt {
2645- background-color: #ecf0f3;
2646- color: #222;
2647- /* padding: 1px 2px; */
2648-}
2649-
2650-tt.xref, a tt {
2651- background-color: #FBFBFB;
2652-}
2653-
2654-a:hover tt {
2655- background: #EEE;
2656-}
2657
2658=== removed file 'developers/_themes/flask_small/theme.conf'
2659--- developers/_themes/flask_small/theme.conf 2012-02-17 16:09:56 +0000
2660+++ developers/_themes/flask_small/theme.conf 1970-01-01 00:00:00 +0000
2661@@ -1,10 +0,0 @@
2662-[theme]
2663-inherit = basic
2664-stylesheet = flasky.css
2665-nosidebar = true
2666-pygments_style = flask_theme_support.FlaskyStyle
2667-
2668-[options]
2669-index_logo = ''
2670-index_logo_height = 120px
2671-github_fork = ''
2672
2673=== removed file 'developers/_themes/flask_theme_support.py'
2674--- developers/_themes/flask_theme_support.py 2012-02-17 16:09:56 +0000
2675+++ developers/_themes/flask_theme_support.py 1970-01-01 00:00:00 +0000
2676@@ -1,86 +0,0 @@
2677-# flasky extensions. flasky pygments style based on tango style
2678-from pygments.style import Style
2679-from pygments.token import Keyword, Name, Comment, String, Error, \
2680- Number, Operator, Generic, Whitespace, Punctuation, Other, Literal
2681-
2682-
2683-class FlaskyStyle(Style):
2684- background_color = "#f8f8f8"
2685- default_style = ""
2686-
2687- styles = {
2688- # No corresponding class for the following:
2689- #Text: "", # class: ''
2690- Whitespace: "underline #f8f8f8", # class: 'w'
2691- Error: "#a40000 border:#ef2929", # class: 'err'
2692- Other: "#000000", # class 'x'
2693-
2694- Comment: "italic #8f5902", # class: 'c'
2695- Comment.Preproc: "noitalic", # class: 'cp'
2696-
2697- Keyword: "bold #004461", # class: 'k'
2698- Keyword.Constant: "bold #004461", # class: 'kc'
2699- Keyword.Declaration: "bold #004461", # class: 'kd'
2700- Keyword.Namespace: "bold #004461", # class: 'kn'
2701- Keyword.Pseudo: "bold #004461", # class: 'kp'
2702- Keyword.Reserved: "bold #004461", # class: 'kr'
2703- Keyword.Type: "bold #004461", # class: 'kt'
2704-
2705- Operator: "#582800", # class: 'o'
2706- Operator.Word: "bold #004461", # class: 'ow' - like keywords
2707-
2708- Punctuation: "bold #000000", # class: 'p'
2709-
2710- # because special names such as Name.Class, Name.Function, etc.
2711- # are not recognized as such later in the parsing, we choose them
2712- # to look the same as ordinary variables.
2713- Name: "#000000", # class: 'n'
2714- Name.Attribute: "#c4a000", # class: 'na' - to be revised
2715- Name.Builtin: "#004461", # class: 'nb'
2716- Name.Builtin.Pseudo: "#3465a4", # class: 'bp'
2717- Name.Class: "#000000", # class: 'nc' - to be revised
2718- Name.Constant: "#000000", # class: 'no' - to be revised
2719- Name.Decorator: "#888", # class: 'nd' - to be revised
2720- Name.Entity: "#ce5c00", # class: 'ni'
2721- Name.Exception: "bold #cc0000", # class: 'ne'
2722- Name.Function: "#000000", # class: 'nf'
2723- Name.Property: "#000000", # class: 'py'
2724- Name.Label: "#f57900", # class: 'nl'
2725- Name.Namespace: "#000000", # class: 'nn' - to be revised
2726- Name.Other: "#000000", # class: 'nx'
2727- Name.Tag: "bold #004461", # class: 'nt' - like a keyword
2728- Name.Variable: "#000000", # class: 'nv' - to be revised
2729- Name.Variable.Class: "#000000", # class: 'vc' - to be revised
2730- Name.Variable.Global: "#000000", # class: 'vg' - to be revised
2731- Name.Variable.Instance: "#000000", # class: 'vi' - to be revised
2732-
2733- Number: "#990000", # class: 'm'
2734-
2735- Literal: "#000000", # class: 'l'
2736- Literal.Date: "#000000", # class: 'ld'
2737-
2738- String: "#4e9a06", # class: 's'
2739- String.Backtick: "#4e9a06", # class: 'sb'
2740- String.Char: "#4e9a06", # class: 'sc'
2741- String.Doc: "italic #8f5902", # class: 'sd' - like a comment
2742- String.Double: "#4e9a06", # class: 's2'
2743- String.Escape: "#4e9a06", # class: 'se'
2744- String.Heredoc: "#4e9a06", # class: 'sh'
2745- String.Interpol: "#4e9a06", # class: 'si'
2746- String.Other: "#4e9a06", # class: 'sx'
2747- String.Regex: "#4e9a06", # class: 'sr'
2748- String.Single: "#4e9a06", # class: 's1'
2749- String.Symbol: "#4e9a06", # class: 'ss'
2750-
2751- Generic: "#000000", # class: 'g'
2752- Generic.Deleted: "#a40000", # class: 'gd'
2753- Generic.Emph: "italic #000000", # class: 'ge'
2754- Generic.Error: "#ef2929", # class: 'gr'
2755- Generic.Heading: "bold #000080", # class: 'gh'
2756- Generic.Inserted: "#00A000", # class: 'gi'
2757- Generic.Output: "#888", # class: 'go'
2758- Generic.Prompt: "#745334", # class: 'gp'
2759- Generic.Strong: "bold #000000", # class: 'gs'
2760- Generic.Subheading: "bold #800080", # class: 'gu'
2761- Generic.Traceback: "bold #a40000", # class: 'gt'
2762- }
2763
2764=== removed file 'developers/conf.py'
2765--- developers/conf.py 2012-03-05 11:29:13 +0000
2766+++ developers/conf.py 1970-01-01 00:00:00 +0000
2767@@ -1,258 +0,0 @@
2768-# -*- coding: utf-8 -*-
2769-#
2770-# OpenERP Technical Documentation configuration file, created by
2771-# sphinx-quickstart on Fri Feb 17 16:14:06 2012.
2772-#
2773-# This file is execfile()d with the current directory set to its containing dir.
2774-#
2775-# Note that not all possible configuration values are present in this
2776-# autogenerated file.
2777-#
2778-# All configuration values have a default; values that are commented out
2779-# serve to show the default.
2780-
2781-import sys, os
2782-
2783-# If extensions (or modules to document with autodoc) are in another directory,
2784-# add these directories to sys.path here. If the directory is relative to the
2785-# documentation root, use os.path.abspath to make it absolute, like shown here.
2786-#sys.path.insert(0, os.path.abspath('.'))
2787-sys.path.append(os.path.abspath('_themes'))
2788-sys.path.append(os.path.abspath('../server'))
2789-sys.path.insert(0, os.path.abspath('../web'))
2790-sys.path.insert(0, os.path.abspath('../web/addons'))
2791-
2792-# -- General configuration -----------------------------------------------------
2793-
2794-# If your documentation needs a minimal Sphinx version, state it here.
2795-#needs_sphinx = '1.0'
2796-
2797-# Add any Sphinx extension module names here, as strings. They can be extensions
2798-# coming with Sphinx (named 'sphinx.ext.*') or your custom ones.
2799-extensions = ['sphinx.ext.autodoc', 'sphinx.ext.intersphinx', 'sphinx.ext.todo', 'sphinx.ext.viewcode']
2800-
2801-# Add any paths that contain templates here, relative to this directory.
2802-templates_path = ['_templates']
2803-
2804-# The suffix of source filenames.
2805-source_suffix = '.rst'
2806-
2807-# The encoding of source files.
2808-#source_encoding = 'utf-8-sig'
2809-
2810-# The master toctree document.
2811-master_doc = 'index'
2812-
2813-# General information about the project.
2814-project = u'OpenERP Technical Documentation'
2815-copyright = u'2012, OpenERP s.a.'
2816-
2817-# The version info for the project you're documenting, acts as replacement for
2818-# |version| and |release|, also used in various other places throughout the
2819-# built documents.
2820-#
2821-# The short X.Y version.
2822-version = '0.0'
2823-# The full version, including alpha/beta/rc tags.
2824-release = '0.0'
2825-
2826-# The language for content autogenerated by Sphinx. Refer to documentation
2827-# for a list of supported languages.
2828-#language = None
2829-
2830-# There are two options for replacing |today|: either, you set today to some
2831-# non-false value, then it is used:
2832-#today = ''
2833-# Else, today_fmt is used as the format for a strftime call.
2834-#today_fmt = '%B %d, %Y'
2835-
2836-# List of patterns, relative to source directory, that match files and
2837-# directories to ignore when looking for source files.
2838-exclude_patterns = ['_build', 'server/index.rst', 'web/index.rst']
2839-
2840-# The reST default role (used for this markup: `text`) to use for all documents.
2841-#default_role = None
2842-
2843-# If true, '()' will be appended to :func: etc. cross-reference text.
2844-#add_function_parentheses = True
2845-
2846-# If true, the current module name will be prepended to all description
2847-# unit titles (such as .. function::).
2848-#add_module_names = True
2849-
2850-# If true, sectionauthor and moduleauthor directives will be shown in the
2851-# output. They are ignored by default.
2852-#show_authors = False
2853-
2854-# The name of the Pygments (syntax highlighting) style to use.
2855-pygments_style = 'sphinx'
2856-
2857-# A list of ignored prefixes for module index sorting.
2858-#modindex_common_prefix = []
2859-
2860-
2861-# -- Options for HTML output ---------------------------------------------------
2862-
2863-# The theme to use for HTML and HTML Help pages. See the documentation for
2864-# a list of builtin themes.
2865-html_theme = 'flask'
2866-
2867-# Theme options are theme-specific and customize the look and feel of a theme
2868-# further. For a list of options available for each theme, see the
2869-# documentation.
2870-html_theme_options = {
2871- "nosidebar": False,
2872-}
2873-
2874-# Add any paths that contain custom themes here, relative to this directory.
2875-html_theme_path = ['_themes']
2876-
2877-# The name for this set of Sphinx documents. If None, it defaults to
2878-# "<project> v<release> documentation".
2879-#html_title = None
2880-
2881-# A shorter title for the navigation bar. Default is the same as html_title.
2882-#html_short_title = None
2883-
2884-# The name of an image file (relative to this directory) to place at the top
2885-# of the sidebar.
2886-#html_logo = None
2887-
2888-# The name of an image file (within the static path) to use as favicon of the
2889-# docs. This file should be a Windows icon file (.ico) being 16x16 or 32x32
2890-# pixels large.
2891-#html_favicon = None
2892-
2893-# Add any paths that contain custom static files (such as style sheets) here,
2894-# relative to this directory. They are copied after the builtin static files,
2895-# so a file named "default.css" will overwrite the builtin "default.css".
2896-html_static_path = ['_static']
2897-
2898-# If not '', a 'Last updated on:' timestamp is inserted at every page bottom,
2899-# using the given strftime format.
2900-#html_last_updated_fmt = '%b %d, %Y'
2901-
2902-# If true, SmartyPants will be used to convert quotes and dashes to
2903-# typographically correct entities.
2904-#html_use_smartypants = True
2905-
2906-# Custom sidebar templates, maps document names to template names.
2907-html_sidebars = {
2908- 'index': ['sidebarintro.html', 'sourcelink.html', 'searchbox.html'],
2909- '**': ['sidebarlogo.html', 'localtoc.html', 'relations.html',
2910- 'sourcelink.html', 'searchbox.html']
2911-}
2912-
2913-# Additional templates that should be rendered to pages, maps page names to
2914-# template names.
2915-#html_additional_pages = {}
2916-
2917-# If false, no module index is generated.
2918-#html_domain_indices = True
2919-
2920-# If false, no index is generated.
2921-#html_use_index = True
2922-
2923-# If true, the index is split into individual pages for each letter.
2924-#html_split_index = False
2925-
2926-# If true, links to the reST sources are added to the pages.
2927-#html_show_sourcelink = True
2928-
2929-# If true, "Created using Sphinx" is shown in the HTML footer. Default is True.
2930-#html_show_sphinx = True
2931-
2932-# If true, "(C) Copyright ..." is shown in the HTML footer. Default is True.
2933-#html_show_copyright = True
2934-
2935-# If true, an OpenSearch description file will be output, and all pages will
2936-# contain a <link> tag referring to it. The value of this option must be the
2937-# base URL from which the finished HTML is served.
2938-#html_use_opensearch = ''
2939-
2940-# This is the file name suffix for HTML files (e.g. ".xhtml").
2941-#html_file_suffix = None
2942-
2943-# Output file base name for HTML help builder.
2944-htmlhelp_basename = 'openerp-technical-documentation-doc'
2945-
2946-
2947-# -- Options for LaTeX output --------------------------------------------------
2948-
2949-latex_elements = {
2950-# The paper size ('letterpaper' or 'a4paper').
2951-#'papersize': 'letterpaper',
2952-
2953-# The font size ('10pt', '11pt' or '12pt').
2954-#'pointsize': '10pt',
2955-
2956-# Additional stuff for the LaTeX preamble.
2957-#'preamble': '',
2958-}
2959-
2960-# Grouping the document tree into LaTeX files. List of tuples
2961-# (source start file, target name, title, author, documentclass [howto/manual]).
2962-latex_documents = [
2963- ('index', 'openerp-technical-documentation.tex', u'OpenERP Technical Documentation',
2964- u'OpenERP s.a.', 'manual'),
2965-]
2966-
2967-# The name of an image file (relative to this directory) to place at the top of
2968-# the title page.
2969-#latex_logo = None
2970-
2971-# For "manual" documents, if this is true, then toplevel headings are parts,
2972-# not chapters.
2973-#latex_use_parts = False
2974-
2975-# If true, show page references after internal links.
2976-#latex_show_pagerefs = False
2977-
2978-# If true, show URL addresses after external links.
2979-#latex_show_urls = False
2980-
2981-# Documents to append as an appendix to all manuals.
2982-#latex_appendices = []
2983-
2984-# If false, no module index is generated.
2985-#latex_domain_indices = True
2986-
2987-
2988-# -- Options for manual page output --------------------------------------------
2989-
2990-# One entry per manual page. List of tuples
2991-# (source start file, name, description, authors, manual section).
2992-man_pages = [
2993- ('index', 'openerp-technical-documentation', u'OpenERP Technical Documentation',
2994- [u'OpenERP s.a.'], 1)
2995-]
2996-
2997-# If true, show URL addresses after external links.
2998-#man_show_urls = False
2999-
3000-
3001-# -- Options for Texinfo output ------------------------------------------------
3002-
3003-# Grouping the document tree into Texinfo files. List of tuples
3004-# (source start file, target name, title, author,
3005-# dir menu entry, description, category)
3006-texinfo_documents = [
3007- ('index', 'OpenERPTechnicalDocumentation', u'OpenERP Technical Documentation',
3008- u'OpenERP s.a.', 'OpenERPTechnicalDocumentation', 'One line description of project.',
3009- 'Miscellaneous'),
3010-]
3011-
3012-# Documents to append as an appendix to all manuals.
3013-#texinfo_appendices = []
3014-
3015-# If false, no module index is generated.
3016-#texinfo_domain_indices = True
3017-
3018-# How to display URL addresses: 'footnote', 'no', or 'inline'.
3019-#texinfo_show_urls = 'footnote'
3020-
3021-
3022-# Example configuration for intersphinx: refer to the Python standard library.
3023-intersphinx_mapping = {
3024- 'http://docs.python.org/': None,
3025- }
3026
3027=== removed file 'developers/developers.rst.inc'
3028--- developers/developers.rst.inc 2012-12-06 16:12:55 +0000
3029+++ developers/developers.rst.inc 1970-01-01 00:00:00 +0000
3030@@ -1,43 +0,0 @@
3031-OpenERP Server
3032-''''''''''''''
3033-
3034-.. toctree::
3035- :maxdepth: 1
3036-
3037- /server/05_test_framework
3038-
3039-Changes in 7.0
3040-++++++++++++++
3041-
3042-.. toctree::
3043- :maxdepth: 1
3044-
3045-OpenERP Web Addon
3046-'''''''''''''''''
3047-
3048-.. toctree::
3049- :maxdepth: 1
3050-
3051- /web/presentation
3052- /web/async
3053-
3054- /web/testing
3055-
3056- /web/widget
3057- /web/qweb
3058- /web/rpc
3059- /web/client_action
3060- /web/form_view
3061- /web/search_view
3062- /web/list_view
3063-
3064- /web/changelog-7.0
3065-
3066-OpenERP Command
3067-'''''''''''''''
3068-
3069-.. toctree::
3070- :maxdepth: 1
3071-
3072- /command/openerp-command
3073- /command/adding-command
3074
3075=== removed file 'developers/generate.py'
3076--- developers/generate.py 2012-10-15 12:27:08 +0000
3077+++ developers/generate.py 1970-01-01 00:00:00 +0000
3078@@ -1,74 +0,0 @@
3079-"""
3080-Build the documentation, symlinking specific project documentations.
3081-"""
3082-import argparse
3083-import os
3084-import sys
3085-
3086-class GenerateDoc(object):
3087-
3088- command_name = 'generate-doc'
3089-
3090- def __init__(self, subparsers=None):
3091- if subparsers:
3092- self.parser = parser = subparsers.add_parser(self.command_name,
3093- description = self.__class__.__doc__)
3094- else:
3095- self.parser = parser = argparse.ArgumentParser(
3096- description=self.__class__.__doc__)
3097-
3098- parser.add_argument('--server', metavar='PATH',
3099- required=True, help='the local server branch to use for the '
3100- 'server documentation')
3101-
3102- parser.add_argument('--web', metavar='PATH',
3103- required=True, help='the local web branch to use for the '
3104- 'web documentation')
3105-
3106- parser.add_argument('--command', metavar='PATH',
3107- required=True, help='the local command branch to use for the '
3108- 'command documentation')
3109-
3110- parser.add_argument('--output', metavar='PATH',
3111- default='_result', help='where the documentation is generated')
3112-
3113- parser.set_defaults(run=self.run_with_args)
3114-
3115- def run_with_args(self, args):
3116- self.args = args
3117- self.run()
3118-
3119- def run(self):
3120- for b in ('server', 'web', 'command'):
3121- if b != 'web':
3122- a = os.path.join(os.path.abspath(getattr(self.args, b)), 'doc')
3123- else:
3124- a = os.path.join(os.path.abspath(getattr(self.args, b)), 'addons', b, 'doc')
3125- l = 'ln -sfT %s %s' % (a, b)
3126- l = l.split()
3127- os.spawnvp(os.P_WAIT, l[0], l)
3128-
3129- l = 'make clean'.split()
3130- os.spawnvp(os.P_WAIT, l[0], l)
3131-
3132- l = 'sphinx-build -b dirhtml -d _build/doctrees . _build/dirhtml'.split()
3133- os.spawnvp(os.P_WAIT, l[0], l)
3134-
3135- l = 'sed -i /-99999/d _build/dirhtml/_static/flasky.css'.split()
3136- os.spawnvp(os.P_WAIT, l[0], l)
3137-
3138- l = 'rm -rf _result'.split()
3139- os.spawnvp(os.P_WAIT, l[0], l)
3140-
3141- l = 'cp -r _build/dirhtml %s' % os.path.abspath(self.args.output)
3142- l = l.split()
3143- os.spawnvp(os.P_WAIT, l[0], l)
3144-
3145- @classmethod
3146- def stand_alone(cls):
3147- command = cls()
3148- args = command.parser.parse_args()
3149- args.run(args)
3150-
3151-if __name__ == '__main__':
3152- GenerateDoc.stand_alone()
3153
3154=== removed file 'developers/index.rst'
3155--- developers/index.rst 2012-03-05 11:24:27 +0000
3156+++ developers/index.rst 1970-01-01 00:00:00 +0000
3157@@ -1,7 +0,0 @@
3158-
3159-.. _developers:
3160-
3161-OpenERP Developer Documentation
3162-===============================
3163-
3164-.. include:: developers.rst.inc
3165
3166=== removed file 'developers/installation.rst'
3167--- developers/installation.rst 2012-02-29 14:08:42 +0000
3168+++ developers/installation.rst 1970-01-01 00:00:00 +0000
3169@@ -1,2 +0,0 @@
3170-Installation
3171-============
3172
3173=== removed file 'developers/overview.rst'
3174--- developers/overview.rst 2012-02-29 14:08:42 +0000
3175+++ developers/overview.rst 1970-01-01 00:00:00 +0000
3176@@ -1,2 +0,0 @@
3177-Overview
3178-========
3179
3180=== added file 'docbuilder'
3181--- docbuilder 1970-01-01 00:00:00 +0000
3182+++ docbuilder 2013-01-21 13:47:22 +0000
3183@@ -0,0 +1,178 @@
3184+#!/usr/bin/env python
3185+import argparse
3186+import ast
3187+import collections
3188+import errno
3189+import datetime
3190+import fnmatch
3191+import functools
3192+import glob
3193+import itertools
3194+import os
3195+import os.path
3196+import shutil
3197+import subprocess
3198+import sys
3199+import tempfile
3200+
3201+SPHINXBUILD = os.environ.get('SPHINXBUILD', 'sphinx-build')
3202+
3203+PATH_ROOT = os.path.abspath(os.path.dirname(__file__))
3204+subpath = functools.partial(os.path.join, PATH_ROOT)
3205+
3206+PUBLISH_DIR = subpath('build', 'html')
3207+publish = functools.partial(os.path.join, PUBLISH_DIR)
3208+
3209+""" Representation of a project with documentation
3210+ directory: the sub-directory (of this file's directory) where the
3211+ project should be checked out
3212+ repo: bazaar repository in which the project lives (branch
3213+ included)
3214+ pubname: name (of the directory) under which the project's
3215+ documentation will be published
3216+ subpath: sub-path of the repository in which to look for a ``doc``
3217+ folder. May be a glob pattern and yield multiple
3218+ results. Must be a list of sub-paths items, can be empty
3219+ if the ``doc`` folder is directly in ``directory``.
3220+ outdir: an optional function called to get the final section of
3221+ the output path. If ``None``, the documentation will be
3222+ output in ``pubname`` directly``. If ``outdir(Project,
3223+ input_path)`` returns a non-empty string, that string
3224+ will be the latest segment(s) of the final output path
3225+ label: name printed in the root index
3226+"""
3227+# FIXME: label shouldn't be needed should it? Get from conf.py?
3228+Project = collections.namedtuple('Project', 'directory repo pubname subpath outdir label')
3229+PROJECTS = [
3230+ Project('server', 'lp:openobject-server/trunk', 'server', [],
3231+ None, 'Server'),
3232+ Project('web', 'lp:openerp-web/trunk', 'web', ['addons', 'web'],
3233+ None, 'Web Client'),
3234+ Project('addons', 'lp:openobject-addons/trunk', 'addons', ['*'],
3235+ # get addon name
3236+ (lambda proj, path: path.split(os.sep)[-2]),
3237+ None),
3238+ Project('tools', 'lp:~openerp-dev/openerp-tools/trunk-doc-thu/', 'runbot', ['openerp-runbot'],
3239+ None, 'Runbot'),
3240+]
3241+
3242+def init(args):
3243+ for project in PROJECTS:
3244+ subprocess.check_call([
3245+ 'bzr', 'branch', '-q', project.repo, subpath(project.directory)])
3246+
3247+def html(args):
3248+ # find . -name '*.py[co]' -delete
3249+ for base, dirs, files in os.walk(PATH_ROOT):
3250+ for f in fnmatch.filter(files, '*.py[co]'):
3251+ os.remove(subpath(base, f))
3252+
3253+ docs = []
3254+ for project in PROJECTS:
3255+ subprocess.check_call(
3256+ ['bzr', 'pull', '-q'],
3257+ cwd=subpath(PATH_ROOT, project.directory))
3258+
3259+ try:
3260+ os.makedirs(publish('developers', project.pubname))
3261+ except OSError, e:
3262+ # ignore if leaf already exists
3263+ if e.errno != errno.EEXIST:
3264+ raise
3265+
3266+ for target in glob.iglob(subpath(*itertools.chain(
3267+ [project.directory], project.subpath, ['doc']))):
3268+ # target is a ``doc`` directory which may be buildable
3269+ shutil.rmtree(os.path.join(target, '_build'), ignore_errors=True)
3270+ if os.path.exists(os.path.join(target, 'conf.py')):
3271+ docs.append(build_self_conf(project, target))
3272+ elif os.path.exists(os.path.join(target, 'index.rst')):
3273+ docs.append(build_default_conf(project, target))
3274+ else:
3275+ print >>sys.stderr, "%s has no index.rst or conf.py, skipping doc-buiding" % target
3276+
3277+ d = tempfile.mkdtemp()
3278+ try:
3279+ # generate core index file
3280+ indexpath = os.path.join(d, 'index.rst')
3281+ with open(indexpath, 'wb') as f:
3282+ f.write(
3283+ "=====================\n"
3284+ "OpenERP Documentation\n"
3285+ "=====================\n")
3286+ f.write('\n')
3287+ for name, path in docs:
3288+ # Path is relative url from core index?
3289+ f.write("* `%s <%s>`_\n" % (name, '/'.join(path)))
3290+
3291+ # compile with default conf to root dir
3292+ sphinx_build_default(d, publish('developers'), [
3293+ ('project', 'OpenERP'),
3294+ ('copyright', '%d OpenERP S.A.' % datetime.date.today().year),
3295+ ])
3296+ finally:
3297+ shutil.rmtree(d)
3298+
3299+def build_self_conf(project, target_dir):
3300+ """ Builds a documentation with its own sphinx project (own
3301+ conf.py file)
3302+ """
3303+ subprocess.check_call([
3304+ SPHINXBUILD, '-q', '-b', 'dirhtml',
3305+ target_dir, publish('developers', project.pubname)])
3306+ return project.label, [project.pubname]
3307+def build_default_conf(project, target_dir):
3308+ """ Builds a documentation without a sphinx project, using default
3309+ values
3310+ """
3311+ args = ['developers', project.pubname]
3312+ if project.outdir:
3313+ postfix = project.outdir(project, target_dir)
3314+ if postfix:
3315+ args.append(postfix)
3316+ destination = publish(*args)
3317+
3318+ # get module metadata
3319+ manifest_path = os.path.normpath(os.path.join(
3320+ target_dir, '..', '__openerp__.py'))
3321+ with open(manifest_path, 'rb') as f:
3322+ manifest = ast.literal_eval(f.read())
3323+
3324+ sphinx_build_default(target_dir, destination, [
3325+ ('project', manifest['name']),
3326+ ('copyright', manifest['author']),
3327+ ('version', manifest.get('version', '0.0')),
3328+ ('release', manifest.get('version', '0.0')),
3329+ ])
3330+ return manifest['name'], args[1:]
3331+
3332+def sphinx_build_default(source, destination, conf_values=()):
3333+ """ Build ``source`` to ``destination`` using the ``defaults``
3334+ sphinx project as template.
3335+
3336+ :param conf_values: configuration values override (sphinx-build's -D)
3337+ """
3338+ args = [SPHINXBUILD, '-q', '-b', 'dirhtml', '-c', subpath('defaults')]
3339+ for k, v in conf_values:
3340+ args.append('-D'),
3341+ args.append('%s=%s' % (k, v))
3342+ args.append(source)
3343+ args.append(destination)
3344+
3345+ subprocess.check_call(args)
3346+
3347+parser = argparse.ArgumentParser()
3348+subparsers = parser.add_subparsers()
3349+subparsers.add_parser(
3350+ 'init', help="Initialize the document building: checkout all buildable repositories")\
3351+ .set_defaults(func=init)
3352+subparsers.add_parser(
3353+ 'html', help="Generate the full documentation from the combination of the various repository docs")\
3354+ .set_defaults(func=html)
3355+
3356+def main():
3357+ args = parser.parse_args()
3358+ args.func(args)
3359+
3360+if __name__ == '__main__':
3361+ main()
3362
3363=== removed directory 'users'
3364=== removed file 'users/Makefile'
3365--- users/Makefile 2012-03-05 11:41:17 +0000
3366+++ users/Makefile 1970-01-01 00:00:00 +0000
3367@@ -1,154 +0,0 @@
3368-# Makefile for Sphinx documentation
3369-#
3370-
3371-# You can set these variables from the command line.
3372-SPHINXOPTS = -q
3373-SPHINXBUILD = sphinx-build
3374-PAPER =
3375-BUILDDIR = _build
3376-
3377-# Internal variables.
3378-PAPEROPT_a4 = -D latex_paper_size=a4
3379-PAPEROPT_letter = -D latex_paper_size=letter
3380-ALLSPHINXOPTS = -d $(BUILDDIR)/doctrees $(PAPEROPT_$(PAPER)) $(SPHINXOPTS) .
3381-# the i18n builder cannot share the environment and doctrees with the others
3382-I18NSPHINXOPTS = $(PAPEROPT_$(PAPER)) $(SPHINXOPTS) .
3383-
3384-.PHONY: help clean html dirhtml singlehtml pickle json htmlhelp qthelp devhelp epub latex latexpdf text man changes linkcheck doctest gettext
3385-
3386-help:
3387- @echo "Please use \`make <target>' where <target> is one of"
3388- @echo " html to make standalone HTML files"
3389- @echo " dirhtml to make HTML files named index.html in directories"
3390- @echo " singlehtml to make a single large HTML file"
3391- @echo " pickle to make pickle files"
3392- @echo " json to make JSON files"
3393- @echo " htmlhelp to make HTML files and a HTML help project"
3394- @echo " qthelp to make HTML files and a qthelp project"
3395- @echo " devhelp to make HTML files and a Devhelp project"
3396- @echo " epub to make an epub"
3397- @echo " latex to make LaTeX files, you can set PAPER=a4 or PAPER=letter"
3398- @echo " latexpdf to make LaTeX files and run them through pdflatex"
3399- @echo " text to make text files"
3400- @echo " man to make manual pages"
3401- @echo " texinfo to make Texinfo files"
3402- @echo " info to make Texinfo files and run them through makeinfo"
3403- @echo " gettext to make PO message catalogs"
3404- @echo " changes to make an overview of all changed/added/deprecated items"
3405- @echo " linkcheck to check all external links for integrity"
3406- @echo " doctest to run all doctests embedded in the documentation (if enabled)"
3407-
3408-clean:
3409- -rm -rf $(BUILDDIR)/*
3410-
3411-html:
3412- $(SPHINXBUILD) -b html $(ALLSPHINXOPTS) $(BUILDDIR)/html
3413- @echo
3414- @echo "Build finished. The HTML pages are in $(BUILDDIR)/html."
3415-
3416-dirhtml:
3417- $(SPHINXBUILD) -b dirhtml $(ALLSPHINXOPTS) $(BUILDDIR)/dirhtml
3418- sed -i '/-99999/d' _build/dirhtml/_static/flasky.css
3419- @echo
3420- @echo "Build finished. The HTML pages are in $(BUILDDIR)/dirhtml."
3421-
3422-singlehtml:
3423- $(SPHINXBUILD) -b singlehtml $(ALLSPHINXOPTS) $(BUILDDIR)/singlehtml
3424- @echo
3425- @echo "Build finished. The HTML page is in $(BUILDDIR)/singlehtml."
3426-
3427-pickle:
3428- $(SPHINXBUILD) -b pickle $(ALLSPHINXOPTS) $(BUILDDIR)/pickle
3429- @echo
3430- @echo "Build finished; now you can process the pickle files."
3431-
3432-json:
3433- $(SPHINXBUILD) -b json $(ALLSPHINXOPTS) $(BUILDDIR)/json
3434- @echo
3435- @echo "Build finished; now you can process the JSON files."
3436-
3437-htmlhelp:
3438- $(SPHINXBUILD) -b htmlhelp $(ALLSPHINXOPTS) $(BUILDDIR)/htmlhelp
3439- @echo
3440- @echo "Build finished; now you can run HTML Help Workshop with the" \
3441- ".hhp project file in $(BUILDDIR)/htmlhelp."
3442-
3443-qthelp:
3444- $(SPHINXBUILD) -b qthelp $(ALLSPHINXOPTS) $(BUILDDIR)/qthelp
3445- @echo
3446- @echo "Build finished; now you can run "qcollectiongenerator" with the" \
3447- ".qhcp project file in $(BUILDDIR)/qthelp, like this:"
3448- @echo "# qcollectiongenerator $(BUILDDIR)/qthelp/OpenERPTechnicalDocumentation.qhcp"
3449- @echo "To view the help file:"
3450- @echo "# assistant -collectionFile $(BUILDDIR)/qthelp/OpenERPTechnicalDocumentation.qhc"
3451-
3452-devhelp:
3453- $(SPHINXBUILD) -b devhelp $(ALLSPHINXOPTS) $(BUILDDIR)/devhelp
3454- @echo
3455- @echo "Build finished."
3456- @echo "To view the help file:"
3457- @echo "# mkdir -p $$HOME/.local/share/devhelp/OpenERPTechnicalDocumentation"
3458- @echo "# ln -s $(BUILDDIR)/devhelp $$HOME/.local/share/devhelp/OpenERPTechnicalDocumentation"
3459- @echo "# devhelp"
3460-
3461-epub:
3462- $(SPHINXBUILD) -b epub $(ALLSPHINXOPTS) $(BUILDDIR)/epub
3463- @echo
3464- @echo "Build finished. The epub file is in $(BUILDDIR)/epub."
3465-
3466-latex:
3467- $(SPHINXBUILD) -b latex $(ALLSPHINXOPTS) $(BUILDDIR)/latex
3468- @echo
3469- @echo "Build finished; the LaTeX files are in $(BUILDDIR)/latex."
3470- @echo "Run \`make' in that directory to run these through (pdf)latex" \
3471- "(use \`make latexpdf' here to do that automatically)."
3472-
3473-latexpdf:
3474- $(SPHINXBUILD) -b latex $(ALLSPHINXOPTS) $(BUILDDIR)/latex
3475- @echo "Running LaTeX files through pdflatex..."
3476- $(MAKE) -C $(BUILDDIR)/latex all-pdf
3477- @echo "pdflatex finished; the PDF files are in $(BUILDDIR)/latex."
3478-
3479-text:
3480- $(SPHINXBUILD) -b text $(ALLSPHINXOPTS) $(BUILDDIR)/text
3481- @echo
3482- @echo "Build finished. The text files are in $(BUILDDIR)/text."
3483-
3484-man:
3485- $(SPHINXBUILD) -b man $(ALLSPHINXOPTS) $(BUILDDIR)/man
3486- @echo
3487- @echo "Build finished. The manual pages are in $(BUILDDIR)/man."
3488-
3489-texinfo:
3490- $(SPHINXBUILD) -b texinfo $(ALLSPHINXOPTS) $(BUILDDIR)/texinfo
3491- @echo
3492- @echo "Build finished. The Texinfo files are in $(BUILDDIR)/texinfo."
3493- @echo "Run \`make' in that directory to run these through makeinfo" \
3494- "(use \`make info' here to do that automatically)."
3495-
3496-info:
3497- $(SPHINXBUILD) -b texinfo $(ALLSPHINXOPTS) $(BUILDDIR)/texinfo
3498- @echo "Running Texinfo files through makeinfo..."
3499- make -C $(BUILDDIR)/texinfo info
3500- @echo "makeinfo finished; the Info files are in $(BUILDDIR)/texinfo."
3501-
3502-gettext:
3503- $(SPHINXBUILD) -b gettext $(I18NSPHINXOPTS) $(BUILDDIR)/locale
3504- @echo
3505- @echo "Build finished. The message catalogs are in $(BUILDDIR)/locale."
3506-
3507-changes:
3508- $(SPHINXBUILD) -b changes $(ALLSPHINXOPTS) $(BUILDDIR)/changes
3509- @echo
3510- @echo "The overview file is in $(BUILDDIR)/changes."
3511-
3512-linkcheck:
3513- $(SPHINXBUILD) -b linkcheck $(ALLSPHINXOPTS) $(BUILDDIR)/linkcheck
3514- @echo
3515- @echo "Link check complete; look for any errors in the above output " \
3516- "or in $(BUILDDIR)/linkcheck/output.txt."
3517-
3518-doctest:
3519- $(SPHINXBUILD) -b doctest $(ALLSPHINXOPTS) $(BUILDDIR)/doctest
3520- @echo "Testing of doctests in the sources finished, look at the " \
3521- "results in $(BUILDDIR)/doctest/output.txt."
3522
3523=== removed directory 'users/_static'
3524=== removed file 'users/_static/openerp.png'
3525Binary files users/_static/openerp.png 2012-03-05 11:24:27 +0000 and users/_static/openerp.png 1970-01-01 00:00:00 +0000 differ
3526=== removed directory 'users/_templates'
3527=== removed file 'users/_templates/sidebarintro.html'
3528--- users/_templates/sidebarintro.html 2012-03-05 16:45:16 +0000
3529+++ users/_templates/sidebarintro.html 1970-01-01 00:00:00 +0000
3530@@ -1,21 +0,0 @@
3531-<h3>About</h3>
3532-
3533-<p>
3534-
3535-OpenERP is an extensive open source suite of business applications. It is built
3536-on a flexible development framework written in Python. The framework uses a
3537-three-tier architecture. It provides an ORM on top of PostgreSQL, a modular
3538-application server, and a feature-packed web client.
3539-
3540-</p>
3541-
3542-<h3>Other Docs</h3>
3543-<ul>
3544- <li><a href="http://doc.openerp.com/trunk/developers">OpenERP Developers Documentation</a></li>
3545-</ul>
3546-
3547-<h3>Useful Links</h3>
3548-<ul>
3549- <li><a href="http://www.openerp.com/">The OpenERP website</a></li>
3550- <li><a href="http://python.org/">The Python programming language</a></li>
3551-</ul>
3552
3553=== removed file 'users/_templates/sidebarlogo.html'
3554--- users/_templates/sidebarlogo.html 2012-03-05 11:24:27 +0000
3555+++ users/_templates/sidebarlogo.html 1970-01-01 00:00:00 +0000
3556@@ -1,3 +0,0 @@
3557-<p class="logo"><a href="{{ pathto(master_doc) }}">
3558- <img class="logo" src="{{ pathto('_static/openerp.png', 1) }}" alt="Logo"/>
3559-</a></p>
3560
3561=== removed directory 'users/_themes'
3562=== removed file 'users/_themes/.gitignore'
3563--- users/_themes/.gitignore 2012-03-05 11:24:27 +0000
3564+++ users/_themes/.gitignore 1970-01-01 00:00:00 +0000
3565@@ -1,3 +0,0 @@
3566-*.pyc
3567-*.pyo
3568-.DS_Store
3569
3570=== removed file 'users/_themes/LICENSE'
3571--- users/_themes/LICENSE 2012-03-05 11:24:27 +0000
3572+++ users/_themes/LICENSE 1970-01-01 00:00:00 +0000
3573@@ -1,37 +0,0 @@
3574-Copyright (c) 2010 by Armin Ronacher.
3575-
3576-Some rights reserved.
3577-
3578-Redistribution and use in source and binary forms of the theme, with or
3579-without modification, are permitted provided that the following conditions
3580-are met:
3581-
3582-* Redistributions of source code must retain the above copyright
3583- notice, this list of conditions and the following disclaimer.
3584-
3585-* Redistributions in binary form must reproduce the above
3586- copyright notice, this list of conditions and the following
3587- disclaimer in the documentation and/or other materials provided
3588- with the distribution.
3589-
3590-* The names of the contributors may not be used to endorse or
3591- promote products derived from this software without specific
3592- prior written permission.
3593-
3594-We kindly ask you to only use these themes in an unmodified manner just
3595-for Flask and Flask-related products, not for unrelated projects. If you
3596-like the visual style and want to use it for your own projects, please
3597-consider making some larger changes to the themes (such as changing
3598-font faces, sizes, colors or margins).
3599-
3600-THIS THEME IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
3601-AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
3602-IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
3603-ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
3604-LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
3605-CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
3606-SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
3607-INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
3608-CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
3609-ARISING IN ANY WAY OUT OF THE USE OF THIS THEME, EVEN IF ADVISED OF THE
3610-POSSIBILITY OF SUCH DAMAGE.
3611
3612=== removed file 'users/_themes/README'
3613--- users/_themes/README 2012-03-05 11:24:27 +0000
3614+++ users/_themes/README 1970-01-01 00:00:00 +0000
3615@@ -1,31 +0,0 @@
3616-Flask Sphinx Styles
3617-===================
3618-
3619-This repository contains sphinx styles for Flask and Flask related
3620-projects. To use this style in your Sphinx documentation, follow
3621-this guide:
3622-
3623-1. put this folder as _themes into your docs folder. Alternatively
3624- you can also use git submodules to check out the contents there.
3625-2. add this to your conf.py:
3626-
3627- sys.path.append(os.path.abspath('_themes'))
3628- html_theme_path = ['_themes']
3629- html_theme = 'flask'
3630-
3631-The following themes exist:
3632-
3633-- 'flask' - the standard flask documentation theme for large
3634- projects
3635-- 'flask_small' - small one-page theme. Intended to be used by
3636- very small addon libraries for flask.
3637-
3638-The following options exist for the flask_small theme:
3639-
3640- [options]
3641- index_logo = '' filename of a picture in _static
3642- to be used as replacement for the
3643- h1 in the index.rst file.
3644- index_logo_height = 120px height of the index logo
3645- github_fork = '' repository name on github for the
3646- "fork me" badge
3647
3648=== removed directory 'users/_themes/flask'
3649=== removed file 'users/_themes/flask/layout.html'
3650--- users/_themes/flask/layout.html 2012-03-05 11:24:27 +0000
3651+++ users/_themes/flask/layout.html 1970-01-01 00:00:00 +0000
3652@@ -1,25 +0,0 @@
3653-{%- extends "basic/layout.html" %}
3654-{%- block extrahead %}
3655- {{ super() }}
3656- {% if theme_touch_icon %}
3657- <link rel="apple-touch-icon" href="{{ pathto('_static/' ~ theme_touch_icon, 1) }}" />
3658- {% endif %}
3659- <link media="only screen and (max-device-width: 480px)" href="{{
3660- pathto('_static/small_flask.css', 1) }}" type= "text/css" rel="stylesheet" />
3661-{% endblock %}
3662-{%- block relbar2 %}{% endblock %}
3663-{% block header %}
3664- {{ super() }}
3665- {% if pagename == 'index' %}
3666- <div class=indexwrapper>
3667- {% endif %}
3668-{% endblock %}
3669-{%- block footer %}
3670- <div class="footer">
3671- &copy; Copyright {{ copyright }}
3672- Created using <a href="http://sphinx.pocoo.org/">Sphinx</a> and the <a href="https://github.com/mitsuhiko/flask-sphinx-themes">Flask theme</a>.
3673- </div>
3674- {% if pagename == 'index' %}
3675- </div>
3676- {% endif %}
3677-{%- endblock %}
3678
3679=== removed file 'users/_themes/flask/relations.html'
3680--- users/_themes/flask/relations.html 2012-03-05 11:24:27 +0000
3681+++ users/_themes/flask/relations.html 1970-01-01 00:00:00 +0000
3682@@ -1,19 +0,0 @@
3683-<h3>Related Topics</h3>
3684-<ul>
3685- <li><a href="{{ pathto(master_doc) }}">Documentation overview</a><ul>
3686- {%- for parent in parents %}
3687- <li><a href="{{ parent.link|e }}">{{ parent.title }}</a><ul>
3688- {%- endfor %}
3689- {%- if prev %}
3690- <li>Previous: <a href="{{ prev.link|e }}" title="{{ _('previous chapter')
3691- }}">{{ prev.title }}</a></li>
3692- {%- endif %}
3693- {%- if next %}
3694- <li>Next: <a href="{{ next.link|e }}" title="{{ _('next chapter')
3695- }}">{{ next.title }}</a></li>
3696- {%- endif %}
3697- {%- for parent in parents %}
3698- </ul></li>
3699- {%- endfor %}
3700- </ul></li>
3701-</ul>
3702
3703=== removed directory 'users/_themes/flask/static'
3704=== removed file 'users/_themes/flask/static/flasky.css_t'
3705--- users/_themes/flask/static/flasky.css_t 2012-03-05 11:24:27 +0000
3706+++ users/_themes/flask/static/flasky.css_t 1970-01-01 00:00:00 +0000
3707@@ -1,395 +0,0 @@
3708-/*
3709- * flasky.css_t
3710- * ~~~~~~~~~~~~
3711- *
3712- * :copyright: Copyright 2010 by Armin Ronacher.
3713- * :license: Flask Design License, see LICENSE for details.
3714- */
3715-
3716-{% set page_width = '1000px' %}
3717-{% set sidebar_width = '200px' %}
3718-
3719-@import url("basic.css");
3720-
3721-/* -- page layout ----------------------------------------------------------- */
3722-
3723-body {
3724- font-family: 'Georgia', serif;
3725- font-size: 17px;
3726- background-color: white;
3727- color: #000;
3728- margin: 0;
3729- padding: 0;
3730-}
3731-
3732-div.document {
3733- width: {{ page_width }};
3734- margin: 30px auto 0 auto;
3735-}
3736-
3737-div.documentwrapper {
3738- float: left;
3739- width: 100%;
3740-}
3741-
3742-div.bodywrapper {
3743- margin: 0 0 0 {{ sidebar_width }};
3744-}
3745-
3746-div.sphinxsidebar {
3747- width: {{ sidebar_width }};
3748-}
3749-
3750-hr {
3751- border: 1px solid #B1B4B6;
3752-}
3753-
3754-div.body {
3755- background-color: #ffffff;
3756- color: #3E4349;
3757- padding: 0 30px 0 30px;
3758-}
3759-
3760-img.floatingflask {
3761- padding: 0 0 10px 10px;
3762- float: right;
3763-}
3764-
3765-div.footer {
3766- width: {{ page_width }};
3767- margin: 20px auto 30px auto;
3768- font-size: 14px;
3769- color: #888;
3770- text-align: right;
3771-}
3772-
3773-div.footer a {
3774- color: #888;
3775-}
3776-
3777-div.related {
3778- display: none;
3779-}
3780-
3781-div.sphinxsidebar a {
3782- color: #444;
3783- text-decoration: none;
3784- border-bottom: 1px dotted #999;
3785-}
3786-
3787-div.sphinxsidebar a:hover {
3788- border-bottom: 1px solid #999;
3789-}
3790-
3791-div.sphinxsidebar {
3792- font-size: 14px;
3793- line-height: 1.5;
3794-}
3795-
3796-div.sphinxsidebarwrapper {
3797- padding: 18px 10px;
3798-}
3799-
3800-div.sphinxsidebarwrapper p.logo {
3801- padding: 0 0 20px 0;
3802- margin: 0;
3803- text-align: center;
3804-}
3805-
3806-div.sphinxsidebar h3,
3807-div.sphinxsidebar h4 {
3808- font-family: 'Garamond', 'Georgia', serif;
3809- color: #444;
3810- font-size: 24px;
3811- font-weight: normal;
3812- margin: 0 0 5px 0;
3813- padding: 0;
3814-}
3815-
3816-div.sphinxsidebar h4 {
3817- font-size: 20px;
3818-}
3819-
3820-div.sphinxsidebar h3 a {
3821- color: #444;
3822-}
3823-
3824-div.sphinxsidebar p.logo a,
3825-div.sphinxsidebar h3 a,
3826-div.sphinxsidebar p.logo a:hover,
3827-div.sphinxsidebar h3 a:hover {
3828- border: none;
3829-}
3830-
3831-div.sphinxsidebar p {
3832- color: #555;
3833- margin: 10px 0;
3834-}
3835-
3836-div.sphinxsidebar ul {
3837- margin: 10px 0;
3838- padding: 0;
3839- color: #000;
3840-}
3841-
3842-div.sphinxsidebar input {
3843- border: 1px solid #ccc;
3844- font-family: 'Georgia', serif;
3845- font-size: 1em;
3846-}
3847-
3848-/* -- body styles ----------------------------------------------------------- */
3849-
3850-a {
3851- color: #004B6B;
3852- text-decoration: underline;
3853-}
3854-
3855-a:hover {
3856- color: #6D4100;
3857- text-decoration: underline;
3858-}
3859-
3860-div.body h1,
3861-div.body h2,
3862-div.body h3,
3863-div.body h4,
3864-div.body h5,
3865-div.body h6 {
3866- font-family: 'Garamond', 'Georgia', serif;
3867- font-weight: normal;
3868- margin: 30px 0px 10px 0px;
3869- padding: 0;
3870-}
3871-
3872-{% if theme_index_logo %}
3873-div.indexwrapper h1 {
3874- text-indent: -999999px;
3875- background: url({{ theme_index_logo }}) no-repeat center center;
3876- height: {{ theme_index_logo_height }};
3877-}
3878-{% endif %}
3879-
3880-div.body h1 { margin-top: 0; padding-top: 0; font-size: 240%; }
3881-div.body h2 { font-size: 180%; }
3882-div.body h3 { font-size: 150%; }
3883-div.body h4 { font-size: 130%; }
3884-div.body h5 { font-size: 100%; }
3885-div.body h6 { font-size: 100%; }
3886-
3887-a.headerlink {
3888- color: #ddd;
3889- padding: 0 4px;
3890- text-decoration: none;
3891-}
3892-
3893-a.headerlink:hover {
3894- color: #444;
3895- background: #eaeaea;
3896-}
3897-
3898-div.body p, div.body dd, div.body li {
3899- line-height: 1.4em;
3900-}
3901-
3902-div.admonition {
3903- background: #fafafa;
3904- margin: 20px -30px;
3905- padding: 10px 30px;
3906- border-top: 1px solid #ccc;
3907- border-bottom: 1px solid #ccc;
3908-}
3909-
3910-div.admonition tt.xref, div.admonition a tt {
3911- border-bottom: 1px solid #fafafa;
3912-}
3913-
3914-dd div.admonition {
3915- margin-left: -60px;
3916- padding-left: 60px;
3917-}
3918-
3919-div.admonition p.admonition-title {
3920- font-family: 'Garamond', 'Georgia', serif;
3921- font-weight: normal;
3922- font-size: 24px;
3923- margin: 0 0 10px 0;
3924- padding: 0;
3925- line-height: 1;
3926-}
3927-
3928-div.admonition p.last {
3929- margin-bottom: 0;
3930-}
3931-
3932-div.highlight {
3933- background-color: white;
3934-}
3935-
3936-dt:target, .highlight {
3937- background: #FAF3E8;
3938-}
3939-
3940-div.note {
3941- background-color: #eee;
3942- border: 1px solid #ccc;
3943-}
3944-
3945-div.seealso {
3946- background-color: #ffc;
3947- border: 1px solid #ff6;
3948-}
3949-
3950-div.topic {
3951- background-color: #eee;
3952-}
3953-
3954-p.admonition-title {
3955- display: inline;
3956-}
3957-
3958-p.admonition-title:after {
3959- content: ":";
3960-}
3961-
3962-pre, tt {
3963- font-family: 'Consolas', 'Menlo', 'Deja Vu Sans Mono', 'Bitstream Vera Sans Mono', monospace;
3964- font-size: 0.9em;
3965-}
3966-
3967-img.screenshot {
3968-}
3969-
3970-tt.descname, tt.descclassname {
3971- font-size: 0.95em;
3972-}
3973-
3974-tt.descname {
3975- padding-right: 0.08em;
3976-}
3977-
3978-img.screenshot {
3979- -moz-box-shadow: 2px 2px 4px #eee;
3980- -webkit-box-shadow: 2px 2px 4px #eee;
3981- box-shadow: 2px 2px 4px #eee;
3982-}
3983-
3984-table.docutils {
3985- border: 1px solid #888;
3986- -moz-box-shadow: 2px 2px 4px #eee;
3987- -webkit-box-shadow: 2px 2px 4px #eee;
3988- box-shadow: 2px 2px 4px #eee;
3989-}
3990-
3991-table.docutils td, table.docutils th {
3992- border: 1px solid #888;
3993- padding: 0.25em 0.7em;
3994-}
3995-
3996-table.field-list, table.footnote {
3997- border: none;
3998- -moz-box-shadow: none;
3999- -webkit-box-shadow: none;
4000- box-shadow: none;
4001-}
4002-
4003-table.footnote {
4004- margin: 15px 0;
4005- width: 100%;
4006- border: 1px solid #eee;
4007- background: #fdfdfd;
4008- font-size: 0.9em;
4009-}
4010-
4011-table.footnote + table.footnote {
4012- margin-top: -15px;
4013- border-top: none;
4014-}
4015-
4016-table.field-list th {
4017- padding: 0 0.8em 0 0;
4018-}
4019-
4020-table.field-list td {
4021- padding: 0;
4022-}
4023-
4024-table.footnote td.label {
4025- width: 0px;
4026- padding: 0.3em 0 0.3em 0.5em;
4027-}
4028-
4029-table.footnote td {
4030- padding: 0.3em 0.5em;
4031-}
4032-
4033-dl {
4034- margin: 0;
4035- padding: 0;
4036-}
4037-
4038-dl dd {
4039- margin-left: 30px;
4040-}
4041-
4042-blockquote {
4043- margin: 0 0 0 30px;
4044- padding: 0;
4045-}
4046-
4047-ul, ol {
4048- margin: 10px 0 10px 30px;
4049- padding: 0;
4050-}
4051-
4052-pre {
4053- background: #eee;
4054- padding: 7px 30px;
4055- margin: 15px -30px;
4056- line-height: 1.3em;
4057-}
4058-
4059-dl pre, blockquote pre, li pre {
4060- margin-left: -60px;
4061- padding-left: 60px;
4062-}
4063-
4064-dl dl pre {
4065- margin-left: -90px;
4066- padding-left: 90px;
4067-}
4068-
4069-tt {
4070- background-color: #ecf0f3;
4071- color: #222;
4072- /* padding: 1px 2px; */
4073-}
4074-
4075-tt.xref, a tt {
4076- background-color: #FBFBFB;
4077- border-bottom: 1px solid white;
4078-}
4079-
4080-a.reference {
4081- text-decoration: none;
4082- border-bottom: 1px dotted #004B6B;
4083-}
4084-
4085-a.reference:hover {
4086- border-bottom: 1px solid #6D4100;
4087-}
4088-
4089-a.footnote-reference {
4090- text-decoration: none;
4091- font-size: 0.7em;
4092- vertical-align: top;
4093- border-bottom: 1px dotted #004B6B;
4094-}
4095-
4096-a.footnote-reference:hover {
4097- border-bottom: 1px solid #6D4100;
4098-}
4099-
4100-a:hover tt {
4101- background: #EEE;
4102-}
4103
4104=== removed file 'users/_themes/flask/static/small_flask.css'
4105--- users/_themes/flask/static/small_flask.css 2012-03-05 11:24:27 +0000
4106+++ users/_themes/flask/static/small_flask.css 1970-01-01 00:00:00 +0000
4107@@ -1,70 +0,0 @@
4108-/*
4109- * small_flask.css_t
4110- * ~~~~~~~~~~~~~~~~~
4111- *
4112- * :copyright: Copyright 2010 by Armin Ronacher.
4113- * :license: Flask Design License, see LICENSE for details.
4114- */
4115-
4116-body {
4117- margin: 0;
4118- padding: 20px 30px;
4119-}
4120-
4121-div.documentwrapper {
4122- float: none;
4123- background: white;
4124-}
4125-
4126-div.sphinxsidebar {
4127- display: block;
4128- float: none;
4129- width: 102.5%;
4130- margin: 50px -30px -20px -30px;
4131- padding: 10px 20px;
4132- background: #333;
4133- color: white;
4134-}
4135-
4136-div.sphinxsidebar h3, div.sphinxsidebar h4, div.sphinxsidebar p,
4137-div.sphinxsidebar h3 a {
4138- color: white;
4139-}
4140-
4141-div.sphinxsidebar a {
4142- color: #aaa;
4143-}
4144-
4145-div.sphinxsidebar p.logo {
4146- display: none;
4147-}
4148-
4149-div.document {
4150- width: 100%;
4151- margin: 0;
4152-}
4153-
4154-div.related {
4155- display: block;
4156- margin: 0;
4157- padding: 10px 0 20px 0;
4158-}
4159-
4160-div.related ul,
4161-div.related ul li {
4162- margin: 0;
4163- padding: 0;
4164-}
4165-
4166-div.footer {
4167- display: none;
4168-}
4169-
4170-div.bodywrapper {
4171- margin: 0;
4172-}
4173-
4174-div.body {
4175- min-height: 0;
4176- padding: 0;
4177-}
4178
4179=== removed file 'users/_themes/flask/theme.conf'
4180--- users/_themes/flask/theme.conf 2012-03-05 11:24:27 +0000
4181+++ users/_themes/flask/theme.conf 1970-01-01 00:00:00 +0000
4182@@ -1,9 +0,0 @@
4183-[theme]
4184-inherit = basic
4185-stylesheet = flasky.css
4186-pygments_style = flask_theme_support.FlaskyStyle
4187-
4188-[options]
4189-index_logo = ''
4190-index_logo_height = 120px
4191-touch_icon =
4192
4193=== removed directory 'users/_themes/flask_small'
4194=== removed file 'users/_themes/flask_small/layout.html'
4195--- users/_themes/flask_small/layout.html 2012-03-05 11:24:27 +0000
4196+++ users/_themes/flask_small/layout.html 1970-01-01 00:00:00 +0000
4197@@ -1,22 +0,0 @@
4198-{% extends "basic/layout.html" %}
4199-{% block header %}
4200- {{ super() }}
4201- {% if pagename == 'index' %}
4202- <div class=indexwrapper>
4203- {% endif %}
4204-{% endblock %}
4205-{% block footer %}
4206- {% if pagename == 'index' %}
4207- </div>
4208- {% endif %}
4209-{% endblock %}
4210-{# do not display relbars #}
4211-{% block relbar1 %}{% endblock %}
4212-{% block relbar2 %}
4213- {% if theme_github_fork %}
4214- <a href="http://github.com/{{ theme_github_fork }}"><img style="position: fixed; top: 0; right: 0; border: 0;"
4215- src="http://s3.amazonaws.com/github/ribbons/forkme_right_darkblue_121621.png" alt="Fork me on GitHub" /></a>
4216- {% endif %}
4217-{% endblock %}
4218-{% block sidebar1 %}{% endblock %}
4219-{% block sidebar2 %}{% endblock %}
4220
4221=== removed directory 'users/_themes/flask_small/static'
4222=== removed file 'users/_themes/flask_small/static/flasky.css_t'
4223--- users/_themes/flask_small/static/flasky.css_t 2012-03-05 11:24:27 +0000
4224+++ users/_themes/flask_small/static/flasky.css_t 1970-01-01 00:00:00 +0000
4225@@ -1,287 +0,0 @@
4226-/*
4227- * flasky.css_t
4228- * ~~~~~~~~~~~~
4229- *
4230- * Sphinx stylesheet -- flasky theme based on nature theme.
4231- *
4232- * :copyright: Copyright 2007-2010 by the Sphinx team, see AUTHORS.
4233- * :license: BSD, see LICENSE for details.
4234- *
4235- */
4236-
4237-@import url("basic.css");
4238-
4239-/* -- page layout ----------------------------------------------------------- */
4240-
4241-body {
4242- font-family: 'Georgia', serif;
4243- font-size: 17px;
4244- color: #000;
4245- background: white;
4246- margin: 0;
4247- padding: 0;
4248-}
4249-
4250-div.documentwrapper {
4251- float: left;
4252- width: 100%;
4253-}
4254-
4255-div.bodywrapper {
4256- margin: 40px auto 0 auto;
4257- width: 700px;
4258-}
4259-
4260-hr {
4261- border: 1px solid #B1B4B6;
4262-}
4263-
4264-div.body {
4265- background-color: #ffffff;
4266- color: #3E4349;
4267- padding: 0 30px 30px 30px;
4268-}
4269-
4270-img.floatingflask {
4271- padding: 0 0 10px 10px;
4272- float: right;
4273-}
4274-
4275-div.footer {
4276- text-align: right;
4277- color: #888;
4278- padding: 10px;
4279- font-size: 14px;
4280- width: 650px;
4281- margin: 0 auto 40px auto;
4282-}
4283-
4284-div.footer a {
4285- color: #888;
4286- text-decoration: underline;
4287-}
4288-
4289-div.related {
4290- line-height: 32px;
4291- color: #888;
4292-}
4293-
4294-div.related ul {
4295- padding: 0 0 0 10px;
4296-}
4297-
4298-div.related a {
4299- color: #444;
4300-}
4301-
4302-/* -- body styles ----------------------------------------------------------- */
4303-
4304-a {
4305- color: #004B6B;
4306- text-decoration: underline;
4307-}
4308-
4309-a:hover {
4310- color: #6D4100;
4311- text-decoration: underline;
4312-}
4313-
4314-div.body {
4315- padding-bottom: 40px; /* saved for footer */
4316-}
4317-
4318-div.body h1,
4319-div.body h2,
4320-div.body h3,
4321-div.body h4,
4322-div.body h5,
4323-div.body h6 {
4324- font-family: 'Garamond', 'Georgia', serif;
4325- font-weight: normal;
4326- margin: 30px 0px 10px 0px;
4327- padding: 0;
4328-}
4329-
4330-{% if theme_index_logo %}
4331-div.indexwrapper h1 {
4332- text-indent: -999999px;
4333- background: url({{ theme_index_logo }}) no-repeat center center;
4334- height: {{ theme_index_logo_height }};
4335-}
4336-{% endif %}
4337-
4338-div.body h2 { font-size: 180%; }
4339-div.body h3 { font-size: 150%; }
4340-div.body h4 { font-size: 130%; }
4341-div.body h5 { font-size: 100%; }
4342-div.body h6 { font-size: 100%; }
4343-
4344-a.headerlink {
4345- color: white;
4346- padding: 0 4px;
4347- text-decoration: none;
4348-}
4349-
4350-a.headerlink:hover {
4351- color: #444;
4352- background: #eaeaea;
4353-}
4354-
4355-div.body p, div.body dd, div.body li {
4356- line-height: 1.4em;
4357-}
4358-
4359-div.admonition {
4360- background: #fafafa;
4361- margin: 20px -30px;
4362- padding: 10px 30px;
4363- border-top: 1px solid #ccc;
4364- border-bottom: 1px solid #ccc;
4365-}
4366-
4367-div.admonition p.admonition-title {
4368- font-family: 'Garamond', 'Georgia', serif;
4369- font-weight: normal;
4370- font-size: 24px;
4371- margin: 0 0 10px 0;
4372- padding: 0;
4373- line-height: 1;
4374-}
4375-
4376-div.admonition p.last {
4377- margin-bottom: 0;
4378-}
4379-
4380-div.highlight{
4381- background-color: white;
4382-}
4383-
4384-dt:target, .highlight {
4385- background: #FAF3E8;
4386-}
4387-
4388-div.note {
4389- background-color: #eee;
4390- border: 1px solid #ccc;
4391-}
4392-
4393-div.seealso {
4394- background-color: #ffc;
4395- border: 1px solid #ff6;
4396-}
4397-
4398-div.topic {
4399- background-color: #eee;
4400-}
4401-
4402-div.warning {
4403- background-color: #ffe4e4;
4404- border: 1px solid #f66;
4405-}
4406-
4407-p.admonition-title {
4408- display: inline;
4409-}
4410-
4411-p.admonition-title:after {
4412- content: ":";
4413-}
4414-
4415-pre, tt {
4416- font-family: 'Consolas', 'Menlo', 'Deja Vu Sans Mono', 'Bitstream Vera Sans Mono', monospace;
4417- font-size: 0.85em;
4418-}
4419-
4420-img.screenshot {
4421-}
4422-
4423-tt.descname, tt.descclassname {
4424- font-size: 0.95em;
4425-}
4426-
4427-tt.descname {
4428- padding-right: 0.08em;
4429-}
4430-
4431-img.screenshot {
4432- -moz-box-shadow: 2px 2px 4px #eee;
4433- -webkit-box-shadow: 2px 2px 4px #eee;
4434- box-shadow: 2px 2px 4px #eee;
4435-}
4436-
4437-table.docutils {
4438- border: 1px solid #888;
4439- -moz-box-shadow: 2px 2px 4px #eee;
4440- -webkit-box-shadow: 2px 2px 4px #eee;
4441- box-shadow: 2px 2px 4px #eee;
4442-}
4443-
4444-table.docutils td, table.docutils th {
4445- border: 1px solid #888;
4446- padding: 0.25em 0.7em;
4447-}
4448-
4449-table.field-list, table.footnote {
4450- border: none;
4451- -moz-box-shadow: none;
4452- -webkit-box-shadow: none;
4453- box-shadow: none;
4454-}
4455-
4456-table.footnote {
4457- margin: 15px 0;
4458- width: 100%;
4459- border: 1px solid #eee;
4460-}
4461-
4462-table.field-list th {
4463- padding: 0 0.8em 0 0;
4464-}
4465-
4466-table.field-list td {
4467- padding: 0;
4468-}
4469-
4470-table.footnote td {
4471- padding: 0.5em;
4472-}
4473-
4474-dl {
4475- margin: 0;
4476- padding: 0;
4477-}
4478-
4479-dl dd {
4480- margin-left: 30px;
4481-}
4482-
4483-pre {
4484- padding: 0;
4485- margin: 15px -30px;
4486- padding: 8px;
4487- line-height: 1.3em;
4488- padding: 7px 30px;
4489- background: #eee;
4490- border-radius: 2px;
4491- -moz-border-radius: 2px;
4492- -webkit-border-radius: 2px;
4493-}
4494-
4495-dl pre {
4496- margin-left: -60px;
4497- padding-left: 60px;
4498-}
4499-
4500-tt {
4501- background-color: #ecf0f3;
4502- color: #222;
4503- /* padding: 1px 2px; */
4504-}
4505-
4506-tt.xref, a tt {
4507- background-color: #FBFBFB;
4508-}
4509-
4510-a:hover tt {
4511- background: #EEE;
4512-}
4513
4514=== removed file 'users/_themes/flask_small/theme.conf'
4515--- users/_themes/flask_small/theme.conf 2012-03-05 11:24:27 +0000
4516+++ users/_themes/flask_small/theme.conf 1970-01-01 00:00:00 +0000
4517@@ -1,10 +0,0 @@
4518-[theme]
4519-inherit = basic
4520-stylesheet = flasky.css
4521-nosidebar = true
4522-pygments_style = flask_theme_support.FlaskyStyle
4523-
4524-[options]
4525-index_logo = ''
4526-index_logo_height = 120px
4527-github_fork = ''
4528
4529=== removed file 'users/_themes/flask_theme_support.py'
4530--- users/_themes/flask_theme_support.py 2012-03-05 11:24:27 +0000
4531+++ users/_themes/flask_theme_support.py 1970-01-01 00:00:00 +0000
4532@@ -1,86 +0,0 @@
4533-# flasky extensions. flasky pygments style based on tango style
4534-from pygments.style import Style
4535-from pygments.token import Keyword, Name, Comment, String, Error, \
4536- Number, Operator, Generic, Whitespace, Punctuation, Other, Literal
4537-
4538-
4539-class FlaskyStyle(Style):
4540- background_color = "#f8f8f8"
4541- default_style = ""
4542-
4543- styles = {
4544- # No corresponding class for the following:
4545- #Text: "", # class: ''
4546- Whitespace: "underline #f8f8f8", # class: 'w'
4547- Error: "#a40000 border:#ef2929", # class: 'err'
4548- Other: "#000000", # class 'x'
4549-
4550- Comment: "italic #8f5902", # class: 'c'
4551- Comment.Preproc: "noitalic", # class: 'cp'
4552-
4553- Keyword: "bold #004461", # class: 'k'
4554- Keyword.Constant: "bold #004461", # class: 'kc'
4555- Keyword.Declaration: "bold #004461", # class: 'kd'
4556- Keyword.Namespace: "bold #004461", # class: 'kn'
4557- Keyword.Pseudo: "bold #004461", # class: 'kp'
4558- Keyword.Reserved: "bold #004461", # class: 'kr'
4559- Keyword.Type: "bold #004461", # class: 'kt'
4560-
4561- Operator: "#582800", # class: 'o'
4562- Operator.Word: "bold #004461", # class: 'ow' - like keywords
4563-
4564- Punctuation: "bold #000000", # class: 'p'
4565-
4566- # because special names such as Name.Class, Name.Function, etc.
4567- # are not recognized as such later in the parsing, we choose them
4568- # to look the same as ordinary variables.
4569- Name: "#000000", # class: 'n'
4570- Name.Attribute: "#c4a000", # class: 'na' - to be revised
4571- Name.Builtin: "#004461", # class: 'nb'
4572- Name.Builtin.Pseudo: "#3465a4", # class: 'bp'
4573- Name.Class: "#000000", # class: 'nc' - to be revised
4574- Name.Constant: "#000000", # class: 'no' - to be revised
4575- Name.Decorator: "#888", # class: 'nd' - to be revised
4576- Name.Entity: "#ce5c00", # class: 'ni'
4577- Name.Exception: "bold #cc0000", # class: 'ne'
4578- Name.Function: "#000000", # class: 'nf'
4579- Name.Property: "#000000", # class: 'py'
4580- Name.Label: "#f57900", # class: 'nl'
4581- Name.Namespace: "#000000", # class: 'nn' - to be revised
4582- Name.Other: "#000000", # class: 'nx'
4583- Name.Tag: "bold #004461", # class: 'nt' - like a keyword
4584- Name.Variable: "#000000", # class: 'nv' - to be revised
4585- Name.Variable.Class: "#000000", # class: 'vc' - to be revised
4586- Name.Variable.Global: "#000000", # class: 'vg' - to be revised
4587- Name.Variable.Instance: "#000000", # class: 'vi' - to be revised
4588-
4589- Number: "#990000", # class: 'm'
4590-
4591- Literal: "#000000", # class: 'l'
4592- Literal.Date: "#000000", # class: 'ld'
4593-
4594- String: "#4e9a06", # class: 's'
4595- String.Backtick: "#4e9a06", # class: 'sb'
4596- String.Char: "#4e9a06", # class: 'sc'
4597- String.Doc: "italic #8f5902", # class: 'sd' - like a comment
4598- String.Double: "#4e9a06", # class: 's2'
4599- String.Escape: "#4e9a06", # class: 'se'
4600- String.Heredoc: "#4e9a06", # class: 'sh'
4601- String.Interpol: "#4e9a06", # class: 'si'
4602- String.Other: "#4e9a06", # class: 'sx'
4603- String.Regex: "#4e9a06", # class: 'sr'
4604- String.Single: "#4e9a06", # class: 's1'
4605- String.Symbol: "#4e9a06", # class: 'ss'
4606-
4607- Generic: "#000000", # class: 'g'
4608- Generic.Deleted: "#a40000", # class: 'gd'
4609- Generic.Emph: "italic #000000", # class: 'ge'
4610- Generic.Error: "#ef2929", # class: 'gr'
4611- Generic.Heading: "bold #000080", # class: 'gh'
4612- Generic.Inserted: "#00A000", # class: 'gi'
4613- Generic.Output: "#888", # class: 'go'
4614- Generic.Prompt: "#745334", # class: 'gp'
4615- Generic.Strong: "bold #000000", # class: 'gs'
4616- Generic.Subheading: "bold #800080", # class: 'gu'
4617- Generic.Traceback: "bold #a40000", # class: 'gt'
4618- }
4619
4620=== removed file 'users/accounting.rst'
4621--- users/accounting.rst 2012-02-29 14:08:42 +0000
4622+++ users/accounting.rst 1970-01-01 00:00:00 +0000
4623@@ -1,2 +0,0 @@
4624-Accounting
4625-==========
4626
4627=== removed file 'users/conf.py'
4628--- users/conf.py 2012-03-05 11:24:27 +0000
4629+++ users/conf.py 1970-01-01 00:00:00 +0000
4630@@ -1,255 +0,0 @@
4631-# -*- coding: utf-8 -*-
4632-#
4633-# OpenERP Technical Documentation configuration file, created by
4634-# sphinx-quickstart on Fri Feb 17 16:14:06 2012.
4635-#
4636-# This file is execfile()d with the current directory set to its containing dir.
4637-#
4638-# Note that not all possible configuration values are present in this
4639-# autogenerated file.
4640-#
4641-# All configuration values have a default; values that are commented out
4642-# serve to show the default.
4643-
4644-import sys, os
4645-
4646-# If extensions (or modules to document with autodoc) are in another directory,
4647-# add these directories to sys.path here. If the directory is relative to the
4648-# documentation root, use os.path.abspath to make it absolute, like shown here.
4649-#sys.path.insert(0, os.path.abspath('.'))
4650-sys.path.append(os.path.abspath('_themes'))
4651-
4652-# -- General configuration -----------------------------------------------------
4653-
4654-# If your documentation needs a minimal Sphinx version, state it here.
4655-#needs_sphinx = '1.0'
4656-
4657-# Add any Sphinx extension module names here, as strings. They can be extensions
4658-# coming with Sphinx (named 'sphinx.ext.*') or your custom ones.
4659-extensions = ['sphinx.ext.autodoc', 'sphinx.ext.intersphinx', 'sphinx.ext.todo', 'sphinx.ext.viewcode']
4660-
4661-# Add any paths that contain templates here, relative to this directory.
4662-templates_path = ['_templates']
4663-
4664-# The suffix of source filenames.
4665-source_suffix = '.rst'
4666-
4667-# The encoding of source files.
4668-#source_encoding = 'utf-8-sig'
4669-
4670-# The master toctree document.
4671-master_doc = 'index'
4672-
4673-# General information about the project.
4674-project = u'OpenERP Technical Documentation'
4675-copyright = u'2012, OpenERP s.a.'
4676-
4677-# The version info for the project you're documenting, acts as replacement for
4678-# |version| and |release|, also used in various other places throughout the
4679-# built documents.
4680-#
4681-# The short X.Y version.
4682-version = '0.0'
4683-# The full version, including alpha/beta/rc tags.
4684-release = '0.0'
4685-
4686-# The language for content autogenerated by Sphinx. Refer to documentation
4687-# for a list of supported languages.
4688-#language = None
4689-
4690-# There are two options for replacing |today|: either, you set today to some
4691-# non-false value, then it is used:
4692-#today = ''
4693-# Else, today_fmt is used as the format for a strftime call.
4694-#today_fmt = '%B %d, %Y'
4695-
4696-# List of patterns, relative to source directory, that match files and
4697-# directories to ignore when looking for source files.
4698-exclude_patterns = ['_build']
4699-
4700-# The reST default role (used for this markup: `text`) to use for all documents.
4701-#default_role = None
4702-
4703-# If true, '()' will be appended to :func: etc. cross-reference text.
4704-#add_function_parentheses = True
4705-
4706-# If true, the current module name will be prepended to all description
4707-# unit titles (such as .. function::).
4708-#add_module_names = True
4709-
4710-# If true, sectionauthor and moduleauthor directives will be shown in the
4711-# output. They are ignored by default.
4712-#show_authors = False
4713-
4714-# The name of the Pygments (syntax highlighting) style to use.
4715-pygments_style = 'sphinx'
4716-
4717-# A list of ignored prefixes for module index sorting.
4718-#modindex_common_prefix = []
4719-
4720-
4721-# -- Options for HTML output ---------------------------------------------------
4722-
4723-# The theme to use for HTML and HTML Help pages. See the documentation for
4724-# a list of builtin themes.
4725-html_theme = 'flask'
4726-
4727-# Theme options are theme-specific and customize the look and feel of a theme
4728-# further. For a list of options available for each theme, see the
4729-# documentation.
4730-html_theme_options = {
4731- "nosidebar": False,
4732-}
4733-
4734-# Add any paths that contain custom themes here, relative to this directory.
4735-html_theme_path = ['_themes']
4736-
4737-# The name for this set of Sphinx documents. If None, it defaults to
4738-# "<project> v<release> documentation".
4739-#html_title = None
4740-
4741-# A shorter title for the navigation bar. Default is the same as html_title.
4742-#html_short_title = None
4743-
4744-# The name of an image file (relative to this directory) to place at the top
4745-# of the sidebar.
4746-#html_logo = None
4747-
4748-# The name of an image file (within the static path) to use as favicon of the
4749-# docs. This file should be a Windows icon file (.ico) being 16x16 or 32x32
4750-# pixels large.
4751-#html_favicon = None
4752-
4753-# Add any paths that contain custom static files (such as style sheets) here,
4754-# relative to this directory. They are copied after the builtin static files,
4755-# so a file named "default.css" will overwrite the builtin "default.css".
4756-html_static_path = ['_static']
4757-
4758-# If not '', a 'Last updated on:' timestamp is inserted at every page bottom,
4759-# using the given strftime format.
4760-#html_last_updated_fmt = '%b %d, %Y'
4761-
4762-# If true, SmartyPants will be used to convert quotes and dashes to
4763-# typographically correct entities.
4764-#html_use_smartypants = True
4765-
4766-# Custom sidebar templates, maps document names to template names.
4767-html_sidebars = {
4768- 'index': ['sidebarintro.html', 'sourcelink.html', 'searchbox.html'],
4769- '**': ['sidebarlogo.html', 'localtoc.html', 'relations.html',
4770- 'sourcelink.html', 'searchbox.html']
4771-}
4772-
4773-# Additional templates that should be rendered to pages, maps page names to
4774-# template names.
4775-#html_additional_pages = {}
4776-
4777-# If false, no module index is generated.
4778-#html_domain_indices = True
4779-
4780-# If false, no index is generated.
4781-#html_use_index = True
4782-
4783-# If true, the index is split into individual pages for each letter.
4784-#html_split_index = False
4785-
4786-# If true, links to the reST sources are added to the pages.
4787-#html_show_sourcelink = True
4788-
4789-# If true, "Created using Sphinx" is shown in the HTML footer. Default is True.
4790-#html_show_sphinx = True
4791-
4792-# If true, "(C) Copyright ..." is shown in the HTML footer. Default is True.
4793-#html_show_copyright = True
4794-
4795-# If true, an OpenSearch description file will be output, and all pages will
4796-# contain a <link> tag referring to it. The value of this option must be the
4797-# base URL from which the finished HTML is served.
4798-#html_use_opensearch = ''
4799-
4800-# This is the file name suffix for HTML files (e.g. ".xhtml").
4801-#html_file_suffix = None
4802-
4803-# Output file base name for HTML help builder.
4804-htmlhelp_basename = 'openerp-technical-documentation-doc'
4805-
4806-
4807-# -- Options for LaTeX output --------------------------------------------------
4808-
4809-latex_elements = {
4810-# The paper size ('letterpaper' or 'a4paper').
4811-#'papersize': 'letterpaper',
4812-
4813-# The font size ('10pt', '11pt' or '12pt').
4814-#'pointsize': '10pt',
4815-
4816-# Additional stuff for the LaTeX preamble.
4817-#'preamble': '',
4818-}
4819-
4820-# Grouping the document tree into LaTeX files. List of tuples
4821-# (source start file, target name, title, author, documentclass [howto/manual]).
4822-latex_documents = [
4823- ('index', 'openerp-technical-documentation.tex', u'OpenERP Technical Documentation',
4824- u'OpenERP s.a.', 'manual'),
4825-]
4826-
4827-# The name of an image file (relative to this directory) to place at the top of
4828-# the title page.
4829-#latex_logo = None
4830-
4831-# For "manual" documents, if this is true, then toplevel headings are parts,
4832-# not chapters.
4833-#latex_use_parts = False
4834-
4835-# If true, show page references after internal links.
4836-#latex_show_pagerefs = False
4837-
4838-# If true, show URL addresses after external links.
4839-#latex_show_urls = False
4840-
4841-# Documents to append as an appendix to all manuals.
4842-#latex_appendices = []
4843-
4844-# If false, no module index is generated.
4845-#latex_domain_indices = True
4846-
4847-
4848-# -- Options for manual page output --------------------------------------------
4849-
4850-# One entry per manual page. List of tuples
4851-# (source start file, name, description, authors, manual section).
4852-man_pages = [
4853- ('index', 'openerp-technical-documentation', u'OpenERP Technical Documentation',
4854- [u'OpenERP s.a.'], 1)
4855-]
4856-
4857-# If true, show URL addresses after external links.
4858-#man_show_urls = False
4859-
4860-
4861-# -- Options for Texinfo output ------------------------------------------------
4862-
4863-# Grouping the document tree into Texinfo files. List of tuples
4864-# (source start file, target name, title, author,
4865-# dir menu entry, description, category)
4866-texinfo_documents = [
4867- ('index', 'OpenERPTechnicalDocumentation', u'OpenERP Technical Documentation',
4868- u'OpenERP s.a.', 'OpenERPTechnicalDocumentation', 'One line description of project.',
4869- 'Miscellaneous'),
4870-]
4871-
4872-# Documents to append as an appendix to all manuals.
4873-#texinfo_appendices = []
4874-
4875-# If false, no module index is generated.
4876-#texinfo_domain_indices = True
4877-
4878-# How to display URL addresses: 'footnote', 'no', or 'inline'.
4879-#texinfo_show_urls = 'footnote'
4880-
4881-
4882-# Example configuration for intersphinx: refer to the Python standard library.
4883-intersphinx_mapping = {
4884- 'http://docs.python.org/': None,
4885- }
4886
4887=== removed file 'users/index.rst'
4888--- users/index.rst 2012-03-05 11:24:27 +0000
4889+++ users/index.rst 1970-01-01 00:00:00 +0000
4890@@ -1,7 +0,0 @@
4891-
4892-.. _users:
4893-
4894-OpenERP User Documentation
4895-==========================
4896-
4897-.. include:: users.rst.inc
4898
4899=== removed file 'users/sale.rst'
4900--- users/sale.rst 2012-02-29 14:08:42 +0000
4901+++ users/sale.rst 1970-01-01 00:00:00 +0000
4902@@ -1,2 +0,0 @@
4903-Sale
4904-====
4905
4906=== removed file 'users/tutorial.rst'
4907--- users/tutorial.rst 2012-02-29 14:08:42 +0000
4908+++ users/tutorial.rst 1970-01-01 00:00:00 +0000
4909@@ -1,4 +0,0 @@
4910-.. _Tutorial:
4911-
4912-Tutorial
4913-========
4914
4915=== removed file 'users/users.rst.inc'
4916--- users/users.rst.inc 2012-03-05 13:07:32 +0000
4917+++ users/users.rst.inc 1970-01-01 00:00:00 +0000
4918@@ -1,1 +0,0 @@
4919-

Subscribers

People subscribed via source and target branches