Commit Graph
100 Commits
Author SHA1 Message Date
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 472a3a83b2 change: now XMLBuilder.get_target_uri() return docname to keep reference information from document to another document. refs #1193 2013-06-16 01:39:51 +09:00
Takayuki Shimizukawa 98c946d8a1 Fix again. Remove the effect of DST changing by the execution time difference. refs #1182 2013-06-15 12:59:49 +09:00
Takayuki Shimizukawa c79e11a5c9 Force timezone offset to LocalTimeZone on POT-Creation-Date that was generated by gettext builder. refs #1182 2013-06-13 12:54:05 +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 83b061f7d5 fix typo :) 2013-06-11 08:19:52 +09: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 cb1200a8ac update CHANGES for PR#145 2013-06-05 05:00:59 +00:00
Takayuki Shimizukawa 25dc09e7f4 Merged in tychoish/sphinx (pull request #145)
fixing issue in parallel builds, sphinx drops second doc
2013-06-05 13:57:48 +09:00
Takayuki Shimizukawa 2c1cbf319e merge stable for PR#141, #982 2013-06-04 09:19:49 +00:00
Takayuki Shimizukawa 21de0f5ede update CHANGES for PR#141, #982 2013-06-04 09:17:10 +00:00
Takayuki Shimizukawa a1fc267c41 update CHANGES for #1162 2013-06-04 06:18:39 +00:00
Takayuki Shimizukawa 9cb9a7b4f1 Merged in mitya57/sphinx (pull request #139)
SingleHtml builder now calls write_doc_serialized(). Closes #1162.
2013-06-04 15:16:17 +09:00
Takayuki Shimizukawa b7be3d2f4b add CHANGES for pot-creation-date format. Closes #1182 2013-06-04 03:30:10 +00:00
Takayuki Shimizukawa e61d016ad1 Merged in masklinn/sphinx-1/masklinn/add-0000-to-potcreationdate-z-sets-an-e-1369740575399 (pull request #144)
Force timezone offset on POT-Creation-Date
2013-06-04 12:22:40 +09:00
Takayuki Shimizukawa b2997a652e Fix Python version compatibility with Jinja2 2.7. closes #1173 2013-05-29 09:16:14 +00:00
Takayuki Shimizukawa 9d3bac3b8e Fix: Citation target missing cause AssertionError. Closes #1160 2013-05-02 10:37:12 +09:00
Takayuki Shimizukawa fea8264aa5 add OpenCV for EXAMPLES 2013-04-30 23:41:31 +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
Takayuki Shimizukawa b0b81d194d Fix: although template file did not have translation string, 'makee gettext' generate sphinx.pot 2013-04-13 21:16:22 +09:00
Takayuki Shimizukawa 75a128b0f8 integrate 'translationguide.rst' into 'intl.rst' 2013-04-13 18:16:48 +09:00
Takayuki Shimizukawa a4143880d2 add MPipe to example (sphinx13 theme) 2013-04-13 14:42:30 +09:00
Takayuki Shimizukawa 3b9ae95d01 update translation document 2013-04-11 23:45:15 +09:00
Takayuki Shimizukawa 1602e18242 Merged in knzm/sphinx-sandbox (pull request #127)
Update the draft of Sphinx Document Translation Guide
2013-04-03 23:34:21 +09:00
Takayuki Shimizukawa d7e6ab3cfc add first draft for sphinx document translation 2013-04-03 00:11:55 +09:00
Takayuki Shimizukawa 649a75c427 add 'locale_dirs' and 'gettext_compact' to conf.py for translation setup easier 2013-03-31 12:22:08 +09:00
Takayuki Shimizukawa e30b1325ef Because it was thought MaxJax CDN URL has not been written intentionally, I undo the changes.
See also #683.
Backed out changeset 2f9a30b7d005.
2013-03-29 10:52:52 +09:00
Takayuki Shimizukawa c4a999f682 add missing mathjax_path default value in document. 2013-03-29 10:45:24 +09:00
Takayuki Shimizukawa 4659e4054e using proper page title for Adobe's EXAMPLE link 2013-03-29 09:39:44 +09:00
Takayuki Shimizukawa 87391201b7 add 'Adobe Enterprise Toolkit' link for EXAMPLE 2013-03-29 09:35:47 +09:00
Takayuki Shimizukawa b8850502d2 merge heads 2013-03-17 10:58:28 +09:00
Takayuki Shimizukawa ca18e9726a update CHANGES 2013-03-17 10:55:50 +09:00
Takayuki Shimizukawa 2383d79854 Merged in knzm/sphinx-fix-versionchange-fork (pull request #124)
versionmodified fixes
2013-03-17 10:50:28 +09:00
Takayuki Shimizukawa 3cad43131a add 'Python Wild Magic' link for EXAMPLES 2013-03-11 12:44:03 +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 7b443298a3 add changes entry. refs #1106 2013-03-10 10:30:37 +09:00
Takayuki Shimizukawa 9afd86a569 Merged in rolmei/sphinx-epub (pull request #123)
epub_use_index instead of html_use_index for epub builder (Issue #1106)
2013-03-10 10:19:49 +09:00
Takayuki Shimizukawa 821286081c Merged in r_rudi/sphinx (pull request #122)
move "copy additional files" after "copying TeX support files" in latex builder.
2013-03-10 10:18:38 +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
Takayuki Shimizukawa 35c44b63fb add CakePHP and Chef for EXAMPLES 2013-02-26 10:19:03 +09:00
Takayuki Shimizukawa ba3e404b7c Fix uppercase word is not found in search when html_search_language='ja'. Closes #1111 2013-02-24 21:29:56 +09: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
Takayuki Shimizukawa 9b575f89d0 Added Hebrew locale. Closes #1113 2013-02-21 22:46:03 +09:00
Takayuki Shimizukawa 4bdfad3751 compile_catalog update for zh_CN 2013-02-21 22:43:39 +09: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 fa1bd2c0d1 New locales: Added Basque locale. Closes #1097 2013-02-08 00:09:37 +09:00
Takayuki Shimizukawa 00fa1b2505 Fix text builder did not respect wide/fullwidth characters for textwrap. 2013-02-07 03:34:51 +00: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 0c7cc10a69 fix: reporting correct line number implementation (6fc25e0e3a5c) was not worked with docutils 0.7, 0.8. 2013-02-05 04:40:47 +00: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
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 9735ec0a74 fix source and line value for glossary term. refs #1090 2013-01-30 00:49:41 +09:00
Takayuki Shimizukawa 6f4764f77b Fix gettext does not extract glossary terms. Closes #1090 2013-01-30 00:13:58 +09:00
Takayuki Shimizukawa de1f19da36 fix debug2 UnicodeEncodeError issue caused by docutils Element.__repr__() return unicode object if Element['names'] contain unicode object.
This is maybe docutils issue: https://sourceforge.net/tracker/?func=detail&aid=3601607&group_id=38414&atid=422030
2013-01-21 03:44:31 +00:00
Takayuki Shimizukawa 60f6fc4805 fix debug2 UnicodeEncodeError issue with multibyte names node 2013-01-21 08:09:43 +09:00
Takayuki Shimizukawa fbd63617cf add installations for each environments 2013-01-20 16:06:04 +09:00
Takayuki Shimizukawa a1bf7dbcf8 fix: output all html every time with python3.3.
Sphinx detect config changing by hash(str(cfgdict)).
In python3.3, str(dict_instance) retun another string per process.
2013-01-15 14:16:16 +09:00
Takayuki Shimizukawa 6e4a36d2fe fix: import xml confusing. 2to3 converted import xml.etree.... into from . import ... 2013-01-14 16:56:26 +09:00
Takayuki Shimizukawa 3a5277c14c fix: autodoc documented descriptor class as attribute 2013-01-12 18:12:55 +09:00
Takayuki Shimizukawa f363ef400e figure-caption work-around set int or None to node.line instead of empty string. 2013-01-12 22:30:40 +09:00
Takayuki Shimizukawa 9f8f93e5e1 fix test_seealso failed with python3 2013-01-12 22:26:38 +09:00
Takayuki Shimizukawa 9b9c69042e Divide test_intl target source files for speed-up. 2013-01-06 16:15:49 +09:00
Takayuki Shimizukawa 57289afc4e Merged in shimizukawa/sphinx-fix-i18n-fork (pull request #104: #976: Fix gettext does not extract index entries.) 2013-01-06 10:55:55 +09:00
Takayuki Shimizukawa b17c588b0d Closes #976: Fix gettext does not extract index entries. 2013-01-05 23:38:21 +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
Takayuki Shimizukawa 0158545d8e remove comment-outed docutils repository for py33 test 2013-01-01 15:29:43 +09:00
Takayuki Shimizukawa 2dc4f9dd34 add du10 test to envlist for default test 2013-01-01 15:28:30 +09:00
Takayuki Shimizukawa 7022b6f251 Add regression test for gettext does not extract definition terms. Closes #975 2013-01-01 14:17:53 +09:00
Takayuki Shimizukawa 5e8d7b9c38 fix test failure: python3 + whoosh 2012-12-17 04:24:24 +00:00
Takayuki Shimizukawa 066c432152 change tox describing (meaning was not changed) 2012-12-17 04:23:14 +00: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
Takayuki Shimizukawa fc5aacc9bf Merged in knzm/sphinx/#1056 (pull request #94: fix #1056: message "Return value: ..." generated by refcounting not localized) 2012-12-16 14:36:36 +09:00
Takayuki Shimizukawa 6748b60d39 Merged in shimizukawa/sphinx-multibyte-filename-fork (pull request #61) 2012-12-10 18:38:06 +09:00
Takayuki Shimizukawa 3f9598394b merge heads 2012-12-10 10:18:32 +09:00
Takayuki Shimizukawa 54a0f2a1c5 Merged in shimizukawa/sphinx-fix-i18n-fork/#955 (pull request #86) 2012-12-07 17:24:46 +09:00
Takayuki Shimizukawa 21355d3249 Update warnings for inconsistency reference translations. Thanks @jonwaltman! 2012-12-07 16:38:21 +09:00
Takayuki Shimizukawa bfe96c14a7 fix: rescue extra named-reference that appeared in same translation message. 2012-12-05 20:52:19 +09:00
Takayuki Shimizukawa e9275d3f0c change: Make readable-text a priority.
If the number of reference does not match then some links will be broken.
2012-12-05 19:35:07 +09:00
Takayuki Shimizukawa e9f3ad438b move i18n test documents to i18n subdir. 2012-12-05 13:38:04 +09:00
Takayuki Shimizukawa 8a1cb70354 refactoring 2012-12-05 13:11:30 +09:00
Takayuki Shimizukawa 2472dcec39 checking whether the number of references is equal in both the translated form and the untranslated form? If they're not equal, emit a warning and don't bother trying to transfer the references. 2012-12-05 13:11:16 +09:00
Takayuki Shimizukawa 6c48bc0d2f refactoring 2012-12-05 11:43:36 +09:00