Commit Graph
213 Commits
Author SHA1 Message Date
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
Takayuki Shimizukawa c347b50330 fix #1044 refs #955: fix external/inline links with localization 2012-11-27 17:30:08 +09:00
Takayuki Shimizukawa f50091b643 fix #955: consider the numbered-footnote. update test and code 2012-11-22 12:12:41 +09:00
Takayuki Shimizukawa 30c3fff6d7 fixed #955: footnote i18n translation cause KeyError and 'Only update text nodes in translation' change at b7b808e46851 break translation. 2012-11-22 11:43:09 +09:00
Jonathan Waltman 6f9e541ab5 autodoc: Handle explicit instance attributes in :members: (re #904) 2012-11-08 21:19:47 -06:00
Jonathan Waltman 34cbd684a9 Update sys.path to avoid autodoc warnings when building docs in tests/root. 2012-11-08 21:16:41 -06:00
Georg Brandl 201883d209 Merged in pv/sphinx-work/ext-linkcode (pull request #47) 2012-10-28 18:21:57 +01:00
Jonathan Waltman c5405184ba Add failing tests for nested sections in only directives. 2012-09-12 15:34:00 -05:00
Pauli Virtanen 135bb6f6c8 ENH: add a linkcode extension 2012-03-11 17:48:51 +01:00
Georg Brandl 20f3b8d95c Merge with 1.0 2011-09-22 10:42:09 +02:00
Georg Brandl b3108306cd Fix #677: allow multiple signatures in C++ domain directives. 2011-09-22 10:23:54 +02:00
Georg Brandl ffa14ec448 Fix dupicate autodocumentation leading to test failures. 2011-09-19 09:21:48 +02:00
Georg Brandl 28609cc9b9 Only test spanning cells for latex. 2011-09-19 09:02:00 +02:00
Georg Brandl 896b575cdc Code style fixes. 2011-09-17 21:05:12 +02:00
Georg Brandl 45b38933a6 Add missing label. 2011-01-08 22:18:10 +01:00