Преглед изворни кода

sphinx Python lib docs: fix language definition for 'make libpythonlatexpdf'

git-svn-id: https://svn.osgeo.org/grass/grass/trunk@66559 15284696-431f-4ddb-bdfa-cd5b030d7da7
Markus Neteler пре 9 година
родитељ
комит
5bed64bcb4
2 измењених фајлова са 5 додато и 2 уклоњено
  1. 2 0
      lib/python/docs/Makefile
  2. 3 2
      lib/python/docs/conf.py

+ 2 - 0
lib/python/docs/Makefile

@@ -91,6 +91,8 @@ libpythonepub:
 	@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)

+ 3 - 2
lib/python/docs/conf.py

@@ -95,7 +95,8 @@ copyright = u'2014, GRASS Development Team'
 
 # 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:
@@ -234,7 +235,7 @@ latex_elements = {
 # (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'),
 ]