Changes between Version 13 and Version 14 of Submitting/Python


Ignore:
Timestamp:
07/19/15 10:17:49 (9 years ago)
Author:
wenzeslaus
Comment:

fix syntax

Legend:

Unmodified
Added
Removed
Modified
  • Submitting/Python

    v13 v14  
    99=== GRASS module ===
    1010
    11 Instructions for the GRASS script parser can be found in the g.parser
     11Instructions for the GRASS script parser can be found in the
     12[http://grass.osgeo.org/grass70/manuals/g.parser.html g.parser]
    1213module's help page.
    13 http://grass.osgeo.org/grass70/manuals/g.parser.html
    1414
    1515Use the directory structure to place your script appropriately into
    1616the source tree: scripts go into `scripts` directory.
    1717
    18 Also add a Makefile and a <module>.html file into this directory.
     18Also add a `Makefile` and a `<module>.html` file into this directory.
    1919See existing Python scripts for examples.
    2020
     
    2424programmers that will need to make changes to your code. For this
    2525purpose use Python Docstring, see
    26 http://epydoc.sourceforge.net/docstrings.html
    27 
    28 Example (fictitious header for a script called g.myscript):
    29 
    30 {{{
    31 !python
     26http://epydoc.sourceforge.net/docstrings.html.
     27
     28Example (fictitious header for a script called ''g.myscript''):
     29
     30{{{
     31#!python
    3232"""
    3333MODULE:    g.myscript
     
    4545}}}
    4646
    47 The copyright protects your rights according to GNU General Public License (www.gnu.org).
     47The copyright protects your rights according to GNU General Public License (http://www.gnu.org/licenses/).
    4848
    4949You can easily autogenerate the header and parameters from an existing
    50 module using the --script flag. Example:
     50module using the `--script` flag. Example:
    5151
    5252{{{