Commit Graph

936 Commits

Author SHA1 Message Date
Georg Brandl
c80dc58ac1 Rename "object" to "pyobject" and document it. 2008-12-30 15:45:02 +01:00
Georg Brandl
ddee927c46 Add "object" option to literalinclude directive. 2008-12-30 15:41:21 +01:00
Georg Brandl
ed60ae4118 * Add a tag-finding method based on tokens.
* Don't parse immediately if tokenizing suffices.
* Also cache by file name.
2008-12-30 12:42:26 +01:00
Georg Brandl
08148a42d1 Move docstring processing to an util module. 2008-12-30 02:37:20 +01:00
Georg Brandl
0fb89a8e87 Ignore .so files. 2008-12-30 02:37:01 +01:00
Georg Brandl
28829fa9d5 Also find attribute docs in the "other" style: docstrings after the
assignment.
2008-12-30 02:26:47 +01:00
Georg Brandl
83cf763804 First iteration of an autodoc that handles attribute documentation. 2008-12-30 02:09:29 +01:00
Georg Brandl
0edeba7acb Move benchmark into __main__ block. 2008-12-30 01:32:01 +01:00
Georg Brandl
eb7d654cb0 Some speedups in pytree.
Add Cython parse.py replacement, yielding a 2x speedup in parsing.
2008-12-30 01:29:49 +01:00
Georg Brandl
eb66f15544 Ignore grammar pickle files. 2008-12-29 22:30:41 +01:00
Georg Brandl
428ed4a277 Another fix for DEDENT/INDENT handling. 2008-12-29 22:30:00 +01:00
Georg Brandl
21caf917f2 Fix handling of INDENT/DEDENT tokens. 2008-12-29 22:25:15 +01:00
Georg Brandl
3d4963ae02 Improve error handling. 2008-12-29 20:47:32 +01:00
Georg Brandl
f4cff4371e Add comment. 2008-12-29 20:39:14 +01:00
Georg Brandl
bb2f9b67d8 Cleanup; add scoping to ClassAttrVisitor. 2008-12-29 20:37:30 +01:00
Georg Brandl
49c15e93a2 Add pgen2 and custom utilities. 2008-12-29 20:22:18 +01:00
Georg Brandl
2dc410c1bb fix whitespace glitch 2008-12-29 20:20:17 +01:00
Georg Brandl
04348edcee New builder for Qt help collections, by Antonio Valentino.
(This is not finished work yet.)
2008-12-29 00:51:51 +01:00
Georg Brandl
f13c3a00cd Close #23: Added a `classmethod directive along with method`
and ``staticmethod``.
2008-12-29 00:11:06 +01:00
Georg Brandl
1aa8baa0d8 Fix #46: allow linking to special labels via :ref:abc <genindex>. 2008-12-28 23:59:40 +01:00
Georg Brandl
dc960ca7df Update translation catalogs. 2008-12-28 23:41:29 +01:00
Georg Brandl
ce52e9072e Some fixes and changelog entry after switch to Jinja2. 2008-12-28 23:39:26 +01:00
Georg Brandl
3e988f4917 merge in http://www.bitbucket.org/lunar/sphinx-jinja2/ 2008-12-28 23:23:18 +01:00
Georg Brandl
5d05ffc883 Fix #6: Don't generate redundant `<ul>` for top-level TOC tree
items, which leads to a visual separation of TOC entries.
2008-12-28 21:56:22 +01:00
Georg Brandl
d271cc57b2 merge 2008-12-28 21:32:12 +01:00
Georg Brandl
b3d55c3139 Close #4: Added a `:download:` role that marks a non-document file
for inclusion into the HTML output and links to it.
2008-12-28 21:30:25 +01:00
Georg Brandl
f07d0afef2 Note how to change default role. 2008-12-28 21:29:40 +01:00
Georg Brandl
e2c52d6e90 Fix #77: If a description environment with info field list only
contains one ``:param:`` entry, no bullet list is generated.
2008-12-28 20:02:55 +01:00
Georg Brandl
78dec65bcc Due to popular demand, added a `:doc:` role which directly
links to another document without the need of creating a
label to which a ``:ref:`` could link to.
2008-12-28 19:44:54 +01:00
Georg Brandl
a2363c0751 Fix test_autodoc after return annotation change. 2008-12-28 19:44:10 +01:00
Georg Brandl
377b461b1c Factor out docname path joining into an utility function. 2008-12-28 19:11:32 +01:00
Benjamin Peterson
7433721617 use stacklevel=2 for easier debugging 2008-12-27 14:14:10 -06:00
Georg Brandl
38fff57d72 Add MapServer. 2008-12-27 12:22:18 +01:00
Georg Brandl
26d7aafaae Explicitly refer to the license in :license: tags. 2008-12-27 12:19:17 +01:00
Georg Brandl
5975e6c0f6 Cosmetic changes. 2008-12-26 20:29:23 +01:00
Georg Brandl
83c9f7a849 Improve builder docs a bit. 2008-12-26 20:17:59 +01:00
Georg Brandl
5713270079 Don't require init() method in builders. 2008-12-26 20:09:17 +01:00
Georg Brandl
a5e1d06ccc Change the way to handle return annotations a bit. 2008-12-25 22:06:10 +01:00
Georg Brandl
0a1b821c7f Handle class aliases (like `class Foo: factory = dict`) better in autodoc. 2008-12-25 21:50:45 +01:00
Georg Brandl
b80d874126 Add text target. 2008-12-25 21:44:38 +01:00
Georg Brandl
a26aa3315f Add html_link_suffix value. 2008-12-25 17:59:32 +01:00
Sebastian Wiesner
ff21914046 Merge with http://bitbucket.org/birkenfeld/sphinx 2008-12-23 20:25:15 +01:00
Georg Brandl
dafb55a467 Fix documentation of inner classes in autodoc. Messy! 2008-12-23 20:05:56 +01:00
Georg Brandl
409cc1fe39 Remove sphinx.builder usage. 2008-12-23 20:04:45 +01:00
Georg Brandl
f5ea8295cd Fix leftovers. 2008-12-21 00:24:36 +01:00
Georg Brandl
f4b1bb7b9e Automated merge with file:///home/gbr/devel/sphinx0.5 2008-12-21 00:11:04 +01:00
Georg Brandl
1050c9bca5 Fix #58: Add extension tutorial and better docs on where to put extensions. 2008-12-21 00:10:47 +01:00
Georg Brandl
fc6a50903c Source links in HTML are now generated with `rel="nofollow"`. 2008-12-20 23:47:06 +01:00
Georg Brandl
c74163d0a0 The `toctree directive now supports a :hidden:` flag,
which will prevent links from being generated in place of
the directive -- this allows you to define your document
structure, but place the links yourself.
2008-12-20 23:23:39 +01:00
Georg Brandl
f02a90ca6e Add sidebarsourcelink block. 2008-12-20 23:08:26 +01:00