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