Commit Graph

239 Commits

Author SHA1 Message Date
Georg Brandl
c7bee16c8a Closes #1871: fix for latex writer with multirow and 1-column tables. 2015-07-24 16:33:19 +02:00
Georg Brandl
3437872b30 merge 2015-03-08 15:38:28 +01:00
Georg Brandl
705f6a997b Merge branch 'apple-help' of git://github.com/al45tair/sphinx 2015-03-08 15:35:04 +01:00
shimizukawa
996b872875 refs #1700, #1742: add testing and fix two bugs. 2015-03-08 21:59:42 +09:00
Georg Brandl
ad612fb03d Change the source parsers feature a bit:
* parsers -> source_parsers
* add docs
* require fully qualified name or class
* add test for it
2015-03-08 13:12:50 +01:00
shimizukawa
9ba0a51555 refs #1658, #1750: add test and small tweak. 2015-03-03 08:13:14 +09:00
Georg Brandl
bf3bdcc7f5 source_suffix can now be a list. 2015-02-08 20:13:47 +01:00
Alastair Houghton
d2d202f160 Added tests for Apple Help generation. 2015-01-15 13:17:01 +00:00
EricFromCanada
5d96523f7d Fix LaTeX writer's handling of multirow table cells
Originally the LaTeX writer could only handle one multirow cell per
row. This commit fixes that and adds support for cells spanning both
rows and columns.
2015-01-06 02:06:58 -05:00
Georg Brandl
6c194ad56f Closes #1623: Return types specified with `:rtype:` are now turned into links if possible. 2014-11-12 11:32:21 +01:00
Takayuki Shimizukawa
2826af738d Merged in tk0miya/sphinx (pull request #303)
Add :numref: role to refer figures, tables and code-blocks by its fignum
2014-10-09 19:45:50 +09:00
tk0miya
8270575a9c Update testcases for :numref: 2014-10-02 11:17:34 +09:00
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