Mark Lodato
94aab04ecb
PygmentsBridge: pass keyword arguments to Pygments
...
In Pygments.highlight_block, pass all extra keyword arguments, including
linenos, directly to the Pygments formatter. This allows custom
directives to use other Pygments features.
2011-07-06 22:05:22 -04:00
Mark Lodato
cab5a5edc1
PygmentsBridge: construct new formatter each time
...
Previously, we pre-constructed two different formatters, one with line
numbers and one without. This made the code rather confusing and also
was not scalable for options that take arguments, such as 'hl_lines'.
Now, we construct a new HTMLFormatter or LatexFormatter on each call to
highlight_block().
2011-07-06 21:52:10 -04:00
Robert Lehmann
b5f53e1972
Move node filtering into extract_messages.
2011-07-06 08:52:07 +02:00
Robert Lehmann
f1f7bde914
Distribute UUIDs over multiple comment lines.
2011-07-06 08:34:26 +02:00
Robert Lehmann
f477eaf26f
Comment and stretch out code.
...
Also leverage the fact that we ignore Sphinx' built-in messages for catalogs.
2011-07-06 08:31:40 +02:00
Robert Lehmann
651a00f3cd
Close #630 : Revamp data structures used for message catalogs.
2011-07-06 08:25:25 +02: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
4bc665cf4a
Recompile German catalog.
2011-06-07 17:21:59 +02:00
Georg Brandl
acbc89a6a8
Merge with 1.0.
2011-06-07 17:21:45 +02:00
Georg Brandl
2c0aa5092c
Close #712 : fix indentation error in German translation.
2011-06-07 17:20:56 +02:00
Georg Brandl
517acb80f0
Add Nepali translation, thanks to Arati Sharma.
2011-06-07 17:17:54 +02:00
Georg Brandl
6da34ddd39
Update compiled japanese catalog.
2011-05-15 14:54:52 +02:00
Kouhei Sutou
d4de9de8fc
[ja] update Japanese translations.
2011-05-15 21:30:14 +09:00
Georg Brandl
10287a6684
merge with 1.0
2011-05-15 13:52:48 +02:00
Georg Brandl
c90d6cc52f
Closes #98 : mention original copyright owners, and port fix from https://bitbucket.org/thomaswaldmann/sphinx-autopackage-script/changeset/dba2b779c1af .
2011-05-15 13:41:29 +02:00
Georg Brandl
40c294f0c8
Closes #657 : viewcode now works correctly with source files that have non-ASCII encoding.
2011-05-15 13:31:39 +02:00
Georg Brandl
8965cf1095
Closes #658 : fix error in script_files example and document css_files.
2011-05-15 13:05:31 +02:00
Georg Brandl
d63cf564ab
Closes #665 : update Turkish translation.
2011-05-15 13:01:14 +02:00
Georg Brandl
5ca496847a
Closes #669 : Respect the `noindex
` flag option in py:module directives.
2011-05-15 13:00:11 +02:00
Georg Brandl
6b6ca70622
Closes #670 : Allow docutils "standard includes" to be again specified with the `include
` directive.
2011-05-15 12:58:34 +02:00
Georg Brandl
ef674a20a6
Closes #671 : new autodoc features: :special-members: and :private-members: should respect :undoc-members:. Also :special-members: should not document __doc__.
2011-05-15 12:41:45 +02:00
Georg Brandl
02a3b5bfdf
Closes #675 : Fix IndexErrors when including nonexisting lines with :rst:dir:literalinclude
.
2011-05-15 12:31:33 +02:00
Georg Brandl
eaa43cafce
Closes #676 : Respect custom function/method parameter separator strings.
2011-05-15 12:24:50 +02:00
Georg Brandl
4e85a6ed42
Closes #682 : Fix JS incompatibility with jQuery >= 1.5.
2011-05-15 12:20:47 +02:00
Georg Brandl
99c505b63f
Closes #683 : set default MathJax path to the CDN URL, and update the docs accordingly.
2011-05-15 11:57:23 +02:00
Georg Brandl
569516dd0e
Closes #693 : Fix double encoding done when writing HTMLHelp .hhk files.
2011-05-15 11:37:00 +02:00
Georg Brandl
dfe70cb7f2
Closes #647 : Do not apply SmartyPants in parsed-literal blocks.
2011-05-15 11:34:52 +02:00
Georg Brandl
8a08f5b42a
Closes #694 : add Latvian locale, thanks to Alexander Smishlajev.
2011-05-15 11:27:01 +02:00
Georg Brandl
75db8d935c
merge with https://bitbucket.org/ericholscher/sphinx/
2011-05-15 11:22:30 +02:00
Georg Brandl
3b84d9d295
branch merge
2011-05-15 11:16:35 +02:00
Kouhei Sutou
c43e9f2fef
[i18n] support reference line.
...
From "3 The Format of PO Files" at
http://www.gnu.org/s/hello/manual/gettext/PO-Files.html ::
Comment lines starting with #: contain references to the program's
source code.
The reference comment is useful to jump to the source position.
GNU gettext tools support the reference comment. e.g.: po-mode.el binds
"s" key to "po-cycle-source-reference" that opens a source position in
a new buffer.
2011-05-08 17:48:38 +09:00
Kouhei Sutou
0d610fcff4
[i18n] don't generate duplicated msgid.
2011-05-08 17:32:41 +09:00
Luke Plant
c1c6a806c8
Improved multi-word search by doing object lookups and matching descriptions of objects with other words
...
Without this patch, adding extra, relevant terms to a search can eliminate a
direct match for an object, because multi-word searches don't do object
lookups.
We can avoid matching too many objects by requiring the other terms searched
to appear in the object name or description.
2011-05-14 03:23:21 +01:00
Luke Plant
a4df2bd182
Pulled object search routine into separate routine.
...
This makes it easier to re-use, and helps reduce the length of the main query
routine.
2011-05-14 02:00:44 +01:00
Georg Brandl
d3479801bc
merge with 1.0
2011-04-29 14:01:54 +02:00
Georg Brandl
b57286ca6c
#651 : sort undocumented classes alphabetically.
2011-04-29 14:01:26 +02:00
Chris Pickel
7aef73271a
Support varargs in C++ function signatures.
2011-04-19 22:22:33 -04:00
Georg Brandl
3c2662580a
Cleanup after pull from https://bitbucket.org/timmartin/sphinx
2011-05-15 11:15:20 +02:00
Tim Martin
4fb8139f36
Fixed a bug in test_intl.py: teardown didn't get called if the test was skipped
2011-04-17 00:22:10 +01:00
Tim Martin
9b112e0619
Expanded the docstring of gen_with_app to explain how it differs from with_app
2011-04-13 00:00:45 +01:00