Changeset 6 for trunk/docs/manual/source/developers
- Timestamp:
- 09/30/15 15:00:09 (9 years ago)
- Location:
- trunk/docs/manual/source/developers/guides
- Files:
-
- 1 added
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/docs/manual/source/developers/guides/index.rst
r2 r6 2 2 |igcmg_doc| developers guides 3 3 ============================= 4 5 |igcmg_doc| developers are |igcmg_doc| authors. 4 6 5 7 .. toctree:: -
trunk/docs/manual/source/developers/guides/typo.rst
r5 r6 1 .. _typo: 2 1 3 ==== 2 4 Typo … … 32 34 +++++++++++++++++++++++++++ 33 35 36 .. note:: 37 38 this work was done in PAGO project. not yet useful here 39 34 40 :py:mod:`prog_var_francoise.py` is a way to build the dictionary "python 35 41 variables". 36 37 Assuming IGCMG_DOC is in :file:`$HOME/igcmg_doc_ws/` and38 :file:`$HOME/igcmg_doc_ws/docs/manual/` is39 in your :envvar:`PATH` or :envvar:`PYTHONPATH`40 41 Assuming :envvar:`PROJECT` is set to :file:`$HOME/igcmg_doc_ws/`.42 43 .. code-block:: bash44 45 PROJECT=$HOME/igcmg_doc_ws/46 export PROJECT47 PYTHONPATH=$PROJECT/docs/manual/:$PYTHONPATH48 export PYTHONPATH49 PATH=$PROJECT/docs/manual/:$PATH50 export PATH51 52 .. todo::53 54 assuming and definition of :envvar:`PROJECT` is not only needed here55 42 56 43 .. code-block:: bash … … 89 76 sort -u ${nontypo} > ${nontypo_uniq} 90 77 78 .. note:: 79 80 no ${PROJECT_LOG}/pyigcmg_doc_var.txt here 81 91 82 Check typo in Python files 92 83 ========================== … … 94 85 .. code-block:: bash 95 86 96 PROJECT_LOG=${HOME}/log/ # as an example97 export PROJECT_LOG98 87 listf=$(find ${PROJECT} -name "*.py") 99 88 pylint --disable=all \ … … 146 135 sed "1i ${linecount}" ${nontypo_uniq} > ${nontypo_uniq_dic} 147 136 148 .. warning:: sed vs gsed149 150 On mac, :command:`sed` might have to be replaced by :command:`gsed`151 152 137 Associated :file:`nontypo_uniq.aff` file already exist in 153 138 ${PROJECT}/docs/manual/for_typo:
Note: See TracChangeset
for help on using the changeset viewer.