[GRASS-dev] [GRASS GIS] #3986: Some manual pages lack links to GitHub source

#3986: Some manual pages lack links to GitHub source
-------------------------+---------------------------------
Reporter: jidanni | Owner: grass-dev@…
     Type: enhancement | Status: new
Priority: trivial | Milestone:
Component: Docs | Version: git-releasebranch78
Keywords: | CPU: Unspecified
Platform: Unspecified |
-------------------------+---------------------------------
Pages like
- https://grass.osgeo.org/grass78/manuals/g.gisenv.html
have a link at the bottom to
- https://github.com/OSGeo/grass/tree/master/general/g.gisenv

Alas, pages like
- https://grass.osgeo.org/grass78/manuals/variables.html
lack a link at the bottom to
- https://github.com/OSGeo/grass/blob/master/lib/init/variables.html
or perhaps to .../tree/master/...

--
Ticket URL: <https://trac.osgeo.org/grass/ticket/3986&gt;
GRASS GIS <https://grass.osgeo.org>

#3986: Some manual pages lack links to GitHub source
--------------------------+---------------------------------
  Reporter: jidanni | Owner: grass-dev@…
      Type: enhancement | Status: new
  Priority: trivial | Milestone:
Component: Docs | Version: git-releasebranch78
Resolution: | Keywords:
       CPU: Unspecified | Platform: Unspecified
--------------------------+---------------------------------

Comment (by jidanni):

E.g.,
- https://grass.osgeo.org/grass78/manuals/grass7.html lacks link to
- https://github.com/OSGeo/grass/blob/master/lib/init/grass7.html

--
Ticket URL: <https://trac.osgeo.org/grass/ticket/3986#comment:1&gt;
GRASS GIS <https://grass.osgeo.org>

#3986: Some manual pages lack links to GitHub source
--------------------------+---------------------------------
  Reporter: jidanni | Owner: grass-dev@…
      Type: enhancement | Status: new
  Priority: trivial | Milestone: 8.0.0
Component: Docs | Version: git-releasebranch78
Resolution: | Keywords: code footer
       CPU: Unspecified | Platform: Unspecified
--------------------------+---------------------------------
Changes (by wenzeslaus):

* keywords: => code footer
* milestone: => 8.0.0

Comment:

Right, this is done only for modules. The link is really not to the HTML
but to the source code of corresponding module. Source code for a module
is a directory with source code (one or more files) and HTML documentation
(and a Makefile).

The grass7.html page has a corresponding source code which is either
[https://github.com/OSGeo/grass/blob/master/lib/init/grass.py grass.py] or
the [https://github.com/OSGeo/grass/blob/master/lib/init/grass.py
lib/init] directory.

However, some pages do not have any specific source code associated with
them. I don't see where variables.html should point to.

Perhaps creating a list of those which are missing and what should be
linked there would be helpful. I think we will need to go back and forth
to figure out if there is something or not or if there is some general
rule like for the modules.

--
Ticket URL: <https://trac.osgeo.org/grass/ticket/3986#comment:2&gt;
GRASS GIS <https://grass.osgeo.org>