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