Example for Bash and GRASS-GIS repository
export repo=grass-gis
-
Download GIT repositories:
git clone [email protected]:GISMentors/sphinx-template.git git clone [email protected]:GISMentors/${repo}.git
-
Copy selected files from
_static
directorymkdir ${repo}/_static cp sphinx-template/_static/bgtop.png \ sphinx-template/_static/bgfooter.png \ sphinx-template/_static/gismentors.css \ ${repo}/_static
-
Copy
conf.py
andMakefile
cp sphinx-template/conf.py sphinx-template/Makefile ${repo}
-
Optionaly modify background images (
bgtop.png
andbgfooter.png
) in<repo>
-
Optionaly modify
gismentors.css
in<repo>
-
Modify
conf.py
in<repo>
-
Goto to
<repo>
, add index.rst and buildcd ${repo} echo "Test" > index.rst make html
- youtube
- vimeo
- notegrass6
- notecmd
- noteadvanced
QGIS Icons:
cd ~/src/QGIS/images/themes/default
for f in *.svg; do
inkscape --export-png=$HOME/git/gismentors/sphinx-template/_static/icons/qgis/${f%%.svg}.png $f ;
done