[mapserver-commits] r9706 - trunk/docs

svn at osgeo.org svn at osgeo.org
Mon Jan 18 12:45:44 EST 2010


Author: hobu
Date: 2010-01-18 12:45:44 -0500 (Mon, 18 Jan 2010)
New Revision: 9706

Modified:
   trunk/docs/Makefile
   trunk/docs/conf.py
Log:
ePub support

Modified: trunk/docs/Makefile
===================================================================
--- trunk/docs/Makefile	2010-01-18 14:44:37 UTC (rev 9705)
+++ trunk/docs/Makefile	2010-01-18 17:45:44 UTC (rev 9706)
@@ -47,6 +47,14 @@
 	@echo
 	@echo "Build finished. The HTML pages are in $(BUILDDIR)/html/<language>.";\
 
+singlehtml:
+	@for lang in $(LANGUAGES);\
+	do \
+		mkdir -p $(BUILDDIR)/singlehtml/$$lang $(BUILDDIR)/doctrees/$$lang; \
+		$(SPHINXBUILD) -b singlehtml $(ALLSPHINXOPTS) $$lang $(BUILDDIR)/singlehtml/$$lang;\
+	done
+	@echo
+	@echo "Build finished. The HTML pages are in $(BUILDDIR)/singlehtml/<language>.";\
 
 pickle:
 	@for lang in $(LANGUAGES);\
@@ -98,6 +106,15 @@
 	@echo "Build finished; the PDF files are in $(BUILDDIR)/pdf/<language>."\
 	@echo "Run \`make pdf' "
 
+epub:
+	@for lang in $(LANGUAGES);\
+	do \
+		mkdir -p $(BUILDDIR)/epub/$$lang $(BUILDDIR)/doctrees/$$lang; \
+		$(SPHINXBUILD) -b epub $(ALLSPHINXOPTS) $$lang $(BUILDDIR)/epub/$$lang;\
+	done
+	@echo
+	@echo "Build finished; the epub files are in $(BUILDDIR)/epub/<language>."\
+	@echo "Run \`make epub' "
 
 all-pdf:
 	@for lang in $(LANGUAGES);\

Modified: trunk/docs/conf.py
===================================================================
--- trunk/docs/conf.py	2010-01-18 14:44:37 UTC (rev 9705)
+++ trunk/docs/conf.py	2010-01-18 17:45:44 UTC (rev 9706)
@@ -220,6 +220,40 @@
 # If false, no coverpage is generated.
 #pdf_use_coverpage = True 
 
+
+# -- Options for Epub output ---------------------------------------------------
+
+# Bibliographic Dublin Core info.
+epub_title = 'MapServer Documentation'
+epub_author = 'Steve Lime'
+epub_publisher = 'http://mapserver.org'
+epub_copyright = copyright
+
+# The language of the text. It defaults to the language option
+# or en if the language is not set.
+#epub_language = ''
+
+# The scheme of the identifier. Typical schemes are ISBN or URL.
+epub_scheme = 'URL'
+
+# The unique identifier of the text. This can be a ISBN number
+# or the project homepage.
+epub_identifier = 'http://mapserver.org'
+
+# A unique identification for the text.
+#epub_uid = ''
+
+# HTML files that should be inserted before the pages created by sphinx.
+# The format is a list of tuples containing the path and title.
+#epub_pre_files = []
+
+# HTML files shat should be inserted after the pages created by sphinx.
+# The format is a list of tuples containing the path and title.
+#epub_post_files = []
+
+# A list of files that should not be packed into the epub file.
+#epub_exclude_files = []
+
 from pygments.lexer import RegexLexer, bygroups,combined, include
 from pygments.token import *
 from pygments import highlight



More information about the mapserver-commits mailing list