I tried this patch out and it does work and generates html docs with events on the Window class page. But there is also a clone of the HG repo dealing with Sphinx conversion here: http://code.google.com/r/chardster-sphinx-docs/source/list
Does anybody know if we should use Txema or not? -Winston On Jun 17, 2012, at 5:19 PM, Txema Vicente wrote: > This patch works fine: > http://code.nabla.net/doc/pyglet/pyglet_sphinx_patch.zip > > Should we skip pyglet.gl.gl* ? > > > txema@negro:~$ hg clone https://code.google.com/p/pyglet > destination directory: pyglet > requesting all changes > adding changesets > adding manifests > adding file changes > added 2648 changesets with 8447 changes to 2160 files (+11 heads) > updating working directory > 1227 files updated, 0 files merged, 0 files removed, 0 files unresolved > txema@negro:~$ wget http://code.nabla.net/doc/pyglet/pyglet_sphinx_patch.zip > > 100%[======================================>] 49.989 66,7K/s en 0,7s > > 2012-06-18 02:00:27 (66,7 KB/s) - «pyglet_sphinx_patch.zip» guardado > [49989/49989] > > txema@negro:~$ unzip pyglet_sphinx_patch.zip > Archive: pyglet_sphinx_patch.zip > inflating: pyglet/doc/conf.py > creating: pyglet/doc/ext/ > creating: pyglet/doc/ext/autosummary/ > inflating: pyglet/doc/ext/autosummary/generate.py > inflating: pyglet/doc/ext/autosummary/__init__.py > extracting: pyglet/doc/ext/__init__.py > inflating: pyglet/doc/go.bat > inflating: pyglet/doc/index.txt > inflating: pyglet/doc/make.bat > inflating: pyglet/doc/Makefile > inflating: pyglet/doc/programming_guide/index.txt > inflating: pyglet/doc/pyglet_api.txt > creating: pyglet/doc/_static/ > inflating: pyglet/doc/_static/default.css > inflating: pyglet/doc/_static/favicon.ico > inflating: pyglet/doc/_static/logo.png > creating: pyglet/doc/_templates/ > inflating: pyglet/doc/_templates/base.rst > inflating: pyglet/doc/_templates/class.rst > inflating: pyglet/doc/_templates/exception.rst > inflating: pyglet/doc/_templates/module.rst > inflating: pyglet/pyglet/__init__.py > txema@negro:~$ cd pyglet/doc > txema@negro:~/pyglet/doc$ make html > sphinx-build -b html -d _build/doctrees . _build/html > Making output directory... > Running Sphinx v1.1.3 > Generating pyglet 1.2dev Documentation > loading pickled environment... not yet created > [autosummary] generating autosummary for: index.txt, ... > building [html]: targets for 27 source files that are out of date > updating environment: 1034 added, 0 changed, 0 removed > reading sources... [100%] pyglet_api > /home/txema/pyglet/doc/internal/dist.txt:10: ERROR: Unexpected indentation. > /home/txema/pyglet/doc/programming_guide/graphics.txt:32: ERROR: Unknown > target name: "opengl programming guide". > /home/txema/pyglet/doc/programming_guide/input.txt:105: WARNING: Inline > interpreted text or phrase reference start-string without end-string. > looking for now-outdated files... none found > pickling environment... done > checking consistency... done > preparing documents... done > writing output... [100%] pyglet_api > writing additional files... genindex py-modindex search > copying images... [100%] programming_guide/text_classes.svg > copying static files... done > dumping search index... done > dumping object inventory... done > build succeeded, 3 warnings. > > Build finished. The HTML pages are in _build/html. > > -- > You received this message because you are subscribed to the Google Groups > "pyglet-users" group. > To post to this group, send email to [email protected]. > To unsubscribe from this group, send email to > [email protected]. > For more options, visit this group at > http://groups.google.com/group/pyglet-users?hl=en. -- You received this message because you are subscribed to the Google Groups "pyglet-users" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/pyglet-users?hl=en.
