Commit Graph

1159 Commits

Author SHA1 Message Date
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
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
tk0miya
7e59c5385e Merge with default 2014-09-28 21:56:20 +09:00
Takayuki Shimizukawa
9d1225a35b add :confval:gettext_enables to enable extracting 'index' to gettext catalog output / applying translation catalog to generated documentation. Closes #1344 2014-09-28 21:19:54 +09:00
tk0miya
16529c5604 Add options argument to Sphinx.add_latex_package() 2014-09-28 21:10:26 +09:00
Takayuki Shimizukawa
39c843106f fix testing on Windows. 2014-09-28 21:00:51 +09:00
Takayuki Shimizukawa
a75d863290 Merged in tk0miya/sphinx (pull request #298)
Add new API: Sphinx.add_latex_package()
2014-09-28 12:59:59 +09:00
tk0miya
0c5b460dc6 Separate numfig testcase from toctree's 2014-09-27 16:49:28 +09:00
tk0miya
c04ad2908e Add new API: Sphinx.add_latex_package()
Sphinx.add_latex_package() allows sphinx extensions to add latex packages.
It helps creating extensions for latex (for example, latex-theming)
2014-09-27 12:47:27 +09:00
tk0miya
7cd470f59a Assign fignum to tables and code-blocks 2014-09-27 00:47:44 +09:00
Takayuki Shimizukawa
7984f81a5e Merged in tk0miya/sphinx (pull request #292)
do nested_parse() :caption: of code-block directive
2014-09-26 20:29:38 +09:00
tk0miya
7c7a563426 Fix by review comment 2014-09-26 20:15:17 +09:00
tk0miya
cffec13355 Add testcases for numfig 2014-09-26 00:36:38 +09:00
Takayuki Shimizukawa
88540e9a3b workaround for testing: \xbb will be replaced with /xbb by replace(os.sep, '/') process on Windows environment. 2014-09-24 01:41:01 +09:00
tk0miya
3ad1f1c164 Merge with default 2014-09-24 00:43:47 +09:00
tk0miya
5f96826ffc Merge with default 2014-09-23 17:58:02 +09: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
7bbaa4c73f Test suite fixes after env.update() change. 2014-09-22 15:08:15 +02:00
Georg Brandl
e7ed7cd627 Rename env-read-docs to env-before-read-docs, add changelog entry and fixup tests. 2014-09-22 09:13:44 +02:00
Georg Brandl
3c5cda97d1 Merged in guillemNaN/sphinx (pull request #261)
Add env-read-docs event to allow modify docnames list before processing
2014-09-22 09:05:00 +02:00
Georg Brandl
cdaf4b0a52 remove a few unused imports 2014-09-21 20:28:37 +02:00