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
Georg Brandl
24d303706f
Fixup windows newlines.
2014-09-21 20:23:24 +02:00
Guillem Barba
fe077ea18b
Don't multiply docnames list size per each listener of env-read-docs
...
The env-read-docs listener function doesn't return the modified docnames list
but change the list received as parameter.
Updated the tests
2014-09-21 19:50:46 +02:00
Georg Brandl
c5cc2a8cf9
flush stdout after printing messages, might fix output ordering on drone.io
2014-09-21 19:01:03 +02:00
Georg Brandl
ac690b4b07
move new assertion helpers to util.py
2014-09-21 18:54:01 +02:00
Georg Brandl
fa91f19e55
Reimplement assert_in and assert_not_in, they are not in nose in Py2.6.
2014-09-21 18:48:21 +02:00
Georg Brandl
70cf797c10
fix incompatibility in doctree between gettext and the rest
2014-09-21 18:46:15 +02:00
Georg Brandl
b637f0a728
No need to insist on fresh builds with test_build_*
2014-09-21 18:41:08 +02:00
Georg Brandl
b335e03b02
Speed up test_theming using a minimal project.
2014-09-21 18:37:44 +02:00
Georg Brandl
2661c1060d
Refactor/speed up test_build_gettext using generators
2014-09-21 18:36:27 +02:00
Georg Brandl
be72ed6dc7
Refactor/speed up test_intl by combining all tests with a certain builder into a generator.
2014-09-21 18:26:50 +02:00
Georg Brandl
a73ab32bc5
Split viewcode and linkcode tests out of main test root.
2014-09-21 17:34:16 +02:00
Georg Brandl
78af37370c
mock is builtin in Py3.
2014-09-21 17:32:52 +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
e21d669089
Test suite adapted after :option: changes.
2014-09-20 20:54:23 +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
2c396601bf
Move env.temp_data content that might be used to resolve references to a new env.ref_context dictionary.
2014-09-20 19:15:41 +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
tk0miya
d076452199
do nested_parse() :caption: of code-block directive
2014-09-19 12:04:25 +09:00
tk0miya
447c8c1d37
Wrap float environment on writing literal_block to latex
2014-09-19 11:08:07 +09: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
Guillem Barba
24c5eb6e9c
Add unit test for new env-read-docs event
2014-09-01 09:19:43 +02:00
Takayuki Shimizukawa
d11267b205
Merge with stable
2014-08-30 20:20:19 +09:00
Takayuki Shimizukawa
ad69dadd14
Now Sphinx exits with non-zero status code if builder status is not success. Closes #508 .
2014-08-29 01:14:54 +09:00
Takayuki Shimizukawa
438f9fe3de
make text generate wrong table when it has empty table cells. Closes #1544
2014-08-26 20:52:02 +09:00
Takayuki Shimizukawa
8f7936d75c
* gettext does not extract nodes.line in a table or list. Closes #1477
2014-08-26 01:39:26 +09:00
tk0miya
b17320ee1e
Fix cannot capture title of literal_block node by xref
2014-08-24 14:33:56 +09:00
Takayuki Shimizukawa
8536b4844e
Merged in tk0miya/sphinx (pull request #266 )
...
Rename :filename: option of code-block directive to :caption:
2014-08-24 11:02:36 +09:00
Takayuki Shimizukawa
799ae87ce0
fix fc1901d for py3, again. and add 2 assertions
2014-08-22 13:01:11 +09:00
Takayuki Shimizukawa
2987330a11
fix fc1901d for py3
2014-08-22 12:39:42 +09:00
Takayuki Shimizukawa
e8b870de0c
:mod:~sphinx.ext.viewcode support imported function/class aliases. Closes #623
2014-08-22 11:38:56 +09:00
tk0miya
dd8a02d5e1
Fix #1381 :rfc: and :pep: roles support custom link text
2014-08-20 12:27:08 +09:00