Skip to content

Commit 438f19c

Browse files
committed
Merge branch '2015' into master in preparation for start of 2015 winter iteration
2 parents 5459388 + f546bc5 commit 438f19c

File tree

183 files changed

+3606
-12160
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

183 files changed

+3606
-12160
lines changed

.gitignore

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,3 +38,6 @@ development
3838
*.db
3939
*.sublime-project
4040
*.sublime-workspace
41+
.mr.developer.cfg
42+
outline_improvements.txt
43+
src

Makefile

Lines changed: 36 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -3,10 +3,15 @@
33

44
# You can set these variables from the command line.
55
SPHINXOPTS =
6-
SPHINXBUILD = sphinx-build
6+
SPHINXBUILD = ./bin/sphinx-build
77
PAPER =
88
BUILDDIR = build
99

10+
# User-friendly check for sphinx-build
11+
ifeq ($(shell which $(SPHINXBUILD) >/dev/null 2>&1; echo $$?), 1)
12+
$(error The '$(SPHINXBUILD)' command was not found. Make sure you have Sphinx installed, then set the SPHINXBUILD environment variable to point to the full path of the '$(SPHINXBUILD)' executable. Alternatively you can add the directory with the executable to your PATH. If you don't have Sphinx installed, grab it from http://sphinx-doc.org/)
13+
endif
14+
1015
# Internal variables.
1116
PAPEROPT_a4 = -D latex_paper_size=a4
1217
PAPEROPT_letter = -D latex_paper_size=letter
@@ -29,17 +34,20 @@ help:
2934
@echo " epub to make an epub"
3035
@echo " latex to make LaTeX files, you can set PAPER=a4 or PAPER=letter"
3136
@echo " latexpdf to make LaTeX files and run them through pdflatex"
37+
@echo " latexpdfja to make LaTeX files and run them through platex/dvipdfmx"
3238
@echo " text to make text files"
3339
@echo " man to make manual pages"
3440
@echo " texinfo to make Texinfo files"
3541
@echo " info to make Texinfo files and run them through makeinfo"
3642
@echo " gettext to make PO message catalogs"
3743
@echo " changes to make an overview of all changed/added/deprecated items"
44+
@echo " xml to make Docutils-native XML files"
45+
@echo " pseudoxml to make pseudoxml-XML files for display purposes"
3846
@echo " linkcheck to check all external links for integrity"
3947
@echo " doctest to run all doctests embedded in the documentation (if enabled)"
4048

4149
clean:
42-
-rm -rf $(BUILDDIR)/*
50+
rm -rf $(BUILDDIR)/*
4351

4452
html:
4553
$(SPHINXBUILD) -b html $(ALLSPHINXOPTS) $(BUILDDIR)/html
@@ -77,17 +85,17 @@ qthelp:
7785
@echo
7886
@echo "Build finished; now you can run "qcollectiongenerator" with the" \
7987
".qhcp project file in $(BUILDDIR)/qthelp, like this:"
80-
@echo "# qcollectiongenerator $(BUILDDIR)/qthelp/InternetProgrammingwithPython.qhcp"
88+
@echo "# qcollectiongenerator $(BUILDDIR)/qthelp/PythonWebProgramming.qhcp"
8189
@echo "To view the help file:"
82-
@echo "# assistant -collectionFile $(BUILDDIR)/qthelp/InternetProgrammingwithPython.qhc"
90+
@echo "# assistant -collectionFile $(BUILDDIR)/qthelp/PythonWebProgramming.qhc"
8391

8492
devhelp:
8593
$(SPHINXBUILD) -b devhelp $(ALLSPHINXOPTS) $(BUILDDIR)/devhelp
8694
@echo
8795
@echo "Build finished."
8896
@echo "To view the help file:"
89-
@echo "# mkdir -p $$HOME/.local/share/devhelp/InternetProgrammingwithPython"
90-
@echo "# ln -s $(BUILDDIR)/devhelp $$HOME/.local/share/devhelp/InternetProgrammingwithPython"
97+
@echo "# mkdir -p $$HOME/.local/share/devhelp/PythonWebProgramming"
98+
@echo "# ln -s $(BUILDDIR)/devhelp $$HOME/.local/share/devhelp/PythonWebProgramming"
9199
@echo "# devhelp"
92100

93101
epub:
@@ -108,6 +116,12 @@ latexpdf:
108116
$(MAKE) -C $(BUILDDIR)/latex all-pdf
109117
@echo "pdflatex finished; the PDF files are in $(BUILDDIR)/latex."
110118

119+
latexpdfja:
120+
$(SPHINXBUILD) -b latex $(ALLSPHINXOPTS) $(BUILDDIR)/latex
121+
@echo "Running LaTeX files through platex and dvipdfmx..."
122+
$(MAKE) -C $(BUILDDIR)/latex all-pdf-ja
123+
@echo "pdflatex finished; the PDF files are in $(BUILDDIR)/latex."
124+
111125
text:
112126
$(SPHINXBUILD) -b text $(ALLSPHINXOPTS) $(BUILDDIR)/text
113127
@echo
@@ -151,3 +165,19 @@ doctest:
151165
$(SPHINXBUILD) -b doctest $(ALLSPHINXOPTS) $(BUILDDIR)/doctest
152166
@echo "Testing of doctests in the sources finished, look at the " \
153167
"results in $(BUILDDIR)/doctest/output.txt."
168+
169+
xml:
170+
$(SPHINXBUILD) -b xml $(ALLSPHINXOPTS) $(BUILDDIR)/xml
171+
@echo
172+
@echo "Build finished. The XML files are in $(BUILDDIR)/xml."
173+
174+
pseudoxml:
175+
$(SPHINXBUILD) -b pseudoxml $(ALLSPHINXOPTS) $(BUILDDIR)/pseudoxml
176+
@echo
177+
@echo "Build finished. The pseudo-XML files are in $(BUILDDIR)/pseudoxml."
178+
179+
180+
slides:
181+
$(SPHINXBUILD) -b slides $(ALLSPHINXOPTS) $(BUILDDIR)/slides
182+
@echo "Build finished. The HTML slides are in $(BUILDDIR)/slides."
183+

README.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,9 +10,9 @@ This package provides the source for all lecture materials used for the
1010
`Internet Programming in Python`_ section of the `Certificate in Python
1111
Programming`_ offered by the `University of Washington Professional &
1212
Continuing Education`_ program. This version of the documentation is used for
13-
the Winter 2014 instance of the course, Taught by `Cris Ewing`_
13+
the Winter 2015 instance of the course, Taught by `Cris Ewing`_
1414

15-
.. _Internet Programming in Python: http://www.pce.uw.edu/courses/internet-programming-python/downtown-seattle-winter-2014/
15+
.. _Internet Programming in Python: http://www.pce.uw.edu/courses/internet-programming-python/downtown-seattle-winter-2015/
1616
.. _Certificate in Python Programming: http://www.pce.uw.edu/certificates/python-programming.html
1717
.. _University of Washington Professional & Continuing Education: http://www.pce.uw.edu/
1818
.. _Cris Ewing: http://www.linkedin.com/profile/view?id=19741495

buildout.cfg

Lines changed: 15 additions & 49 deletions
Original file line numberDiff line numberDiff line change
@@ -2,13 +2,13 @@
22
# Buildout to set-up Sphinx
33
#
44
[buildout]
5-
parts =
6-
# venv
7-
# venv-pygments
8-
build_s5
9-
executable
5+
parts =
106
sphinx
117

8+
extensions = mr.developer
9+
auto-checkout = *
10+
always-checkout = force
11+
1212
allow-picked-versions = true
1313
show-picked-versions = true
1414

@@ -18,55 +18,23 @@ script-in = ${buildout:directory}/commands/build.in
1818

1919
[sphinx]
2020
recipe = collective.recipe.sphinxbuilder
21-
#doc-directory = .
22-
outputs =
21+
outputs =
2322
html
2423
source = ${buildout:directory}/source/main
2524
build = ${buildout:directory}/build
2625
eggs =
2726
Sphinx
2827
docutils
29-
roman
3028
Pygments
31-
32-
[venv]
33-
recipe = rjm.recipe.venv
34-
venv_options = --no-site-packages
35-
distutils_urls =
36-
http://pypi.python.org/packages/source/d/docutils/docutils-0.9.1.tar.gz
37-
38-
[build_s5]
39-
recipe = collective.recipe.template[genshi]:genshi
40-
input = ${buildout:script-in}
41-
output = ${buildout:directory}/bin/build_s5
42-
build-suffix = html
43-
build-directory = ${buildout:directory}/build/html/presentations
44-
build-cmd = ${buildout:directory}/bin/rst2s5.py
45-
46-
[executable]
47-
recipe = collective.recipe.cmd
48-
on_install = true
49-
on_update = true
50-
cmds =
51-
chmod 744 ${build_s5:output}
52-
53-
# manually install Pygments into the docutils venv so it will be there for
54-
# colorizing slide code examples.
55-
[venv-pygments]
56-
recipe = collective.recipe.cmd
57-
on_install = true
58-
on_update = false
59-
cmds =
60-
${buildout:directory}/bin/easy_install Pygments
61-
29+
hieroglyph
30+
ipython
6231

6332
[versions]
6433
# pin versions for continued sanity
65-
Jinja2 = 2.6
34+
Jinja2 = 2.7.2
6635
Pygments = 1.6
67-
Sphinx = 1.1.3
68-
collective.recipe.sphinxbuilder = 0.7.1
69-
roman = 1.4.0
36+
Sphinx = 1.2.2
37+
collective.recipe.sphinxbuilder = 0.8.2
7038

7139
#Required by:
7240
#collective.recipe.sphinxbuilder 0.7.1
@@ -80,12 +48,10 @@ zc.buildout = 1.5.2
8048
#collective.recipe.sphinxbuilder 0.7.1
8149
zc.recipe.egg = 1.3.2
8250

83-
Genshi = 0.6
84-
collective.recipe.cmd = 0.5
85-
collective.recipe.template = 1.9
86-
rjm.recipe.venv = 0.8
87-
88-
8951
#Required by:
9052
#rjm.recipe.venv 0.8
9153
virtualenv = 1.10
54+
55+
56+
[sources]
57+
hieroglyph = git https://github.com/nyergler/hieroglyph.git

commands/build.in

Lines changed: 0 additions & 14 deletions
This file was deleted.

0 commit comments

Comments
 (0)