Commit Graph
100 Commits
Author SHA1 Message Date
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 1c02e0ee29 add QGIS page for examples page 2013-10-03 06:08:24 +00:00
Takayuki Shimizukawa e81a2d884e Added a ez_setup to replace distribute_setup. ez_setup become defacto. Closes #1264 2013-10-03 05:55:58 +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
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 445bb5daec fix: A wrong conditoin check break search feature on first page that is usually index.rst. This issue was introduced at 46d0815, cfbdd84. 2013-09-26 00:10:23 +09:00
Takayuki Shimizukawa 5def0cc353 Merged in alimony/sphinx/add_missing_epub_options (pull request #170)
Add two missing epub options to the default conf.py
2013-09-23 23:01:48 +09:00
Takayuki Shimizukawa 9d47a7f0cc update CHANGES for removing 'sphinx' prefix from latex document class name 2013-09-23 22:58:37 +09:00
Takayuki Shimizukawa dab3f56267 Merged in erikb85/sphinx (pull request #154)
Removing "sphinx" prefix from Latex class parsing
2013-09-23 22:53:10 +09: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 c7114f704b Merged in techtonik/sphinx-1/techtonik/add-link-to-irc-channel-1379750124356 (pull request #169)
add link to IRC channel
2013-09-23 10:05:54 +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
Takayuki Shimizukawa 94fd97c6f3 Ignoring the string consists only of white-space characters. Closes #1234 2013-09-17 12:10:42 +00:00
Takayuki Shimizukawa 1ca7b1c713 Fix NFC/NFD normalizing problem of rst filename on Mac OS X. Closes #1142 2013-09-17 20:32:18 +09:00
Takayuki Shimizukawa 93e7623cd8 Add feature: theme package collection by using setuptools plugin mechanism. 2013-09-16 23:57:58 +09:00
Takayuki Shimizukawa b3af8c6676 add Learning Sphinx book for EXAMPLES too. 2013-09-16 15:36:54 +09:00
Takayuki Shimizukawa b3a1dc3d83 append example page 2013-09-16 15:34:18 +09:00
Takayuki Shimizukawa dfd9f1cdc8 Sphinx generates broken ePub on Windows. Closes #1232 2013-08-10 18:25:28 +09: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 fa7fe88d74 Add some URLs to example list. 2013-07-27 00:40:08 +09:00
Takayuki Shimizukawa f26de54a12 Support docutils.conf 'writers' and 'html4css1 writer' section by html writer.
latex, manpage and texinfo writers support 'writers' section.
2013-07-26 23:23:46 +09:00
Takayuki Shimizukawa 72a6bfde28 add docutils-0.11 for testing 2013-07-25 00:26:43 +00:00
Takayuki Shimizukawa d23387d82e for testing: change docutils version spec 0.10.0 -> 0.10 2013-07-25 00:24:19 +00:00
Takayuki Shimizukawa d9f5439ffe fix: broken document format (rst) 2013-07-14 14:43:21 +09:00
Takayuki Shimizukawa a8282e2291 Merged in ericholscher/sphinx (pull request #150)
A pull request with some developer documentation updates
2013-07-12 08:49:13 +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
Takayuki Shimizukawa cb11246754 Merged in rolmei/sphinx-epub (pull request #148)
new predefined tags; epub fixes.
2013-07-01 13:37:34 +09:00
Takayuki Shimizukawa ab5c7a36be Fix ZeroDivisionError in Parallel Builds. Thanks to tychoish. Closes #1172 2013-07-01 04:27:45 +00:00
Takayuki Shimizukawa 8818b9a0c4 Merged in tychoish/sphinx (pull request #146)
resolve issue #1172: don't divide by zero
2013-07-01 13:24:55 +09: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 430d0e9895 fix: Duplicated section name will cause crash. refs #1193 2013-06-17 04:34:45 +00:00
Takayuki Shimizukawa 9bd30c748e update comment 2013-06-17 04:24:12 +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 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