Changeset 69588


Ignore:
Timestamp:
Sep 27, 2016, 12:59:11 PM (8 years ago)
Author:
wenzeslaus
Message:

doc: keyword name is miscellaneous, so use it for the page as well

Parser (print_escaped_for_html_keywords()) just writes the keyword names
but the file was called misc and the keyword miscellaneous.

This makes the URL or index name harder to type manually
but it makes (first) keyword links work (for m.* modules)
and it makes the titles and link texts Miscellaneous instead
of Misc.

Location:
grass/trunk
Files:
9 edited
1 moved

Legend:

Unmodified
Added
Removed
  • grass/trunk/man/Makefile

    r66300 r69588  
    1818        g:general \
    1919        i:imagery \
    20         m:misc \
     20        m:miscellaneous \
    2121        ps:postscript \
    2222        r:raster \
  • grass/trunk/man/build_class.py

    r69585 r69588  
    1111
    1212
    13 no_intro_page_classes = ['display', 'general', 'misc', 'postscript']
     13no_intro_page_classes = ['display', 'general', 'miscellaneous', 'postscript']
    1414
    1515os.chdir(html_dir)
  • grass/trunk/man/build_class_graphical.py

    r66113 r69588  
    139139    output.write(header_graphical_index_tmpl)
    140140
    141     if module_family.lower() not in ['general', 'misc', 'postscript']:
     141    if module_family.lower() not in ['general', 'miscellaneous', 'postscript']:
    142142        if module_family == 'raster3d':
    143143            # covert keyword to nice form
     
    211211        ('g', 'general'),
    212212        ('i', 'imagery'),
    213         ('m', 'misc'),
     213        ('m', 'miscellaneous'),
    214214        ('ps', 'postscript'),
    215215        ('r', 'raster'),
  • grass/trunk/man/build_class_rest.py

    r52833 r69588  
    2323
    2424write_rest_header(f, "GRASS GIS %s Reference Manual: %s" % (grass_version, modclass))
    25 if modclass.lower() not in ['general', 'misc', 'postscript']:
     25if modclass.lower() not in ['general', 'miscellaneous', 'postscript']:
    2626    f.write(modclass_intro_tmpl.substitute(modclass = modclass, modclass_lower = modclass.lower()))
    2727f.write(modclass_tmpl.substitute(modclass = modclass))
  • grass/trunk/man/build_graphical_index.py

    r68886 r69588  
    9999    ('raster3d_graphical.html', std_img_name('raster3d'), '3D raster'),
    100100    ('temporal_graphical.html', std_img_name('temporal'), 'Temporal'),
    101     ('misc_graphical.html', std_img_name('misc'), 'Miscellaneous'),
     101    ('miscellaneous_graphical.html', std_img_name('miscellaneous'), 'Miscellaneous'),
    102102    ('postscript_graphical.html', std_img_name('cartography'), 'Cartography'),
    103103    ('wxGUI_graphical.html', std_img_name('gui'), 'GUI'),
  • grass/trunk/man/build_html.py

    r68459 r69588  
    174174      <td width="33%" valign="top" class="box"><h3>&nbsp;Miscellaneous&nbsp;&amp;&nbsp;Variables</h3>
    175175       <ul>
    176         <li class="box"><a href="misc.html">Miscellaneous commands manual</a></li>
     176        <li class="box"><a href="miscellaneous.html">Miscellaneous commands manual</a></li>
    177177        <li class="box"><a href="variables.html">GRASS variables and environment variables</a></li>
    178178       </ul>
  • grass/trunk/man/build_rest.py

    r67468 r69588  
    140140    :maxdepth: 1
    141141   
    142         Miscellaneous commands manual <misc>
     142        Miscellaneous commands manual <miscellaneous>
    143143        GRASS variables and environment variables <variables>
    144144
  • grass/trunk/tools/mkhtml.py

    r69587 r69588  
    259259    'g' : 'general',
    260260    'i' : 'imagery',
    261     'm' : 'misc',
     261    'm' : 'miscellaneous',
    262262    'ps': 'postscript',
    263263    'p' : 'paint',
     
    270270
    271271
    272 # TODO: special code for ps/postscript/PostScirpt and m/misc/Miscellaneous
     272# TODO: special code for ps/postscript/PostScirpt
    273273def to_title(name):
    274274    """Convert name of command class/family to form suitable for title"""
  • grass/trunk/tools/mkrest.py

    r68366 r69588  
    100100    'g': 'general',
    101101    'i': 'imagery',
    102     'm': 'misc',
     102    'm': 'miscellaneous',
    103103    'ps': 'postscript',
    104104    'p': 'paint',
Note: See TracChangeset for help on using the changeset viewer.