#!/usr/bin/env python
# -*- coding: utf-8 -*-
# utilities for generating HTML indices
# (c) The GRASS Development Team, Markus Neteler, Glynn Clements 2003, 2004, 2005, 2006, 2009, 2010
import sys
import os
import string
## TODO: better fix this in include/Make/Html.make, see bug RT #5361
# exclude following list of modules from help index:
exclude_mods = [
"i.find",
"r.watershed.ram",
"r.watershed.seg",
"v.topo.check",
"helptext.html"]
# these modules don't use G_parser()
desc_override = {
"g.parser": "Provides automated parser, GUI, and help support for GRASS scipts.",
"r.li.daemon": "Support module for r.li landscape index calculations."
}
############################################################################
header1_tmpl = string.Template(\
r"""
Geographic Resources Analysis Support System, commonly
referred to as GRASS, is a Geographic
Information System (GIS) used for geospatial data management and
analysis, image processing, graphics/maps production, spatial
modeling, and visualization. GRASS is currently used in academic and
commercial settings around the world, as well as by many governmental
agencies and environmental consulting companies.
This reference manual details the use of modules distributed with
Geographic Resources Analysis Support System (GRASS), an open source
(GNU GPLed), image
processing and geographic information system (GIS).