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
Takayuki Shimizukawa
954869df26
merge with stable
2014-08-12 06:42:57 +09:00
Takayuki Shimizukawa
e984e381e8
* On Python3 environment, docutils.conf with 'source_link=true' in the general section cause type error. Closes #1531
2014-08-12 00:11:23 +09:00
tk0miya
3e1667290b
Rename :filename: option of code-block directive to :caption:
2014-08-11 22:36:31 +09:00
Takayuki Shimizukawa
e5cb460d8b
* update old XPath notation
2014-08-11 14:19:14 +09:00
Takayuki Shimizukawa
1d65d9cdc6
rename test files
2014-08-10 23:47:27 +09:00
Takayuki Shimizukawa
d39327d539
* for pull request #258 : update CHANGES, add tests, add a document and refactoring.
2014-08-10 23:03:02 +09:00
Takayuki Shimizukawa
ed9de1c9e8
* provide _copy_to_temp option for TestApp()
2014-08-10 22:23:52 +09:00
Takayuki Shimizukawa
8dcd094a30
Merged in jakobla/sphinx (pull request #263 )
...
Rewrite of C++ domain (also fixes #1013 , #1103 )
2014-08-10 20:02:37 +09:00
Jakob Lykke Andersen
e43fcfa1f4
C++, test now also work with Python 3.
2014-08-10 11:59:22 +02:00
Takayuki Shimizukawa
c3fdd2a9c3
* refactoring
2014-08-10 16:31:28 +09:00
Takayuki Shimizukawa
68949656b2
* for PR#264: update CHANGES, add tests, small refactoring.
2014-08-10 16:28:31 +09:00
Jakob Lykke Andersen
640dfc1951
Merged birkenfeld/sphinx into default
2014-08-06 18:54:23 +02:00
Jakob Lykke Andersen
14e6affa7d
C++, update id generation to use name mangling
2014-08-06 17:41:51 +02:00
Takayuki Shimizukawa
3efd230a0e
fix test caused by previious commit: 989c16e04371c
2014-08-05 01:54:56 +09:00
Takayuki Shimizukawa
f7399a261a
Add app.set_translator() API to register or override a Docutils translator class like :confval:html_translator_class
.
2014-08-05 00:18: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
eaed3ca9f1
Automatically compile `*.mo
files from
*.po
` files.
2014-08-03 16:22:08 +09:00
Takayuki Shimizukawa
eb8dbf4631
Fix malformed po files in the test-intl directory
2014-08-03 14:34:40 +09:00
Takayuki Shimizukawa
da4c67e2a3
When specifying toctree :numbered: option and :tocdepth: metadata, sub section number that is larger depth than :tocdepth:
is shrinked. Closes #1251 .
2014-08-02 18:10:41 +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
Takayuki Shimizukawa
6630255a10
* Fix: Undecodable source reading cause UnicodeDecodeError instead of emitting warnings. Thanks to anatoly techtonik. Closes #1524
2014-07-30 02:47:22 +09:00
Jakob Lykke Andersen
23df17b404
C++, change parsing context to explicit arguments, fixes some casting operators.
2014-07-27 02:57:41 +02:00
Jakob Lykke Andersen
caad958de4
C++, fix namespacing of elements and xrefs.
2014-07-24 11:09:28 +02:00
Jakob Lykke Andersen
967ca06545
Revamp of C++ domain.
2014-07-24 01:40:48 +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
Jakob Lykke Andersen
b293be1fc9
C++ domain, add support for virtual functions.
2014-07-18 18:09:25 +02:00
Takayuki Shimizukawa
da20c3713b
merge with stable
2014-07-13 11:43:12 +09:00
Takayuki Shimizukawa
269421bc58
* Fix: Non-ASCII filename raise exception on make singlehtml, latex, man, texinfo and changes. Closes #1508
2014-07-13 10:44:48 +09:00
Takayuki Shimizukawa
e2ed97031d
use test generator nosetests feature.
2014-07-12 22:14:14 +09:00
Takayuki Shimizukawa
91709946d6
* Fix: py:function directive generate incorrectly signature when specifying a default parameter with an empty list []
. Closes #1503
2014-07-12 20:50:15 +09:00
Takayuki Shimizukawa
b3aa4aa81b
* In autodoc, fix display of parameter defaults containing backslashes. Closes #1502
2014-07-02 00:09:11 +09:00
Takayuki Shimizukawa
f781f55b28
* With non-callable setup
in a conf.py, now sphinx-build emits user-friendly error message. Closes #1499
2014-06-30 22:54:28 +09:00
Takayuki Shimizukawa
ff8ce91f77
* Fix: autosummary can't handle nested classes correctly. Closes #1441
2014-06-21 17:05:31 +09:00
Takayuki Shimizukawa
0fb938ad38
* add test and code comment for pull request #157
2014-06-14 17:03:57 +09:00
Rob Ruana
71b8fe8854
Closes #1489 : Removes use of ":annotation:" for attribute types in napoleon, as inline markup is not allowed
2014-06-13 14:06:39 -06:00
Takayuki Shimizukawa
74fbd611ab
merge with stable
2014-06-09 22:45:05 +09:00
Takayuki Shimizukawa
1d742bdcf5
* Fix exception on Python3 if nonexistent method is specified by automethod. Closes #1467
2014-06-09 01:43:34 +09:00
Takayuki Shimizukawa
52331a04c3
* Provide non-minified JS files for jquery.js and underscore.js to clarify the source of the minified files. refs #1434 .
2014-06-07 18:32:56 +09:00
Takayuki Shimizukawa
9ebee01d19
* update CHANGES and fix for py3-compat for pull request #241 . Closes #1466
2014-05-28 00:14:50 +09:00
Takayuki Shimizukawa
a8c2bd4f1f
Merged in vitaut/sphinx/cpp-variadic (pull request #241 )
...
Add support for variadic templates in C++ domain
2014-05-28 00:08:48 +09:00
Takayuki Shimizukawa
6746c83a18
* Drop Python-3.2. And now, removing 2to3 mechanism procedure has been completed. Closes #1350 .
...
Pygments-2.0 will drop Python-3.2.
The snowballstemmer package that is referred from sphinx-1.3 (that is merged at pull request #214 ) has not supported Python-3.2.
We decided to drop the Python-3.2.
see also https://bitbucket.org/birkenfeld/sphinx/pull-request/243/native-py2-py3-support-without-2to3-refs
2014-05-27 23:17:36 +09:00
Takayuki Shimizukawa
6beeeeb827
remove unnecessary list()
wrappers. In some places, I replaced iterable.sort()
with sorted(iterable)
.
2014-05-25 09:25:02 +09:00
Victor Zverovich
6e56a12d4a
Add support for variadic templates in C++ domain
2014-05-12 08:12:37 -07:00
Takayuki Shimizukawa
ba4dcaa8dd
use b prefix for bytes instead of sphinx.pycompat.b function.
2014-05-01 22:54:09 +09:00
Takayuki Shimizukawa
75e22ba522
delegate '__nonzero__' to '__bool__' for py2/py3 compatibility in one source. #1350
2014-05-01 20:14:19 +09:00
Takayuki Shimizukawa
956d6286bf
remove 2to3. #1350 .
2014-05-01 17:27:27 +09:00
Takayuki Shimizukawa
5fd8dc885f
fix py2/py3 compat for 'iter.next()/next(iter)' and 'dict.values()/list(dict.values())'. refs #1350 .
2014-05-01 13:08:36 +09:00
Takayuki Shimizukawa
071fb45a54
use 'next(iter)' instead of 'iter.next()' to support py2/py3 compatibiity. refs #1350 .
2014-05-01 12:49:47 +09:00
Takayuki Shimizukawa
2d1549b35a
wrap py3 iterators with list() for each places that expect a list object. refs #1350 .
2014-04-30 23:25:44 +09:00
Takayuki Shimizukawa
6ae3b68859
replace ur'' prefix with r'' to support py2/py3 in one source. refs #1350
2014-04-30 23:04:21 +09:00
Takayuki Shimizukawa
1e58062692
remove 'six' name except importing line.
2014-04-30 21:30:46 +09:00
Takayuki Shimizukawa
f31d9113ff
use six privided functions/classes to support py2/py3 in one source. refs #1350
2014-04-30 20:39:26 +09:00
Takayuki Shimizukawa
00eff0b7f6
use six privided text_type() to replace with unicode() to support py2/py3 in one source. refs #1350 .
2014-04-29 23:44:12 +09:00
Takayuki Shimizukawa
91b9d75ac8
provide __next__() and use native next() to support py2/py3 in one source. refs #1350 .
2014-04-29 21:54:25 +09:00
Takayuki Shimizukawa
ce4d342e20
use six privided iteritems(),itervalues() to support py2/py3 in one source. refs #1350 .
2014-04-29 21:20:56 +09:00
Takayuki Shimizukawa
c3c879f2c6
use six privided functions/classes to support py2/py3 in one source. refs #1350 .
2014-04-29 19:59:58 +09:00
Takayuki Shimizukawa
68290a266c
introduce the six module and reduce sphinx.util.pycompat implementation. refs #1350 .
2014-04-29 11:46:47 +09:00
Takayuki Shimizukawa
1e4b390b22
remove tests.util.write_file duplicated implementation.
2014-04-28 19:58:26 +09:00
Rob Ruana
bbfd0d058a
Closes 1455: Adds better handling of namedtuples in napoleon's skipmember function
2014-04-19 03:58:11 -04:00
Takayuki Shimizukawa
ecaeff1689
refactoring the test_autosummary.py
2014-04-12 00:24:53 +09:00
Takayuki Shimizukawa
8f69e25c85
* Fix: autosummary does not create the description from attributes docstring. Closes #1444
2014-04-11 23:38:37 +09:00
Georg Brandl
18755458a1
merge with stable
2014-03-25 09:31:44 +01:00
Takayuki Shimizukawa
43a9881c4b
Fix i18n: missing python domain's cross-references with currentmodule directive or currentclass directive. refs #1363
...
* node attributes 'py:module', 'py:class' is provided from environment (e.x. currentmodule directive is provided on previous line, not on node)
* Because translation nodes are parsed in independently, 'provided attributes by environment' are not exist.
* For a pending_xref nodes, all attributes of a translated xref node should be same as original xref node in current test cases.
* For the above reasons, I overwrite all attributes from origonal node to new translated xref node.
2014-03-23 23:01:15 +09:00
Rob Ruana
c430f7f4c6
Closes #1429 : Adds smarter Args parsing for Google style docstrings.
2014-03-21 19:21:18 -04:00
Rob Ruana
3e7ce5d3a1
Closes #1418 : Private and special members are properly skipped on Python 3.3
2014-03-11 03:50:49 -04:00
Rob Ruana
191e0b4c12
Closes #1384 : Parse and interpret See Also section the way NumpyDoc does
...
The NumpyDoc extension that is developed by the Numpy folks does a lot
of extra work interpreting See Also sections. It assumes that the contents
of the See Also will always be references to other functions/classes and
it tries to deduce what is being referenced.
I've ported their implementation for See Also sections written in the
Numpy style. There is NO extra interpretation done for See Also sections
that are written using the Google style.
2014-03-09 22:07:21 -04:00
Rob Ruana
18df6421bf
Closes #1396 : Param types with inline markup no longer italicized
...
Napoleon was attempting to render nested inline markup
( [a big no-no!](http://sphinx-doc.org/rest.html ) ) for
parameter types. Now, if Napoleon sees any backquotes
in the parameter type, it is rendered without italics.
2014-03-09 01:56:56 -05:00
Rob Ruana
5564012306
Closes #1410 : imports Mock from unittest.mock when available (Python >=3.3)
2014-03-06 03:49:11 -05:00
Georg Brandl
f8096e3fa0
merge with stable
2014-03-01 08:42:58 +01:00
Georg Brandl
55e2f29170
fix windows newlines
2014-03-01 08:42:35 +01:00
Georg Brandl
1f4016d679
Merged in barnabas79/sphinx (pull request #218 )
...
Closes #1374 : Autosummary generates overly-long summaries if first line doesn't end with a period
2014-03-01 08:28:28 +01:00
Georg Brandl
ac92719ac3
Update copyright year.
2014-03-01 08:18:23 +01:00
Georg Brandl
e030031321
Update copyright year.
2014-03-01 08:18:16 +01:00
Paul Molodowitch
d4a0a14aa5
Closes #1374 : Autosummary generates overly-long summaries if first line doesn't end with a period
2014-02-03 19:35:04 -08:00
Paul Molodowitch
05f1049b3e
Closes #1374 : Autosummary generates overly-long summaries if first line doesn't end with a period
2014-02-03 19:35:04 -08:00
Georg Brandl
b1a9f7548b
consistency nits
2014-01-22 18:15:42 +01:00
Dmitry Shachnev
953b33d3f7
Merge
2014-01-22 18:34:51 +04:00
Ben Darnell
3ed243de54
Fix an exception introduced by b69b59480cba for __init__ with no docstring.
2014-01-20 11:54:51 -05:00
Ben Darnell
b0ca105c36
Fix an exception introduced by b69b59480cba for __init__ with no docstring.
2014-01-20 11:54:51 -05: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
Takayuki Shimizukawa
dd41adf0a0
merge heads
2014-01-18 16:34:47 +09:00
Georg Brandl
e5f58d686e
merge with stable
2014-01-17 07:25:31 +01:00
Georg Brandl
24a8b516bf
Remove sphinx.ext.oldcmarkup compatibility extension.
2014-01-17 07:24:23 +01:00
Georg Brandl
de92e3b026
Closes #1285 : Avoid name clashes between C domain objects and section titles.
2014-01-17 07:08:32 +01:00
Takayuki Shimizukawa
cc7509966c
merge heads
2014-01-15 05:25:56 +00:00
Georg Brandl
336ae30edb
Prompt for the document language in sphinx-quickstart.
2014-01-11 15:05:45 +01:00
Georg Brandl
1d564ace28
merge stable into default
2014-01-11 14:53:07 +01:00
Georg Brandl
c5b4ff0adc
* add a test for the parsed-literal directive
...
* adapt test to pygments output versus Sphinx-emulated nohighlighting output
2014-01-11 10:25:34 +01:00
Georg Brandl
269ef714f3
Closes #668 : Allow line numbering of `code-block
and
literalinclude
` directives
...
#to start at an arbitrary line number, with a new ``lineno-start`` option.
2014-01-11 08:44:45 +01:00
Georg Brandl
5394fbb82b
merge stable into default
2014-01-11 08:14:55 +01:00
Georg Brandl
8fdcb803cf
d98e70c13eff followup: only do type conversion of confoverrides if the values are strings and add a test
2014-01-10 22:10:29 +01:00
Georg Brandl
195050c6c4
Closes #933 : Do not crash if an `:option:
` value is malformed (contains spaces
...
but no option name).
2014-01-10 22:04:03 +01:00
Georg Brandl
865d677eb8
merge stable into default
2014-01-10 21:26:12 +01:00
Georg Brandl
82e294ec0f
Closes #1312 : use non-deprecated unittest-like names
2014-01-10 15:11:27 +01:00
Georg Brandl
ac48fa83d9
Merged in hsoft/sphinx (pull request #202 )
...
Allow "." and "~" prefixes in inline :param: typedefs.
2014-01-10 14:56:40 +01:00
Virgil Dupras
ea02a07562
Allow "." and "~" prefixes in inline :param: typedefs.
2014-01-04 21:40:52 -05:00
Takayuki Shimizukawa
f7cb510ebd
Drop python-3.1 and remove support codes
2013-12-15 16:04:23 +09:00
Takayuki Shimizukawa
a8fc938d1b
Drop python-2.5 and remove 2.4,2.5 support codes
2013-12-15 14:16:53 +09:00
Georg Brandl
04bc952dd9
fix trailing space
2013-12-10 10:23:45 +01:00
Takayuki Shimizukawa
1d5c7d1f20
Fix: autodoc class __init__ override not removed from docstring. Closes #1138
2013-12-09 10:55:51 +00:00
Takayuki Shimizukawa
6432f65347
fix test error; can't remove empty directory problem on Windows.
2013-12-08 16:58:34 +09:00
Takayuki Shimizukawa
d96de9d128
Fix test_linkcode.test_html fails with C locale and Python 3. Closes #1311
2013-11-17 03:39:27 +00:00
Takayuki Shimizukawa
8e507f54a5
Merged in mitya57/sphinx (pull request #176 )
...
Make sure setup_command test can always import Sphinx
2013-11-16 17:44:22 +09:00
Takayuki Shimizukawa
63d34cca47
Add tests and code refine for pull request #190 .
2013-11-12 15:17:09 +00:00
Takayuki Shimizukawa
e61f316c74
Fix autodoc with `autoclass_content="both"
uses useless
object.__init__
docstring when class does not have
__init__
`. Closes #1337
...
This caused by a change for #1138 .
2014-01-02 12:42:12 +09:00
Takayuki Shimizukawa
3d67be3dce
Fix autosummary template overloading cause infinite recursive function call. Closes #1335
2013-12-27 05:23:47 +00:00
guibog
a8f65e9d3c
autodoc extension: add autodoc_mock_imports config value
2013-10-23 16:36:45 +08:00
Georg Brandl
424ca5c28a
test_intl fix-up after versionmodified change.
2013-10-12 22:57:09 +02:00
Dmitry Shachnev
c7002b90b8
Make sure setup_command test can always import Sphinx
2013-10-05 19:36:12 +04:00
Takayuki Shimizukawa
313559116d
Backed out changeset cfe9e2d11003 refs #1265
2013-10-04 08:12:20 +00:00
Takayuki Shimizukawa
603a75d8d3
Now gettext translates label target name. Fix i18n: crash when using a indirect target and translating a target section name. Closes #1265
2013-10-04 05:07:09 +09:00
Takayuki Shimizukawa
be65b99879
grammar fix: 'multibyte filename' is ambiguous. They are replaced with 'non-ASCII filename'. refs #703
2013-10-03 06:43:22 +00:00
Takayuki Shimizukawa
b37f385810
Add test refs #1265 (comment-6264794) to validate translated label link shifting.
2013-10-03 02:53:53 +00:00
Georg Brandl
895899b7bb
small grammar fix in multibyte filename messages
2013-10-01 19:50:32 +02:00
Takayuki Shimizukawa
58be2f19b3
When Sphinx couldn't decode multibyte filename, now Sphinx notices UnicodeError and continuing if possible instead of raise exception. Closes #703
2013-09-28 12:51:20 +00:00
Takayuki Shimizukawa
7682f477dc
Fix i18n: crash when translating section name that is pointed from named target. Closes #1265
2013-09-23 19:53:22 +09:00
Takayuki Shimizukawa
53810ae607
fix: test_build_latex and test_build_texinfo raise SkipTest if command missing. Closes #1184 .
2013-09-23 09:57:36 +09:00
Takayuki Shimizukawa
99008f5b78
Fix again: NFC/NFD normalizing problem. Closes #1142
2013-09-18 08:51:20 +00:00
Georg Brandl
ae8782178e
Test suite quickfix.
2013-09-16 09:45:56 +02:00
Georg Brandl
1a99c74e4b
Merged in RelentlessIdiot/sphinx (pull request #149 )
...
Fix #1203 : Do not append space to unknown field names.
2013-09-16 09:18:47 +02:00
Georg Brandl
8b85355a22
Fix new html_extra_path option for singlehtml builder.
2013-09-16 04:33:02 +02:00
Georg Brandl
7c7c5af02a
Merged in mcmtroffaes/sphinx-html-extra-path (pull request #158 )
...
Add html_extra_path option to copy additional files ad verbatim to the output root folder.
2013-09-16 04:28:22 +02:00
Georg Brandl
e732807869
Merged in JonnyJD/sphinx/autodoc_novalue (pull request #109 )
...
feature: autodoc: add :annotation: option for autodata and autoattribute
2013-09-16 04:25:53 +02:00
Matthias C. M. Troffaes
e20c82a277
Test that extra entries are in outdir.
2013-08-22 09:24:00 +01:00
Matthias C. M. Troffaes
28873bfa6a
Set up initial test.
2013-08-22 09:20:47 +01:00
Tres Walsh
829a5150da
Add support for C++11 member function ref-qualifiers and C++03 volatile member function ref-qualifier
...
Specifically, support for the following has been added:
* rvalue reference for *this
* volatile
* override keyword support
Additionally support for '= default' and '= delete' has been added.
Several tests have also been added to test_cpp_domain.py to insure that these features actually work.
2013-08-07 09:24:32 -07:00
Takayuki Shimizukawa
04d22a53d5
support parallel testing with detox
2013-07-27 16:15:36 +09:00
Takayuki Shimizukawa
91ef671ea9
Add test for docutils.conf and prevent 'html4css1.css' missing warning.
...
Now --embed-stylesheet option default become false.
2013-07-27 14:13:15 +09:00
Takayuki Shimizukawa
33c9e1fb28
Fix i18n: gettext did not translate admonition directive's title. Closes #1206
2013-07-03 08:19:10 +00:00
Rob Ruana
718f4a6f8c
Fix #1203 : Does not append space to unknown field names.
...
If an unknown field name is encountered, a space is only
appended if the field arguments are not empty. Also,
only the first character of the field name is upper cased,
and the case of the rest of the string remains unchanged.
2013-06-23 16:06:45 -04:00
Takayuki Shimizukawa
7904b0678a
Fix i18n: footnote reference number missing for auto numbered named footnote and auto symbol footnote. Closes #1176
2013-06-21 03:28:32 +00:00
Takayuki Shimizukawa
2cdb6b03c9
test improvement
2013-06-21 01:09:13 +00:00
Takayuki Shimizukawa
4579bb6e85
fix: translation mechanism break label target if label and section name are same. refs #1193
2013-06-19 06:07:47 +00:00
Takayuki Shimizukawa
f9b733fc47
test_intl:external_link test case correction to fit to reST syntax.
2013-06-18 11:14:27 +00:00
Takayuki Shimizukawa
a997f98333
fix: keep reference if link refname was translated. refs #1193
...
case1::
Keep link to ExternalSite_.
It will translated with ``\`SomeOtherString\`_``.
.. _ExternalSite: http://example.com
case2::
Keep link to `title string`_ before appearing.
title string
=============
case3::
Keep link to glossary 'term string'.
.. glossary::
term string
description...
2013-06-19 10:42:26 +00:00
Takayuki Shimizukawa
afc6b6d1f8
Fix: Multiple references in the same line return the same link with i18n. Closes #1193
2013-06-17 00:12:02 +09:00
Takayuki Shimizukawa
bd4da7df55
add tests for "multiple cross references in the same line return the same link". refs #1090 , #1193
2013-06-16 14:25:29 +09:00
Takayuki Shimizukawa
deb01d8e30
Fix multiple cross references (term, ref, doc) in the same line return the same link with i18n. refs #1090 , #1193
2013-06-16 23:57:08 +09:00
Takayuki Shimizukawa
dbe60b4e02
refactoring: 'tmpdir' rename to 'tempdir' that is same name in other places.
2013-06-13 03:24:20 +00:00
Takayuki Shimizukawa
8c543c11cc
Fix: Output TeX/texinfo/man filename has no basename (only extention) when using multibyte characters to "Project name" on quickstart. Closes #1190
2013-06-13 03:22:23 +00:00
Takayuki Shimizukawa
f24eb8c47d
fix typo ;)
2013-06-13 03:08:57 +00:00
Takayuki Shimizukawa
f2de6cdb6d
fix for unicode object syntax. ur'' is meaningless.
2013-06-13 02:51:17 +00:00
Takayuki Shimizukawa
8ec83f963b
Fix "Title underline is short" WARNING is given when using fullwidth characters to "Project name" on quickstart. Closes #1189
2013-06-09 09:48:43 +09:00
Takayuki Shimizukawa
573d8433b9
Fix sphinx-quickstart raises UnicodeEncodeError if "Project version" includes non-ASCII characters. Closes #1188
2013-06-09 09:06:21 +09:00
Takayuki Shimizukawa
9d3bac3b8e
Fix: Citation target missing cause AssertionError. Closes #1160
2013-05-02 10:37:12 +09:00
Takayuki Shimizukawa
59d655c435
Fix: Combination of 'globaltoc.html' and hidden toctree cause exception. Closes #1157
2013-04-30 23:36:27 +09:00
Takayuki Shimizukawa
c8ebb875de
Rebuild i18n target document when catalog updated
2013-04-15 00:56:13 +09:00
Takayuki Shimizukawa
b91f70be6e
Fix: 'make gettext' cause UnicodeDecodeError when templates contain utf-8 encoded string.
2013-04-13 22:44:37 +09:00
Georg Brandl
56ac8a19ee
test suite fixes
2013-04-01 15:11:18 +02:00
Georg Brandl
52515eeb86
Copyright header update.
2013-04-01 11:41:48 +02:00
Georg Brandl
1af3e3ea71
tests: replace "from util import *" by explicit imports
2013-04-01 11:39:32 +02:00
Georg Brandl
21f0ca8197
Closes #896 : use SkipTest in build_latex test if latex is not installed
2013-04-01 11:26:21 +02:00
Georg Brandl
9abf39f912
Fix overlong lines.
2013-03-31 15:44:04 +02:00
Takayuki Shimizukawa
b8850502d2
merge heads
2013-03-17 10:58:28 +09:00
Takayuki Shimizukawa
2c409959ac
Add i18n capabilities for custom templates.
...
For example: The Sphinx reference documentation in doc directory provides
sphinx.pot file from ``doc/_templates/*.html`` by ``make gettext``.
2013-03-10 22:07:31 +09:00
Takayuki Shimizukawa
e2087189ea
Add regression test for #1109 . Issue was corrected at previous commit 62b0a5f17f62. Closes #1109
2013-03-09 23:14:31 +09:00
Takayuki Shimizukawa
f6fca7a8ac
Fix: text builder breach max-witdh specificatoin if paragraph have prefixed text. ex: 'See also:'
2013-03-09 22:58:47 +09:00
Johannes Dewender
649ab8030c
autodoc: change :novalue: to :annoation: option
...
The :novalue: option is now called :annotation: and has an additional feature:
When given with an argument, you can specify what the annotation
of the object will be.
2013-02-27 16:38:55 +01:00
Takayuki Shimizukawa
fffde7817d
Merged in knzm/sphinx-fix-docfields-fork (pull request #96 )
...
make docfield translatable
2013-02-24 19:05:15 +09:00
Jonathan Waltman
66d799bb00
Closes #1108 : [text] Correctly number enumerated lists with non-default start values (based on patch by Ewan Edwards).
2013-02-20 13:50:40 -06:00
Takayuki Shimizukawa
a462284f95
fix: make.bat is always saved with 'LF' instead of 'CRLF' for both Win/Unix.
2013-02-10 11:51:36 +09:00
Takayuki Shimizukawa
05718e4a1a
conf.py now accept CRLF end-of-line.
2013-02-10 15:25:45 +09:00
Takayuki Shimizukawa
00fa1b2505
Fix text builder did not respect wide/fullwidth characters for textwrap.
2013-02-07 03:34:51 +00:00
Nozomu Kaneko
1bd7aaed7f
merge
2013-02-06 13:28:26 +09:00
Takayuki Shimizukawa
b8296ad11e
Fix text builder did not respect wide/fullwidth charactors for table layout.
2013-02-06 00:29:59 +09:00
Takayuki Shimizukawa
529e45a980
Fix text builder did not respect wide/fullwidth charactors for title line.
2013-02-05 23:57:26 +09:00
Takayuki Shimizukawa
6667a7cbdf
fix toctree entry missing for testing.
2013-02-05 03:54:35 +00:00
Takayuki Shimizukawa
7ebd7ab2a9
fix: roles' reftarget ware swapped if there are some roles in 1 line and translation exchange rthat roles position. refs #1090
2013-02-05 12:47:08 +09:00
Takayuki Shimizukawa
d6f31f3fa1
remove unusable 'SEVERE: Duplicate ID' message for footnote that the translation node has been recognized as a duplicate.
2013-02-04 23:06:44 +09:00
Takayuki Shimizukawa
c1c0a03895
fix: reporting correct line number when translations have wrong reST syntax or else.
2013-02-04 22:23:03 +09:00
Nozomu Kaneko
81d21a7714
make versionmodified translatable
2013-02-04 09:03:34 +09:00
Nozomu Kaneko
6aa8d4b373
Merged in knzm/sphinx-fix-docfields-fork (pull request #96 )
2013-02-04 05:59:15 +09:00
Takayuki Shimizukawa
70f3f889d1
Fix autodoc crash if :members: and :special-members: ware both set (by d7ac5e4).
2013-02-03 22:27:20 +09:00
Takayuki Shimizukawa
e70a43a9c5
Closes #1062 : sphinx.ext.autodoc use __init__ method signature for class signature.
2013-02-03 20:27:34 +09:00
Takayuki Shimizukawa
4d4dad3610
test refactoring: use with_setup for all test_autodoc.py's tests
2013-02-03 13:53:10 +09:00
Takayuki Shimizukawa
e47f434c32
add test for pull request #111 : Respect add_autodoc_attrgetter() even when inherited-members is set
2013-02-03 12:48:39 +09:00
Takayuki Shimizukawa
a86ea846e2
Fix :term: doesn't link to glossary if term text translated. refs #1090
2013-01-30 23:41:37 +09:00
Takayuki Shimizukawa
6f4764f77b
Fix gettext does not extract glossary terms. Closes #1090
2013-01-30 00:13:58 +09:00
Johannes Dewender
ffb825d733
fix tests for autodoc novalue option
...
In the tests for autodoc the Options are of type struct,
while in the code there is a special autodoc.Options class,
which is a dict.
So "novalue" in self.options doesn't work,
but self.options.novalue does work for both.
Additionally the logic for autoattribute was wrong and is fixed now.
2013-01-24 18:17:53 +01:00
Takayuki Shimizukawa
60f6fc4805
fix debug2 UnicodeEncodeError issue with multibyte names node
2013-01-21 08:09:43 +09:00
Georg Brandl
7d68f0e4a2
Fix long lines reported by "make check".
2013-01-13 10:22:38 +01:00
Takayuki Shimizukawa
3a5277c14c
fix: autodoc documented descriptor class as attribute
2013-01-12 18:12:55 +09:00
Takayuki Shimizukawa
9f8f93e5e1
fix test_seealso failed with python3
2013-01-12 22:26:38 +09:00
Jonathan Waltman
bba6104b84
Issue #1069 : Add failing test for signature formatting of "partial" functions without kwargs.
2013-01-09 08:37:53 -06:00
Jonathan Waltman
b98123cd12
Add man_pages config to tests/root/conf.py.
2013-01-06 23:42:25 -06:00
Jonathan Waltman
f4a346760c
Fix test_man which didn't test if docs were being built. It now successfully fails.
2013-01-06 23:36:33 -06:00
Nozomu Kaneko
d2a087e88d
fix tests correspond to 6c70ca26a841 (Divide test_intl target ...)
2013-01-06 20:33:43 +09:00
Robert Lehmann
32b87e258b
merge birkenfeld/sphinx
2013-01-06 12:14:57 +01:00
Nozomu Kaneko
f01d1358f8
resolve conflicts
2013-01-06 20:12:54 +09:00
Robert Lehmann
2b3fb57cc5
merge knzm/sphinx-fix-seealso-fork
2013-01-06 11:44:58 +01:00
Nozomu Kaneko
919ba75483
versionlabels are handled entirely in the versionmodified directive, instead of the writers.
...
Now it returns a versionmodified node with the versionlabel already inserted.
2013-01-06 18:37:21 +09:00
Nozomu Kaneko
7630467f84
fix: paragraphs in versionmodified are ignored when it has no dangling paragraphs.
2013-01-06 18:05:49 +09:00
Takayuki Shimizukawa
9b9c69042e
Divide test_intl target source files for speed-up.
2013-01-06 16:15:49 +09:00
Jonathan Waltman
268b009017
Move "only" directive tests to a seperate test root.
2013-01-05 20:14:48 -06:00
Takayuki Shimizukawa
b17c588b0d
Closes #976 : Fix gettext does not extract index entries.
2013-01-05 23:38:21 +09:00
Jonathan Waltman
42c90ee178
Add basic debugging support for autodoc.
2013-01-05 08:28:54 -06:00
Nozomu Kaneko
a56a8f87c8
merge
2013-01-05 20:43:45 +09:00
Takayuki Shimizukawa
ab6706e6ed
Closes #940 : Fix gettext does not extract figure caption.
...
This is docutils issue.
see also: https://sourceforge.net/tracker/?func=detail&aid=3599485&group_id=38414&atid=422032
2013-01-05 01:06:42 +09:00
Takayuki Shimizukawa
263d5b376f
Fix text writer can not handle visit_legend for figure directive contents.
2013-01-04 18:18:43 +09:00
Takayuki Shimizukawa
19a8c9e2e5
fix problems with py25,py3x for search index generation
2013-01-04 21:46:17 +09:00
Jonathan Waltman
cf4166fa58
Fix `test_i18n_literalblock_warning
` which would sometimes fail due to the text wrapping of error messages.
2013-01-03 13:55:26 -06:00
Robert Lehmann
0725cb608a
merge with birkenfeld/sphinx
2013-01-02 17:45:33 +01:00
Georg Brandl
151856819c
Copyright update.
2013-01-01 22:13:15 +01:00
Takayuki Shimizukawa
7022b6f251
Add regression test for gettext does not extract definition terms. Closes #975
2013-01-01 14:17:53 +09:00
Georg Brandl
998d567d5c
Closes #1065 : in Makefiles, ignore errors in "rm" using the -f flag, not a "-" prefix.
2012-12-31 09:39:02 +01:00
Nozomu Kaneko
023a53c609
stop calling rmtree in a test
2012-12-24 04:04:39 +09:00
Nozomu Kaneko
ba50c00a0e
merge heads
2012-12-24 03:39:37 +09:00
Nozomu Kaneko
40b5167657
remove useless comments
2012-12-19 08:02:21 +09:00
Nozomu Kaneko
ccd8067ee5
fix #1058 : footnote backlinks with i18n
2012-12-19 07:49:17 +09:00
Nozomu Kaneko
da008da569
fix #1058 Footnote backlinks do not work
2012-12-19 06:13:20 +09:00
Nozomu Kaneko
a1e9f2d675
make docfield translatable
2012-12-18 06:08:25 +09:00
Robert Lehmann
cbca1bdc97
Verify seealso directives end up in gettext catalogs.
2012-12-16 21:21:37 +01:00
Takayuki Shimizukawa
6e044aedbc
Avoid unusable warning in using i18n translation. Closes #1057 .
...
And there is related information at pull request #86
2012-12-16 22:56:38 +09:00