Skip to content

Commit

Permalink
Merge branch 'movedocs'
Browse files Browse the repository at this point in the history
* movedocs:
  WIP - look for comment to see where I was
  break out 'Schedulers' section, add indices for each section
  move 'Change Sources' under 'Configuration'
  Support building docs in both split and full HTML
  add pointer to API docs
  split documentation into per-chapter files
  • Loading branch information
Dustin J. Mitchell committed Feb 15, 2010
2 parents 4401e13 + abb32cf commit 06e2b0e
Show file tree
Hide file tree
Showing 15 changed files with 9,232 additions and 9,493 deletions.
4 changes: 4 additions & 0 deletions .gitignore
Expand Up @@ -27,6 +27,10 @@ docs/images/status.png
.project
.pydevproject
.settings
docs/buildbot
docs/version.texinfo
docs/docs.tgz
docs/latest
twisted/plugins/dropin.cache
.coverage
coverage-html
15 changes: 14 additions & 1 deletion docs/Makefile
@@ -1,17 +1,30 @@
all: docs.tgz

VERSION=$(shell python -c 'g = {}; execfile("../buildbot/__init__.py",g); print g["version"]')

buildbot.info: buildbot.texinfo
echo "@set VERSION $(VERSION)" > version.texinfo
makeinfo --fill-column=70 $<

buildbot.html: buildbot.texinfo images-png
echo "@set VERSION $(VERSION)" > version.texinfo
makeinfo --no-split --html $<

docs.tgz: buildbot.html images-png
echo "@set VERSION $(VERSION)" > version.texinfo
rm -rf $(VERSION)
makeinfo --html --output $(VERSION) buildbot.texinfo
cp buildbot.html $(VERSION)/full.html
tar -zcf $@ $(VERSION)

buildbot.ps: buildbot.texinfo images-eps
echo "@set VERSION $(VERSION)" > version.texinfo
rm -rf buildbot
texi2dvi $<
dvips buildbot.dvi
rm buildbot.aux buildbot.cp buildbot.cps buildbot.fn buildbot.ky buildbot.log buildbot.pg buildbot.toc buildbot.tp buildbot.vr
rm buildbot.dvi


.PHONY: images images-png images-eps
images:
$(MAKE) -C images all
Expand Down

0 comments on commit 06e2b0e

Please sign in to comment.