Commit Graph
881 Commits
Author SHA1 Message Date
Jakob Lykke Andersen 89c919911f Merge from master 2015-02-04 23:23:28 +01:00
Jakob Lykke Andersen aaa71b0606 Towards a solution for sphinx-doc/sphinx#1704.
Elements now get multiple ids to keep permalinks permanent. The default
id is the newest style, which is used as the shown permalink and in the
index. The old style ids have been (partially) replicated and are
temporarily used as the default id for testing purposes.
2015-02-04 10:11:58 +01:00
Georg Brandl 3068f6c7f1 Merge pull request #1705 from jakobandersen/cpp-declspecs-on-right
C++, fix #1689
2015-02-04 06:37:13 +01:00
Jakob Lykke Andersen 5f0977ca30 C++, add support for 'const', 'volatile', etc. on the right-hand side of the type. 2015-02-03 09:18:18 +01:00
Georg Brandl 309e0169b0 Adapt test after env-updated change. 2015-01-25 16:25:32 +01:00
Takeshi KOMIYA b563fa44f2 Fix #1620: Use VerbatimBorderColor to add frame to code-block in LaTeX 2015-01-18 15:32:17 +09:00
Rob Ruana 9df7b53782 Closes #1670: Fix napoleon handling of *args and **kwargs parameters 2015-01-12 17:08:51 -05:00
Georg Brandl 0071ac8399 Test fixup. 2015-01-09 18:41:09 +01:00
Georg Brandl 81313e903b Merge pull request #1666 from EricFromCanada/highlight_options
Add highlight_options configuration value
2015-01-06 17:09:29 +01: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
EricFromCanada a63e4945ea Add highlight_options configuration value
This changeset adds the `highlight_options` configuration value, which
specifies a dict of key-value pairs to pass to the Pygments highlighter
specified with `highlight_language`. For example, specifying
`highlight_options = {'funcnamehighlighting' : False}` for the 'php'
lexer will disable function name highlighting.
Both the HTML and LaTeX writers have been updated to include the
options when calling `highlight_block()`, as long as the currently
selected language matches what was set with `highlight_language`, i.e.
not when modified by `highlight::` or `code-block::` directives.
2015-01-05 12:58:43 -05:00
Georg Brandl a23903d8d5 Merge branch 'stable' 2015-01-03 21:41:14 +01:00
Georg Brandl 567d52f199 all: update copyright 2015-01-03 21:36:32 +01:00
Takayuki Shimizukawa edf63e1406 Fix again. Sections which depth are lower than :tocdepth: should not be shown on localtoc sidebar. Closes #1251 2014-12-05 16:42:30 +09:00
Takayuki Shimizukawa 32e4fab86b fix py3 error for pull request #314 2014-12-04 17:26:13 +09:00
Takayuki Shimizukawa c0a9d7740e Merged in lehmannro/sphinx-warnconfig (pull request #314)
Check configuration values for their types
2014-12-04 17:22:20 +09:00
tk0miya 0f1d8433e7 Fix #1607: Sphinx crashes on building latexpdf with "howto" class 2014-11-24 12:13:17 +09:00
Georg Brandl 4d5b20de38 merge with stable 2014-11-17 19:36:34 +01:00
Georg Brandl 571cae87a5 Closes #1372: use https URL for PEPs and RFCs 2014-11-17 19:33:59 +01: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
Robert Lehmann c528b65292 Refactor tests. 2014-11-09 09:55:56 +01:00
Georg Brandl 4f4d8688d5 Py3 fix. 2014-11-07 15:19:36 +01:00
Georg Brandl bbd315b82e merge with stable 2014-11-07 15:03:06 +01:00
Georg Brandl fa09ec000f Fix :confval:autodoc_docstring_signature not working with signatures
in class docstrings.
2014-11-07 15:01:10 +01:00
Georg Brandl 5edd1fcad8 Announce used Python version when running tests. 2014-11-06 09:12:51 +01:00
Georg Brandl e6fa449e85 Add a basic test for sphinx.apidoc. 2014-11-06 09:11:20 +01:00
Georg Brandl db57e82afe Stop removing temporary test data after tests. 2014-11-06 09:10:32 +01:00
Robert Lehmann ed5f77916f Spec out configuration type checks. 2014-11-05 14:33:30 +01:00
Robert Lehmann 5cc72ca52b Checked configuration values for their types. Fixes #1150. 2014-10-30 15:46:02 +01:00
tk0miya 88103c112a Fix #1603 :numref: doesn't work correctly when label contain underscore
If label contains underscore, the underscores are replaced with hyphens on normalization.
:numref: confuses the normalization with explicit notation.
This fix uses `target` variable insted of labelid to check the role is explicit or not.
2014-10-27 11:02:54 +09:00
Takayuki Shimizukawa d289870f48 rename numfig_prefix to numfig_format. later is better for the purpose. 2014-10-10 00:19:17 +09:00
Takayuki Shimizukawa da651089e7 fix trailing space and long line 2014-10-09 23:53:33 +09:00
Takayuki Shimizukawa 1ff5ffe1ed Merged in tk0miya/sphinx (pull request #307)
Add frame to code-block in LaTeX
2014-10-09 21:31:28 +09: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
Takayuki Shimizukawa ab91342bb1 fix testing for jQuery-1.11.1 2014-10-09 00:56:26 +09:00
tk0miya f51b945d89 Add frame to code-block in LaTeX 2014-10-08 21:52:33 +09:00
Takayuki Shimizukawa a7de6a2575 fix testing for ad7ce315a358 2014-10-07 23:12:16 +09:00
Jeppe Pihl 29af67f438 merge 2014-10-06 20:31:30 +02:00
tk0miya cdc244428d Merge with default 2014-10-06 23:57:16 +09:00
Georg Brandl 65296334e0 test fix 2014-10-06 15:49:15 +02:00
Georg Brandl 105122be43 Fix up default labels for figures and listings. 2014-10-06 15:19:42 +02:00
Takayuki Shimizukawa 6c0b4f1933 Merged in tk0miya/sphinx (pull request #304)
numfig feature improvement
2014-10-06 21:45:25 +09:00
Jeppe Pihl 0b0cf82a75 fixed bugs, and extended unit test to catch them again if they reappear 2014-10-06 10:58:03 +02:00
Jeppe Pihl a3745cfb5e merge 2014-10-06 10:35:33 +02:00
tk0miya a5606976b6 Fix flake8 violations 2014-10-06 13:56:51 +09:00
Takayuki Shimizukawa b6b6f8ad79 Fix test for previous change.
Fix. <caption> node should not include <paragraph> block element as a result of nested_parse.
2014-10-06 07:10:52 +09:00
tk0miya 777218580a Surround fignum and caption with <span> tag 2014-10-05 20:55:46 +09:00
tk0miya a875e8f377 Set permanent links to every captions and titles 2014-10-05 16:27:38 +09:00
Jeppe Pihl dc3d0b6ca1 added test .rst files 2014-10-04 17:49:37 +02:00
Jeppe Pihl 22c8382880 added tests for linenos, lineno-start, lineno-match 2014-10-04 17:48:55 +02:00