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
tk0miya
873efc5358
Fix #1512 env.record_dependency crashes on multibyte directories
2014-09-15 22:10:13 +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
tk0miya
95fc3ce888
Backed out changeset 177fce4ba59c
2014-08-20 12:21:18 +09:00
tk0miya
3c1067c038
Fix #1381 :rfc: and :pep: roles support custom link text
2014-08-20 12:19:12 +09:00
tk0miya
3c8bc8f5fd
Merge upstream changes
2014-08-20 10:05:58 +09:00
Takayuki Shimizukawa
4be8071639
Merged in tk0miya/sphinx (pull request #269 )
...
Fix #1476 replace <tt> tag by <code>
2014-08-20 06:45:18 +09:00
Takayuki Shimizukawa
f68c3b1caf
Merged in tk0miya/sphinx (pull request #274 )
...
Set its URL as a default title value if URL appears in toctree
2014-08-20 06:14:15 +09:00
tk0miya
7db168416b
Set its URL as a default title value if URL appears in toctree
2014-08-20 01:00:29 +09:00
tk0miya
57cc7dfa05
Fix RuntimeError with numbered circular toctree
2014-08-19 10:44:09 +09:00
Takayuki Shimizukawa
60911efe05
Merge with tip
2014-08-18 23:20:42 +09:00
Takayuki Shimizukawa
4046c5f0e2
Merged in tk0miya/sphinx (pull request #268 )
...
Fix numbering section does not work at singlehtml mode (adhoc)
2014-08-18 23:10:59 +09:00
tk0miya
14107fd5de
Fix numbering section at singlehtml mode does not work for nested toctree
2014-08-18 22:06:30 +09:00
Shoji KUMAGAI
b71508d6fa
Add theme contents for 'bizstyle'
2014-08-15 13:38:02 +09:00
Takayuki Shimizukawa
b8c2619858
Merged in r_rudi/sphinx (pull request #267 )
...
add 'diff' parameter to literalinclude.
2014-08-13 13:17:47 +09:00
shirou
4e70d364ba
add test and document about diff params in literalinclude.
2014-08-12 14:11:54 +09:00
tk0miya
0943375069
Fix #1476 replace <tt> tag by <code>
2014-08-12 12:12:10 +09:00
tk0miya
5725ee0e82
Fix numbering section does not work at singlehtml mode (adhoc)
2014-08-12 11:22:34 +09:00