Commit Graph
252 Commits
Author SHA1 Message Date
Georg Brandl 46d7e8558e Obligatory copyright update. 2016-01-14 22:54:04 +01:00
Takeshi KOMIYA c8c6dc1fe9 Fix #2226: Math is not HTML-encoded when :nowrap: is given (jsmath, mathjax) 2016-01-10 02:20:39 +09:00
Takeshi KOMIYA 7894f0bd9c Fix #2225: If the option does not begin with dash, linking is not performed 2016-01-09 19:57:23 +09:00
Takeshi KOMIYA ee7e3cc078 Fix empty cell in table header causes LaTeX error (#1574) 2015-12-24 12:43:22 +09:00
Takeshi KOMIYA 63f6d917b3 Merge pull request #2188 from xuhdev/latex-math-section-title
Fix #1480: LaTeX: Support math in section titles
2015-12-22 11:33:58 +09:00
Hong Xu 4d3fdc0e47 Fix LaTeX output of \mathbb in math
If \mathbb is used in math, which is commonly used to represent sets,
the output LaTeX won't compile. This commit fixes this issue by adding
amsfonts package in the setup of sphinx.ext.mathbase .
2015-12-21 01:30:14 -08:00
Hong Xu eac142f8b8 LaTeX: Support math in section titles
Fix #1480
2015-12-20 03:16:54 -08:00
Takeshi KOMIYA 9f96bbaf35 Move testcases for footnotes to roots/test-footnote 2015-12-19 16:45:23 +09:00
Takeshi KOMIYA 7f55295650 Merge pull request #1833 from xuhdev/latex-mailto
Email addresses should not be showed again if latex_show_urls is not None
2015-12-19 10:45:53 +09:00
Hong Xu 2ee03a2729 Fix #981: LaTeX: support image file names with more than 1 dots
LaTeX cannot detect image file names with more than 1 dots in it
correctly. The solution is to use '{}' to surround the base name. See
https://tex.stackexchange.com/questions/10574/includegraphics-dots-in-filename

Fix #981
2015-12-17 19:03:31 -08:00
Hong Xu 0084004cfd Add testing cases for the "latex_show_urls" option 2015-12-11 15:06:14 -08:00
Takeshi KOMIYA f4c5a2e136 Fix #2140: footnotes in caption of table has broken in LaTeX 2015-11-29 21:55:36 +09:00
Takeshi KOMIYA 12396a71d9 Fix #2140: footnotes in table has broken in LaTeX 2015-11-29 21:47:55 +09:00
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