Commit Graph

4201 Commits

Author SHA1 Message Date
Eric Holscher
ec494bec07 Add documentation to the undocumented builder methods. 2013-07-02 22:58:34 -07:00
Eric Holscher
3cd2b24fc5 Add a link to a blog post explaining docutils Writers/Translators 2013-07-02 22:54:32 -07: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
tychoish
964a593266 Merged in tychoish/sphinx-1/tychoish/removed-version-change-1372634421412 (pull request #1)
removed version change
2013-06-30 19:21:14 -04:00
tychoish
d57589a1eb removed version change 2013-06-30 23:20:44 +00: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
Roland Meister
409e29023b Merged birkenfeld/sphinx into default 2013-06-19 21:04:31 +02:00
Roland Meister
73a1420cc6 Add epub_guide entry to doc/conf.py
The toc for the spinx documentation actually is in contents.rst.
2013-06-19 21:02:27 +02:00
Roland Meister
46debd9f17 Rename title of the epub cover guide
Calibre needs the title "Cover" to show the cover image.
2013-06-19 20:56:48 +02:00
Roland Meister
812d5cc181 Remove ids from copied todo directives; they are no longer unique in the todolist 2013-06-19 20:39:13 +02: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
garen
f139a7d282 resolve issue \#1172: don't divide by zero 2013-06-10 21:28:48 -04: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
Roland Meister
cc909ab2a9 More docs cleanup; add hint for the epub cover page 2013-06-07 20:48:14 +02:00
Roland Meister
2f5b7b8db1 Adjust docs about inline URLs for the epub builder 2013-06-06 21:53:59 +02:00
Roland Meister
bfc03b10ad Change algorithm for EpubBuilder.make_id
The new algorithm no longer derives the id from the name (which
may contain illegal characters for ids) but uses a cache to
associate names to ids.
2013-06-06 21:27:53 +02:00
Roland Meister
ce6b8fff70 Clarify docs for the format and builder tags 2013-06-06 21:23:16 +02: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
Sam Kleinman
25d5eecb00 fixing issue in parallel builds, sphinx drops second doc 2013-05-29 18:22:28 -04:00
Takayuki Shimizukawa
b2997a652e Fix Python version compatibility with Jinja2 2.7. closes #1173 2013-05-29 09:16:14 +00:00
masklinn
d1d1d9a73d Add +0000 to POT-Creation-Date
%z sets an empty string when datetimes are "naive" (no timezone
specified), but some packages expect a timezone specifier on the
POT-Creation-Date header and will error out if it is missing
(e.g. babel's pofile.read_po).

Lifted the stdlib's UTC timezone recipe and set this explicitly, it's
not the correct timezone but at least it's a timezone.

The LocalTimezone recipe might be a better one.
2013-05-28 11:30:57 +00:00
Marcin Wojdyr
ea605b9589 Closes #982: Avoid crash when writing PNG file using Python 3.
binascii.crc32() has changed in version 3.0.
In Py2 it returns value in the range [-2**31, 2**31-1],
in Py3 in [0, 2**32-1].

This change made write_png_depth() crash with:
struct.error: 'i' format requires -2147483648 <= number <= 2147483647
2013-05-06 22:49:36 +01:00
Dmitry Shachnev
cec583b119 SingleHtml builder now calls write_doc_serialized(). Closes #1162. 2013-05-05 21:21:06 +04:00
Takayuki Shimizukawa
9d3bac3b8e Fix: Citation target missing cause AssertionError. Closes #1160 2013-05-02 10:37:12 +09:00