Jeppe Pihl
bbfe4d3bb9
fixed issues with line numbering not being showed correctly.
2014-10-02 00:41:30 +02:00
Jeppe Pihl
de8f428528
#1583 : Allow the line numbering of the directive literalinclude to match that of the included file, using a new `lineno-match` option.
2014-09-30 00:11:28 +02:00
Takayuki Shimizukawa
a820a73442
Merged in tk0miya/sphinx (pull request #291 )
...
Fix cannot capture title of literal_block node by xref
2014-09-23 12:21:15 +09:00
Georg Brandl
a73ab32bc5
Split viewcode and linkcode tests out of main test root.
2014-09-21 17:34:16 +02:00
Georg Brandl
d47a7587f9
Complete test suite overhaul.
...
* rename a few test modules to make the names more consistent
* do not copy/use Sphinx from build/ (unnecessary without 2to3)
* use a temporary dir for *all* test projects, the source tree
will stay pristine that way (default is tests/build)
* speed up tests by ~3x by splitting up test projects and avoiding
rebuilds
2014-09-21 17:17:02 +02:00
Georg Brandl
a555bda5eb
Closes #1284 : Program options documented with :rst:dir:option can now start with `+`.
2014-09-20 19:58:11 +02:00
Georg Brandl
6c3789a353
Add tests for "any" role and default-role setting. Fix some minor bugs with "any".
2014-09-19 14:17:36 +02:00
Georg Brandl
90c7adba6d
rename "literal.inc.orig", too easy to delete together with other merge backup files
2014-09-07 15:28:58 +02:00
tk0miya
b17320ee1e
Fix cannot capture title of literal_block node by xref
2014-08-24 14:33:56 +09:00
tk0miya
dd8a02d5e1
Fix #1381 :rfc: and :pep: roles support custom link text
2014-08-20 12:27:08 +09:00
shirou
4e70d364ba
add test and document about diff params in literalinclude.
2014-08-12 14:11:54 +09:00
Takayuki Shimizukawa
6580b23b90
Merged in lennart0901/sphinx (pull request #260 )
...
Encode underscore in citation labels for latex export
2014-08-03 17:43:40 +09:00
Takayuki Shimizukawa
24280fd90d
* refactoring: metadata (docinfo) type normalization and add test.
2014-08-02 16:39:07 +09:00
Lennart Fricke
7a9cc9f95b
Escape underscore in citation labels for latex export
2014-07-31 08:55:29 +02:00
Lars Buitinck
5a13bce2e2
compress static PNG images with optipng -o10
...
Average reduction in file size of 20%.
2014-07-22 13:42:00 +02:00
Dmitry Shachnev
c2eaf2af81
Merge
2014-01-20 18:32:47 +04:00
Rob Ruana
63fbb819c7
Makes suggested changes before adding napoleon to sphinx
2014-01-19 13:43:54 -05:00
Rob Ruana
4c782604ed
Merged birkenfeld/sphinx into default
2014-01-19 12:31:07 -05:00
Georg Brandl
8c2fabe117
The deprecated config values `exclude_trees, exclude_dirnames and unused_docs` have been removed.
2014-01-19 17:46:06 +01:00
Dmitry Shachnev
ce2185ce27
Modernize the code now that Python 2.5 is no longer supported
...
- Use print function instead of print statement;
- Use new exception handling;
- Use in operator instead of has_key();
- Do not use tuple arguments in functions;
- Other miscellaneous improvements.
This is based on output of `futurize --stage1`, with some
manual corrections.
2014-01-19 14:17:10 +04:00
Georg Brandl
91cd11be3c
Merged in guibog/sphinx2 (pull request #184 )
...
autodoc extension: add autodoc_mock_imports config value
2014-01-19 10:31:15 +01:00
Rob Ruana
d11cb7325e
Merge conflicts
2014-01-18 14:23:23 -05:00
Rob Ruana
a00a096069
Merges napoleon extension into mainline sphinx
2014-01-18 13:56:23 -05:00
Georg Brandl
24a8b516bf
Remove sphinx.ext.oldcmarkup compatibility extension.
2014-01-17 07:24:23 +01:00
Georg Brandl
1d564ace28
merge stable into default
2014-01-11 14:53:07 +01:00
Georg Brandl
c5b4ff0adc
* add a test for the parsed-literal directive
...
* adapt test to pygments output versus Sphinx-emulated nohighlighting output
2014-01-11 10:25:34 +01:00
Georg Brandl
269ef714f3
Closes #668 : Allow line numbering of `code-block and literalinclude` directives
...
#to start at an arbitrary line number, with a new ``lineno-start`` option.
2014-01-11 08:44:45 +01:00
Georg Brandl
5394fbb82b
merge stable into default
2014-01-11 08:14:55 +01:00
Georg Brandl
195050c6c4
Closes #933 : Do not crash if an `:option:` value is malformed (contains spaces
...
but no option name).
2014-01-10 22:04:03 +01:00
Virgil Dupras
ea02a07562
Allow "." and "~" prefixes in inline :param: typedefs.
2014-01-04 21:40:52 -05:00
guibog
a8f65e9d3c
autodoc extension: add autodoc_mock_imports config value
2013-10-23 16:36:45 +08:00
Georg Brandl
1a99c74e4b
Merged in RelentlessIdiot/sphinx (pull request #149 )
...
Fix #1203 : Do not append space to unknown field names.
2013-09-16 09:18:47 +02:00
Matthias C. M. Troffaes
28873bfa6a
Set up initial test.
2013-08-22 09:20:47 +01:00
Rob Ruana
718f4a6f8c
Fix #1203 : Does not append space to unknown field names.
...
If an unknown field name is encountered, a space is only
appended if the field arguments are not empty. Also,
only the first character of the field name is upper cased,
and the case of the rest of the string remains unchanged.
2013-06-23 16:06:45 -04:00
Takayuki Shimizukawa
9d3bac3b8e
Fix: Citation target missing cause AssertionError. Closes #1160
2013-05-02 10:37:12 +09:00
Nozomu Kaneko
7630467f84
fix: paragraphs in versionmodified are ignored when it has no dangling paragraphs.
2013-01-06 18:05:49 +09:00
Jonathan Waltman
66d799bb00
Closes #1108 : [text] Correctly number enumerated lists with non-default start values (based on patch by Ewan Edwards).
2013-02-20 13:50:40 -06:00
Jonathan Waltman
b98123cd12
Add man_pages config to tests/root/conf.py.
2013-01-06 23:42:25 -06:00
Takayuki Shimizukawa
9b9c69042e
Divide test_intl target source files for speed-up.
2013-01-06 16:15:49 +09:00
Jonathan Waltman
268b009017
Move "only" directive tests to a seperate test root.
2013-01-05 20:14:48 -06:00
Takayuki Shimizukawa
b17c588b0d
Closes #976 : Fix gettext does not extract index entries.
2013-01-05 23:38:21 +09:00
Takayuki Shimizukawa
ab6706e6ed
Closes #940 : Fix gettext does not extract figure caption.
...
This is docutils issue.
see also: https://sourceforge.net/tracker/?func=detail&aid=3599485&group_id=38414&atid=422032
2013-01-05 01:06:42 +09:00
Takayuki Shimizukawa
263d5b376f
Fix text writer can not handle visit_legend for figure directive contents.
2013-01-04 18:18:43 +09:00
Takayuki Shimizukawa
7022b6f251
Add regression test for gettext does not extract definition terms. Closes #975
2013-01-01 14:17:53 +09:00
Georg Brandl
998d567d5c
Closes #1065 : in Makefiles, ignore errors in "rm" using the -f flag, not a "-" prefix.
2012-12-31 09:39:02 +01:00
Nozomu Kaneko
da008da569
fix #1058 Footnote backlinks do not work
2012-12-19 06:13:20 +09:00
Takayuki Shimizukawa
6e044aedbc
Avoid unusable warning in using i18n translation. Closes #1057 .
...
And there is related information at pull request #86
2012-12-16 22:56:38 +09:00
Takayuki Shimizukawa
bfe96c14a7
fix: rescue extra named-reference that appeared in same translation message.
2012-12-05 20:52:19 +09:00
Takayuki Shimizukawa
e9f3ad438b
move i18n test documents to i18n subdir.
2012-12-05 13:38:04 +09:00
Takayuki Shimizukawa
2472dcec39
checking whether the number of references is equal in both the translated form and the untranslated form? If they're not equal, emit a warning and don't bother trying to transfer the references.
2012-12-05 13:11:16 +09:00