Debian Codegraph @

doc/changes/0.4.rst

raw
1 ==========
2 Sphinx 0.4
3 ==========
4
5
6 Release 0.4.3 (Oct 8, 2008)
7 ===========================
8
9 * Fix a bug in autodoc with directly given autodoc members.
10
11 * Fix a bug in autodoc that would import a module twice, once as
12 "module", once as "module.".
13
14 * Fix a bug in the HTML writer that created duplicate ``id``
15 attributes for section titles with Docutils 0.5.
16
17 * Properly call ``super()`` in overridden blocks in templates.
18
19 * Add a fix when using XeTeX.
20
21 * Unify handling of LaTeX escaping.
22
23 * Rebuild everything when the ``extensions`` config value changes.
24
25 * Don't try to remove a nonexisting static directory.
26
27 * Fix an indentation problem in production lists.
28
29 * Fix encoding handling for literal include files: ``literalinclude``
30 now has an ``encoding`` option that defaults to UTF-8.
31
32 * Fix the handling of non-ASCII characters entered in quickstart.
33
34 * Fix a crash with nonexisting image URIs.
35
36
37 Release 0.4.2 (Jul 29, 2008)
38 ============================
39
40 * Fix rendering of the ``samp`` role in HTML.
41
42 * Fix a bug with LaTeX links to headings leading to a wrong page.
43
44 * Reread documents with globbed toctrees when source files are
45 added or removed.
46
47 * Add a missing parameter to PickleHTMLBuilder.handle_page().
48
49 * Put inheritance info always on its own line.
50
51 * Don't automatically enclose code with whitespace in it in quotes;
52 only do this for the ``samp`` role.
53
54 * autodoc now emits a more precise error message when a module
55 can't be imported or an attribute can't be found.
56
57 * The JavaScript search now uses the correct file name suffix when
58 referring to found items.
59
60 * The automodule directive now accepts the ``inherited-members``
61 and ``show-inheritance`` options again.
62
63 * You can now rebuild the docs normally after relocating the source
64 and/or doctree directory.
65
66
67 Release 0.4.1 (Jul 5, 2008)
68 ===========================
69
70 * Added sub-/superscript node handling to TextBuilder.
71
72 * Label names in references are now case-insensitive, since reST
73 label names are always lowercased.
74
75 * Fix linkcheck builder crash for malformed URLs.
76
77 * Add compatibility for admonitions and Docutils 0.5.
78
79 * Remove the silly restriction on "rubric" in the LaTeX writer: you
80 can now write arbitrary "rubric" directives, and only those with
81 a title of "Footnotes" will be ignored.
82
83 * Copy the HTML logo to the output ``_static`` directory.
84
85 * Fix LaTeX code for modules with underscores in names and platforms.
86
87 * Fix a crash with nonlocal image URIs.
88
89 * Allow the usage of :noindex: in ``automodule`` directives, as
90 documented.
91
92 * Fix the ``delete()`` docstring processor function in autodoc.
93
94 * Fix warning message for nonexisting images.
95
96 * Fix JavaScript search in Internet Explorer.
97
98
99 Release 0.4 (Jun 23, 2008)
100 ==========================
101
102 New features added
103 ------------------
104
105 * ``tocdepth`` can be given as a file-wide metadata entry, and
106 specifies the maximum depth of a TOC of this file.
107
108 * The new config value ``default_role`` can be used to select the
109 default role for all documents.
110
111 * Sphinx now interprets field lists with fields like ``:param foo:``
112 in description units.
113
114 * The new ``staticmethod`` directive can be used to mark methods as
115 static methods.
116
117 * HTML output:
118
119 - The "previous" and "next" links have a more logical structure, so
120 that by following "next" links you can traverse the entire TOC
121 tree.
122
123 - The new event ``html-page-context`` can be used to include custom
124 values into the context used when rendering an HTML template.
125
126 - Document metadata is now in the default template context, under
127 the name ``metadata``.
128
129 - The new config value ``html_favicon`` can be used to set a favicon
130 for the HTML output. Thanks to Sebastian Wiesner.
131
132 - The new config value ``html_use_index`` can be used to switch index
133 generation in HTML documents off.
134
135 - The new config value ``html_split_index`` can be used to create
136 separate index pages for each letter, to be used when the complete
137 index is too large for one page.
138
139 - The new config value ``html_short_title`` can be used to set a
140 shorter title for the documentation which is then used in the
141 navigation bar.
142
143 - The new config value ``html_show_sphinx`` can be used to control
144 whether a link to Sphinx is added to the HTML footer.
145
146 - The new config value ``html_file_suffix`` can be used to set the
147 HTML file suffix to e.g. ``.xhtml``.
148
149 - The directories in the ``html_static_path`` can now contain
150 subdirectories.
151
152 - The module index now isn't collapsed if the number of submodules
153 is larger than the number of toplevel modules.
154
155 * The image directive now supports specifying the extension as ``.*``,
156 which makes the builder select the one that matches best. Thanks to
157 Sebastian Wiesner.
158
159 * The new config value ``exclude_trees`` can be used to exclude whole
160 subtrees from the search for source files.
161
162 * Defaults for configuration values can now be callables, which allows
163 dynamic defaults.
164
165 * The new TextBuilder creates plain-text output.
166
167 * Python 3-style signatures, giving a return annotation via ``->``,
168 are now supported.
169
170 * Extensions:
171
172 - The autodoc extension now offers a much more flexible way to
173 manipulate docstrings before including them into the output, via
174 the new ``autodoc-process-docstring`` event.
175
176 - The ``autodoc`` extension accepts signatures for functions, methods
177 and classes now that override the signature got via introspection
178 from Python code.
179
180 - The ``autodoc`` extension now offers a ``show-inheritance`` option
181 for autoclass that inserts a list of bases after the signature.
182
183 - The autodoc directives now support the ``noindex`` flag option.
184
185
186 Bugs fixed
187 ----------
188
189 * Correctly report the source location for docstrings included with
190 autodoc.
191
192 * Fix the LaTeX output of description units with multiple signatures.
193
194 * Handle the figure directive in LaTeX output.
195
196 * Handle raw admonitions in LaTeX output.
197
198 * Fix determination of the title in HTML help output.
199
200 * Handle project names containing spaces.
201
202 * Don't write SSI-like comments in HTML output.
203
204 * Rename the "sidebar" class to "sphinxsidebar" in order to stay different
205 from reST sidebars.
206
207 * Use a binary TOC in HTML help generation to fix issues links without
208 explicit anchors.
209
210 * Fix behavior of references to functions/methods with an explicit title.
211
212 * Support citation, subscript and superscript nodes in LaTeX writer.
213
214 * Provide the standard "class" directive as "cssclass"; else it is
215 shadowed by the Sphinx-defined directive.
216
217 * Fix the handling of explicit module names given to autoclass directives.
218 They now show up with the correct module name in the generated docs.
219
220 * Enable autodoc to process Unicode docstrings.
221
222 * The LaTeX writer now translates line blocks with ``\raggedright``,
223 which plays nicer with tables.
224
225 * Fix bug with directories in the HTML builder static path.