Commit Graph

3343 Commits

Author SHA1 Message Date
Georg Brandl
0e1db6ad90 New year update. 2011-01-04 10:00:51 +01:00
Georg Brandl
22777a5128 #528: Observe :confval:locale_dirs when looking for the JS translations file. 2011-01-04 09:34:44 +01:00
Georg Brandl
eecd8bff03 Fix pretty-printing of C++ function arguments. 2011-01-04 00:34:47 +01:00
Georg Brandl
5072e74a46 Fix test_build_html after latest docfields fix. 2011-01-04 00:23:27 +01:00
Georg Brandl
6219286df9 Use XML-entity-replace error handling in HTML output files. Fixes test_build.test_htmlhelp. 2011-01-04 00:17:08 +01:00
Georg Brandl
a484a62f11 #578: doc clarification. 2011-01-04 00:08:38 +01:00
Georg Brandl
0aa9538484 Use non-breaking spaces to separate type and parameter name. 2011-01-03 23:47:33 +01:00
Georg Brandl
63db45dea9 Even more tweaking of the latex tabular environment selection code. 2011-01-03 23:34:57 +01:00
Georg Brandl
256517b902 #574: Add special code for better support of Japanese documents in the LaTeX builder. 2011-01-03 23:13:40 +01:00
Georg Brandl
205d50a01d Regression of #77: If there is only one parameter given with `:param:` markup, the bullet list is now suppressed again. 2011-01-03 23:08:13 +01:00
Georg Brandl
0cda61e88d #556: Fix missing paragraph breaks in LaTeX output in certain situations (e.g.
if an index directive is positioned between paragraphs).
2011-01-03 21:38:30 +01:00
Georg Brandl
8f37758033 #567: Emit the `autodoc-process-docstring` event even for objects without a docstring so that it can add content. 2011-01-03 21:00:08 +01:00
Georg Brandl
6964bdffb9 #565: In the LaTeX builder, not only literal blocks require different table handling, but also quite a few other list-like block elements. 2011-01-03 20:48:11 +01:00
Georg Brandl
a4036ae6ad Remove redundant local. 2011-01-03 19:51:44 +01:00
Georg Brandl
cc8271486b #515: Fix tracebacks in the viewcode extension for Python objects that do not have a valid signature. 2011-01-03 19:34:21 +01:00
Georg Brandl
eb014a1b64 Add missing file. 2011-01-03 19:33:44 +01:00
Georg Brandl
69e5b91b2d Fix strange reportings of line numbers for warnings generated from
autodoc-included docstrings, due to different behavior depending
on docutils version.
2011-01-03 15:55:30 +01:00
Georg Brandl
13ebda2b76 Fix CPP domain modifiers: short can be unsigned and signed, but not short. 2010-12-29 10:24:14 +01:00
amenohi
0c7d972c81 On HTML Help, ignore 'html_output_encoding' and use langage encoding. 2010-11-18 17:18:15 +09:00
amenohi
9be3dc6cda Fix garbled HTML Help keywords. 2010-11-18 16:44:41 +09:00
Georg Brandl
0a9f5a058a major.minor version is enough for the grammar pickle. 2010-12-09 19:18:19 +01:00
Georg Brandl
1cea10643d Do not require build dir to exist. 2010-11-17 22:58:11 +01:00
Georg Brandl
e0f2c2e7e9 Add changelog entry. 2010-11-17 21:17:51 +01:00
Michael Jones
71660ccdf1 Account for arguments with only a type and no parameter name
Previously, the code was parsing the type into the argname variable and then
when it found something (not "," or ")") following the type it swapped the name
into the type and parsed next part as the name.

However, when no name is provided, as it allowed in c++, if you're not planning
on using the parameter, or it is in a function declaration, then the actual
type was being left in the name variable and the type variable was empty.

As a result function signatures for references were being generated without
knowledge of the type, which is the important factor in disambiguating
overloaded functions.
2010-11-18 08:56:39 +13:00
Michael Jones
d04182b85c Update cpp domain identifier regex to match destructors
Previously the regex would fail to match c++ destructors, as the presence of a
"~" would mean that the "\b" would no longer match the start of a word.

Now we try to find the optional "~" first then continue with the word as
normal.
2010-11-18 08:51:43 +13:00
Georg Brandl
ffd9268a65 Update release date and version. 2010-11-12 08:35:03 +01:00
Georg Brandl
c3e233e016 Adapt test to new warning API. 2010-11-12 08:34:47 +01:00
Georg Brandl
3e8834503f #550: fix confusing example in docs. 2010-11-12 08:26:20 +01:00
Georg Brandl
33fb06bca6 #557: Add CSS styles required by docutils 0.7 for aligned images and figures. 2010-11-12 08:21:49 +01:00
Georg Brandl
2e5bb8136a In the Makefile generated by LaTeX output, do not delete pdf files
on clean; they might be required images.
2010-11-12 08:18:11 +01:00
shibukawa yoshiki
16a2fd9010 skip literal_block 2010-10-28 09:34:47 +09:00
Robert Lehmann
0c9c9e8bee Refactor comment generating code for message catalogs.
Bring back UUIDs in comments too.

Overrides kou's 7b77dd3717af.
2011-07-06 07:50:02 +02:00
Georg Brandl
66c2bc7b9c The math extension displaymath directives now support `name` in
addition to ``label`` for giving the equation label, for compatibility
with Docutils.
2011-06-30 09:08:21 +02:00
Pauli Virtanen
485e1e0d37 autosummary: obtain import prefixes from environment also in the autolink role 2011-06-29 21:29:43 +02:00
Pauli Virtanen
a239643f0b autosummary/generate: slightly more robust parsing in find_autosummary_in_lines
Skip non-content lines of autosummary:: directives, if they have a
greater leading indent.
2011-06-29 21:27:56 +02:00
Pauli Virtanen
e1be6ef8f8 autosummary: minor doc clarifications 2011-06-29 21:27:43 +02:00
Pauli Virtanen
bb51a20745 autosummary: respect py:currentclass when looking up Python objects
This makes autosummary directives inside classes to work properly.
2011-06-29 21:27:23 +02:00
Pauli Virtanen
9962c00947 autosummary: fix get_documenter to handle its *parent* parameter correctly
The *parent* parameter is a Python object, and should not be passed on
to Documenter.can_document_member, which expects a Documenter instance.
2011-06-29 21:27:03 +02:00
Pauli Virtanen
0e97f2ab58 autosummary: improve robustness of the signature compactification 2011-06-29 21:26:43 +02:00
Robert Lehmann
8187d7f04c Closes #724: Add license for Underscore.js. 2011-06-28 20:37:29 +02:00
Gary Wilson Jr.
175bc520e1 Fixed a couple links in the documentation for the contents docutils directive that were referring to the incorrect anchor. 2011-06-28 13:13:08 -05:00
Georg Brandl
644e157fa5 #535: Fix LaTeX output generated for line blocks by porting implementation from new docutils code. 2010-10-22 12:10:11 +02:00
Georg Brandl
5d2e8ac1c9 #530: set font size of \paragraph to \small. 2010-10-22 11:59:16 +02:00
Georg Brandl
aee3d7618a #522: in Windows batchfile, do not print success message when sphinx-build fails. 2010-10-22 11:54:05 +02:00
Georg Brandl
f4988dfa17 #523: fixes for qthelp index. 2010-10-22 11:42:56 +02:00
Georg Brandl
357f8472c7 #534: warning message instead of crash if invalid Pygments lexer name is used. 2010-10-22 10:02:10 +02:00
Georg Brandl
c768b68340 #544: Allow `.pyw` as a source file extension. 2010-10-22 09:40:03 +02:00
Georg Brandl
39dc69e9d9 Remove obsolete config value. 2010-10-22 07:10:44 +02:00
Doug Hellmann
f50ce38f9c include a blank line before a new line-block so it stands as its own paragraph 2010-10-20 08:10:07 -04:00
Georg Brandl
991d0e32b3 Fix missing paren. 2010-10-20 11:55:11 +02:00