Changeset 5
- Timestamp:
- 09/30/15 10:26:55 (9 years ago)
- Location:
- trunk/docs/manual
- Files:
-
- 4 added
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/docs/manual/source/conf.py
r2 r5 39 39 'sphinx.ext.ifconfig', 40 40 'sphinx.ext.viewcode', 41 'sphinx.ext.graphviz', 42 'sphinxcontrib.blockdiag', 41 43 ] 42 44 45 # Enable debug mode of blockdiag. 46 blockdiag_debug = True 43 47 # Add any paths that contain templates here, relative to this directory. 44 48 templates_path = ['_templates'] … … 124 128 # The theme to use for HTML and HTML Help pages. See the documentation for 125 129 # a list of builtin themes. 126 html_theme = ' alabaster'130 html_theme = 'sphinxdoc' 127 131 128 132 # Theme options are theme-specific and customize the look and feel of a theme … … 371 375 372 376 # Example configuration for intersphinx: refer to the Python standard library. 373 intersphinx_mapping = {'https://docs.python.org/ ': None}377 intersphinx_mapping = {'https://docs.python.org/2': None} -
trunk/docs/manual/source/developers/guides/typo.rst
r3 r5 8 8 9 9 They use dictionaries providing natural langages list of words. 10 11 Here is the flow 12 13 .. blockdiag:: typo_blockdiag.dot 10 14 11 15 Missing words in dictionaries … … 83 87 done 84 88 cat ${PROJECT_LOG}/pyigcmg_doc_var.txt >> ${nontypo} 85 sort - -ignore-case -u ${nontypo} > ${nontypo_uniq}89 sort -u ${nontypo} > ${nontypo_uniq} 86 90 87 91 Check typo in Python files … … 99 103 --reports=n \ 100 104 ${listf} | grep "Wrong spelling" | awk -F: '{print $3}' | \ 101 sort - -ignore-case -u > ${PROJECT_LOG}/typo105 sort -u > ${PROJECT_LOG}/typo 102 106 103 107 .. todo:: … … 122 126 .. tip:: 123 127 124 To see the path of existing default dict onaries of :command:`hunspell` :128 To see the path of existing default dictionaries of :command:`hunspell` : 125 129 126 130 .. code-block:: bash … … 167 171 hunspell -d en_US,nontypo_uniq --check-url -i utf-8 -l < ${onefile} >> ${hunspell_out} 168 172 done 169 sort - -ignore-case -u ${hunspell_out} > ${hunspell_uniq_out}173 sort -u ${hunspell_out} > ${hunspell_uniq_out} 170 174 171 175 .. todo:: … … 190 194 191 195 Until :ref:`tracwiki_migration` is not achieved, we have to check typo in 192 HTML files produced by trac on the <http://forge.ipsl.jussieu.fr/igcmg_doc/wiki/>_ 193 194 To get all wiki Doc* pages URI of http://forge.ipsl.jussieu.fr/igcmg_doc/ : 195 196 .. code-block:: bash 197 198 list_uri=$(xsltproc \-\-novalid ${PROJECT}/docs/manual/for_tracwiki/titleindex.xsl http://forge.ipsl.jussieu.fr/igcmg_doc/wiki/TitleIndex | \ 199 grep "/igcmg_doc/wiki/Doc" | sort -u | \ 196 HTML files produced by trac on the `<http://forge.ipsl.jussieu.fr/igcmg_doc/wiki/>`_ 197 198 By convention, it has been decided to start all |igcmg_doc| pages names by ``Doc``. 199 200 To get all wiki Doc* pages URI of `<http://forge.ipsl.jussieu.fr/igcmg_doc/>`_ [#tracoops]_: 201 202 .. code-block:: bash 203 204 excluded_uri=DocYgraphvizLibigcmprod 205 list_uri=$(xsltproc \-\-novalid \ 206 ${PROJECT}/docs/manual/for_tracwiki/titleindex.xsl http://forge.ipsl.jussieu.fr/igcmg_doc/wiki/TitleIndex | \ 207 grep "/igcmg_doc/wiki/Doc" | grep -v ${excluded_uri} |sort -u | \ 200 208 sed -e "s@^@http://forge.ipsl.jussieu.fr/@") 201 209 202 To download those URI localy: 210 .. [#tracoops] we exclude DocYgraphvizLibigcmprod because Trac detected an internal error ... some graphviz trac plugins issue 211 212 To download those URI locally: 203 213 204 214 .. code-block:: bash … … 224 234 hunspell -d en_US,nontypo_uniq --check-url -i utf-8 -l < ${onefile} >> ${hunspell_out} 225 235 done 226 sort - -ignore-case -u ${hunspell_out} > ${hunspell_uniq_out}236 sort -u ${hunspell_out} > ${hunspell_uniq_out} 227 237 228 238 To find one of the wrong spelling in downloaded HTML pages: -
trunk/docs/manual/source/index.rst
r2 r5 12 12 :maxdepth: 2 13 13 14 .. graphviz:: ../for_figs/libigcmprod.dot 15 14 16 Indices and tables 15 17 ==================
Note: See TracChangeset
for help on using the changeset viewer.