Skip to content

Commit

Permalink
checkpoint on rst conversion.
Browse files Browse the repository at this point in the history
  • Loading branch information
jamadden committed Jan 12, 2017
1 parent 71f8260 commit fe294ae
Show file tree
Hide file tree
Showing 3 changed files with 492 additions and 545 deletions.
1 change: 1 addition & 0 deletions .gitignore
Expand Up @@ -8,3 +8,4 @@ bin/
develop-eggs/
eggs/
parts/
doc/_build
60 changes: 15 additions & 45 deletions doc/Makefile
@@ -1,50 +1,20 @@
##############################################################################
# Minimal makefile for Sphinx documentation
#
# Copyright (c) 2002, 2003 Zope Corporation and Contributors.
# All Rights Reserved.
#
# This software is subject to the provisions of the Zope Public License,
# Version 2.1 (ZPL). A copy of the ZPL should accompany this distribution.
# THIS SOFTWARE IS PROVIDED "AS IS" AND ANY AND ALL EXPRESS OR IMPLIED
# WARRANTIES ARE DISCLAIMED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
# WARRANTIES OF TITLE, MERCHANTABILITY, AGAINST INFRINGEMENT, AND FITNESS
# FOR A PARTICULAR PURPOSE.
#
##############################################################################

# Rules to convert the documentation to a single PDF file.
#
# PostScript, HTML, and plain text output are also supported, though
# PDF is the default.
#
# See the README.txt file for information on the mkhowto program used
# to generate the formatted versions of the documentation.

.PHONY: default all html pdf ps text

default: pdf
all: html pdf ps text

html: zconfig/zconfig.html
pdf: zconfig.pdf
ps: zconfig.ps
text: zconfig.txt

zconfig/zconfig.html: zconfig.tex schema.dtd xmlmarkup.perl
mkhowto --html $<

zconfig.pdf: zconfig.tex schema.dtd xmlmarkup.sty
mkhowto --pdf $<

zconfig.ps: zconfig.tex schema.dtd xmlmarkup.sty
mkhowto --postscript $<
# You can set these variables from the command line.
SPHINXOPTS =
SPHINXBUILD = sphinx-build
SPHINXPROJ = ZConfig
SOURCEDIR = .
BUILDDIR = _build

zconfig.txt: zconfig.tex schema.dtd xmlmarkup.sty
mkhowto --text $<
# Put it first so that "make" without argument is like "make help".
help:
@$(SPHINXBUILD) -M help "$(SOURCEDIR)" "$(BUILDDIR)" $(SPHINXOPTS) $(O)

clean:
rm -f zconfig.l2h zconfig.l2h~
.PHONY: help Makefile

clobber: clean
rm -f zconfig.pdf zconfig.ps zconfig.txt
rm -rf zconfig
# Catch-all target: route all unknown targets to Sphinx using the new
# "make mode" option. $(O) is meant as a shortcut for $(SPHINXOPTS).
%: Makefile
@$(SPHINXBUILD) -M $@ "$(SOURCEDIR)" "$(BUILDDIR)" $(SPHINXOPTS) $(O)

0 comments on commit fe294ae

Please sign in to comment.