[GRASS-SVN] r66560 - grass/branches/releasebranch_7_0/lib/python/docs

svn_grass at osgeo.org svn_grass at osgeo.org
Wed Oct 21 06:16:29 PDT 2015


Author: neteler
Date: 2015-10-21 06:16:29 -0700 (Wed, 21 Oct 2015)
New Revision: 66560

Modified:
   grass/branches/releasebranch_7_0/lib/python/docs/Makefile
   grass/branches/releasebranch_7_0/lib/python/docs/conf.py
Log:
sphinx Python lib docs: fix language definition for 'make libpythonlatexpdf'

Modified: grass/branches/releasebranch_7_0/lib/python/docs/Makefile
===================================================================
--- grass/branches/releasebranch_7_0/lib/python/docs/Makefile	2015-10-21 13:15:14 UTC (rev 66559)
+++ grass/branches/releasebranch_7_0/lib/python/docs/Makefile	2015-10-21 13:16:29 UTC (rev 66560)
@@ -89,6 +89,8 @@
 	@echo
 	@echo "Build finished. The epub file is in $(BUILDDIR)/epub/"
 
+# requires: 
+#  texlive-titlesec texlive-framed texlive-threeparttable texlive-wrapfig texlive-upquote texlive-multirow
 libpythonlatex:
 	@echo "SPHINXBUILD: Using <$(SPHINXBUILD)>"
 	$(call run_grass,$(SPHINXBUILD) -b latex $(ALLSPHINXOPTS) $(BUILDDIR)/latex)

Modified: grass/branches/releasebranch_7_0/lib/python/docs/conf.py
===================================================================
--- grass/branches/releasebranch_7_0/lib/python/docs/conf.py	2015-10-21 13:15:14 UTC (rev 66559)
+++ grass/branches/releasebranch_7_0/lib/python/docs/conf.py	2015-10-21 13:16:29 UTC (rev 66560)
@@ -94,7 +94,8 @@
 
 # The language for content autogenerated by Sphinx. Refer to documentation
 # for a list of supported languages.
-language = 'python'
+# http://sphinx-doc.org/config.html#options-for-internationalization
+language = 'en'
 
 # There are two options for replacing |today|: either, you set today to some
 # non-false value, then it is used:
@@ -233,7 +234,7 @@
 # (source start file, target name, title,
 #  author, documentclass [howto, manual, or own class]).
 latex_documents = [
-  ('index', 'PythonLib.tex', u'Python Librart Documentation',
+  ('index', 'PythonLib.tex', u'Python Library Documentation',
    u'GRASS Development Team', 'manual'),
 ]
 



More information about the grass-commit mailing list