Georg Brandl
ad5d9f7c6b
Add changelog entry for emphasize-lines and some coding style fixes.
2011-09-22 09:29:36 +02:00
Georg Brandl
5373125fc6
Merged in marklodato/sphinx (pull request #4 )
2011-09-22 09:14:50 +02:00
Georg Brandl
3d93b326f7
Merged in shino/sphinx (pull request #23 )
2011-09-22 09:08:14 +02:00
Shunichi Shinohara
af96d11f11
Print table headers not only in first page but in next pages
2011-09-22 15:20:26 +09:00
Georg Brandl
cfc1ab4f99
Merge with 1.0
2011-09-21 19:28:43 +02:00
Georg Brandl
d05588da41
Fix #637 : ignore strange Emacs lock files by default.
2011-09-21 19:23:24 +02:00
Georg Brandl
23cbe85e9f
Fix #544 : allow .pyw extension for importable modules.
2011-09-21 19:19:01 +02:00
Georg Brandl
92f5c43279
Fix #610 : remove duplicate <h1> tags in agogo theme.
2011-09-21 19:15:56 +02:00
Georg Brandl
950321e4ef
Merge with 1.0.
2011-09-21 19:08:03 +02:00
Georg Brandl
d7d7e0287f
Fix #765 : on Windows, relpath() does not always succeed.
2011-09-21 19:06:48 +02:00
Georg Brandl
6396adfda2
Fix #700 : use $(MAKE) in quickstart-generated makefile.
2011-09-21 19:02:13 +02:00
Georg Brandl
c7f5ec3e8a
Fix #734 : make sidebar search box width consistent on all browsers.
2011-09-21 18:57:13 +02:00
Georg Brandl
e9efb8f3af
e55ca1a50bfe for agogo.
2011-09-21 18:51:24 +02:00
Georg Brandl
fed6bdac65
Fix #644 : remove "clear: both" for center-aligned figures in HTML.
2011-09-21 18:50:55 +02:00
Georg Brandl
4239392906
#316 : broader range of exceptions to catch while communicating with subprocess.
2011-09-21 18:43:49 +02:00
Georg Brandl
7d06a5cae1
Merge with 1.0
2011-09-21 17:58:09 +02:00
Georg Brandl
cb54b7db4e
Fix #768 : whitespace-strip JS function names.
2011-09-21 17:57:47 +02:00
Georg Brandl
425c44ed59
Fix indentation.
2011-09-21 10:58:48 +02:00
Georg Brandl
6251adff45
Merge with 1.0.
2011-09-21 10:49:10 +02:00
Georg Brandl
19775589e9
Fix #767 : safely encode SphinxErrors when printing to sys.stderr.
2011-09-21 10:47:18 +02:00
Georg Brandl
c05063d0a5
Fix #767 : safely encode SphinxErrors when printing to sys.stderr.
2011-09-21 10:46:39 +02:00
Georg Brandl
3b43bd5182
Fix #611 : latex writer raised IndexError on pages with no section but a link target.
2011-09-21 10:37:48 +02:00
Georg Brandl
a4b8b81712
Fix #611 : latex writer raised IndexError on pages with no section but a link target.
2011-09-21 10:37:48 +02:00
Georg Brandl
1d564a7fa8
Fix #574 : Improvement to Japanese LaTeX support.
2011-09-21 10:28:12 +02:00
Georg Brandl
ff4ec7fefd
Fix #659 : use object start/end tag.
2011-09-21 10:25:22 +02:00
Georg Brandl
1f59194ee3
Fix #663 : add "return type" doc field to JS domain.
2011-09-21 10:24:16 +02:00
Georg Brandl
e74a5541df
Make it clear that math labels are internal.
2011-09-21 10:21:22 +02:00
Georg Brandl
7bc89fcaec
Fix #650 : add missing newline in coverage output.
2011-09-21 10:19:09 +02:00
Georg Brandl
f908267c5e
Fix #612 : add default abbr/acronym markup which is not present in some browsers.
2011-09-21 10:17:45 +02:00
Georg Brandl
13ef18cd09
Fix #649 : translate default html_title. Update locale catalogs.
2011-09-21 10:16:20 +02:00
Georg Brandl
5d936d5ff1
Fix :samp: latex tests.
2011-09-21 10:05:37 +02:00
Mark Lodato
2c0f936e6b
add :emphasize-lines: option to source-code and literal-include
...
Add a new option, :emphasize-lines:, to the source-code and
literal-include directives. The format is the same as the :lines:
option for literal-include. The resulting list of lines is passed to
the Pygments formatter as 'hl_lines', which is only honored by the HTML
formatter.
2011-07-06 22:58:19 -04:00
Mark Lodato
b9279ca1e3
add 'highlight_args' option for literal_block nodes
...
For the HTML and LaTeX writers, if 'highlight_args' is set on
a literal_block node, this is taken as a dictionary of keyword arguments
to pass to PygmentsBridge.highlight_block. This allows custom
directives to directly set formatter options.
2011-07-06 22:47:32 -04:00
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
Julian Andres Klode
64e7fcb71e
Correctly treat built-in method (method descriptors) as methods
...
This fixes a bug where method descriptors were treated as data
descriptors. As the builtin_method_descriptor type is not exported
anywhere in Python, we check for the name here. As we know that
it is a descriptor, this should not be a problem.
2011-05-04 17:18:59 +02:00
Georg Brandl
08d556d4b6
Fix #698 : msgstr errors found by msgfmt -c.
2011-09-21 09:49:12 +02:00
Georg Brandl
dbfc8a9d83
Fix #706 : use a custom TextWrapper instead of monkeypatching a new wordsep_re into the textwrap one.
2011-09-21 09:38:51 +02:00
Georg Brandl
bc3eeddb35
Fix #728 : escape root dir when putting it into a regex in latex/texinfo tests.
2011-09-21 09:15:11 +02:00
Georg Brandl
05cf3c0360
Always use longtables for autosummary.
2011-09-21 09:09:57 +02:00
Georg Brandl
2c0aa5092c
Close #712 : fix indentation error in German translation.
2011-06-07 17:20:56 +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
5ca496847a
Closes #669 : Respect the `noindex
` flag option in py:module directives.
2011-05-15 13:00:11 +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