[GRASS-git] [OSGeo/grass] 0a5097: doc: Use gs as alias for grass.script in doc (#282)
Vaclav Petras
noreply at github.com
Mon Sep 14 20:46:17 PDT 2020
Branch: refs/heads/master
Home: https://github.com/OSGeo/grass
Commit: 0a5097cd0e53f3df8285a3bef68b43e8050d273e
https://github.com/OSGeo/grass/commit/0a5097cd0e53f3df8285a3bef68b43e8050d273e
Author: Vaclav Petras <wenzeslaus at gmail.com>
Date: 2020-09-14 (Mon, 14 Sep 2020)
Changed paths:
M display/displaydrivers.html
M doc/python/README
M doc/python/m.distance.py
M doc/python/script/r.example.py
M docker/testdata/test_grass_session.py
M general/g.parser/g.parser.html
M general/g.parser/test.py
M gui/wxpython/gui_core/pyedit.py
M gui/wxpython/lmgr/pyshell.py
M lib/gis/parser_script.c
M lib/init/grass7.html
M lib/python/docs/src/index.rst
M lib/python/docs/src/script_intro.rst
M lib/python/docs/src/temporal_framework.rst
M lib/python/script/array.py
M lib/python/script/core.py
M lib/python/script/setup.py
M lib/python/script/testsuite/test_script_raster.py
M lib/python/temporal/space_time_datasets.py
M raster/r.in.lidar/r.in.lidar.html
M raster/r.solute.transport/example.py
M raster/r.solute.transport/r.solute.transport.html
M scripts/g.extension/testsuite/data/sample_modules/r.plus.example/r.plus.example.py
Log Message:
-----------
doc: Use gs as alias for grass.script in doc (#282)
Both grass and gscript aliases (import grass.script as ...) were replaced by gs
which is shorter but actually refering to grass.script.
Changes documentation (.html and .rst), examples (files, wxGUI/pyedit),
and how grass.script is accessible in GUI Python shell (wxGUI/pyshell).
Does not change any of the 'live' source code which uses mixture of
import grass.script as grass
and
import grass.script as gscript
Also touches on couple places to clarify references to grass.script
and to GRASS GIS in general.
More information about the grass-commit
mailing list