Commit Graph

284 Commits

Author SHA1 Message Date
Daniel Neuhäuser
ce4c5a63fa merge with lehmannro/sphinx-i18n 2010-08-15 11:55:46 +02:00
Georg Brandl
861941e5f1 merge with 1.0 2010-08-05 16:20:12 +02:00
Georg Brandl
580e1c90d3 #481, #482: fix `.name` reference matching.
#482: When doing a non-exact search, match only the given type of object.
#481: Apply non-exact search for Python reference targets with ``.name`` for modules too.
2010-08-05 13:39:23 +02:00
Georg Brandl
3a61b58b3f #470: Fix generated target names for reST domain objects; they are not in the same namespace. 2010-07-27 14:45:17 +02:00
Georg Brandl
0e2f523783 Reintroduce env.note_versionchange(). 2010-07-23 14:15:25 +01:00
Robert Lehmann
fda1d0985a Fixed docname resolution. 2010-07-14 23:41:38 +02:00
Robert Lehmann
38e1e7770f Move translation patching back into transform for chronological order. 2010-07-14 22:01:08 +02:00
Robert Lehmann
583f4a100e Ignore translations which fall back to NullTranslations. 2010-06-30 13:11:22 +02:00
Robert Lehmann
4fa9fe3290 Skip untranslated msgids. 2010-06-30 12:59:12 +02:00
Robert Lehmann
8a5af56e62 Disallow structural changes to TextElements; replace their children instead. 2010-06-30 12:50:34 +02:00
Robert Lehmann
4b8249e6b1 Fix translation lookup and propagation. 2010-06-29 22:54:59 +02:00
Robert Lehmann
6a715f5d1a Move translation patching into read_doc for access to runtime settings. 2010-06-29 08:06:48 +02:00
Robert Lehmann
cd583b634d merge with trunk 2010-06-23 07:43:07 +02:00
Robert Lehmann
35ee258b2e Fix source file reference in patched documents. 2010-06-23 07:30:24 +02:00
Robert Lehmann
3c4cad5085 Add parsing step to translation integration. 2010-06-23 07:28:58 +02:00
Georg Brandl
c7a8350f3c Do not stop even at severe docutils errors, continue build. 2010-06-19 21:37:10 +02:00
Robert Lehmann
804a92dad2 Patch translatable messages with custom doctree. 2010-06-18 10:15:08 +02:00
Georg Brandl
43c0c87136 Give more detailed info about exception determining image type. 2010-06-12 20:15:13 +02:00
Georg Brandl
d249c619fd Move doctest blocks out of blockquotes even if there is more than one. 2010-06-01 09:42:57 +02:00
Georg Brandl
35f0b555a4 The `toctree callable in templates now accepts a titles_only` keyword argument. 2010-05-30 13:16:26 +02:00
Daniel Neuhäuser
5f5f917790 only decode if possible 2010-06-16 23:05:56 +02:00
Georg Brandl
52afc7ab6b Introduce constant. 2010-07-28 19:33:24 +02:00
Daniel Neuhäuser
f16a3173b3 pass paths as bytes to docutils 2010-06-06 23:57:37 +02:00
Georg Brandl
7c292a43d8 Factor out a replace(). 2010-07-28 19:31:05 +02:00
Georg Brandl
0238e83013 Merge with http://bitbucket.org/tpowers/sphinx/ (rewriting the external/internal distinction code)
In HTML output, references now get the class ``internal`` if they are internal to the whole project, as opposed to internal to the current page.

The ``menuselection`` and ``guilabel`` roles now support ampersand accelerators.
2010-05-24 12:57:07 +02:00
Georg Brandl
0f2a0381ba Rename default_domain to primary_domain; give it special semantics. 2010-05-23 16:48:54 +02:00
Georg Brandl
5b7e794e2b #413: Added a way for intersphinx to refer to named labels in other
projects, and to specify the project you want to link to.
2010-05-23 13:06:01 +02:00
Georg Brandl
77b3c15049 Move :ref: labels over to std domain. 2010-05-23 11:59:20 +02:00
Daniel Neuhäuser
98b6073a7e Fixed warnings in python3 2010-06-20 22:39:38 +02:00
Georg Brandl
d6e5dfacd4 Add a constant for class types, which lacks types.ClassType in Py3k. 2010-07-28 18:13:57 +02:00
Daniel Neuhäuser
f6bf9b13ff Fixed issue #1 2010-05-01 19:17:52 +02:00
tpowers
52ba45f458 Make test for "outside" references case insensitive. 2010-04-27 13:47:55 -07:00
tpowers
a4fee15556 Added "link outside" and "link inside" classes to reference nodes.
Distinguishes hyperlinks that are outside of current sphinx hierarchy.
2010-04-26 20:33:06 -07:00
Georg Brandl
28b337dd0c merge 2010-04-18 09:41:44 +02:00
Georg Brandl
0544108c57 Remove RuntimeError raised for unknown reference types, may be valid for extensions. 2010-04-10 19:06:47 +02:00
Georg Brandl
63289cba33 Rename rst_prologue to rst_prolog and document it. 2010-04-07 13:03:34 +02:00
Georg Brandl
d7f1aeba8c Review changes from http://bitbucket.org/tpowers/sphinx/ and add docs. 2010-04-07 13:02:03 +02:00
Georg Brandl
22f4b236ab merge with http://bitbucket.org/tpowers/sphinx/ 2010-04-07 11:48:27 +02:00
Georg Brandl
751e02c767 merge with trunk 2010-04-06 09:23:03 +02:00
Georg Brandl
517b045f86 merge with 0.6 2010-04-06 09:21:22 +02:00
Georg Brandl
0ca72d4199 Fix the handling of multiple toctrees when creating the global TOC for the `toctree()` template function.
Fix the handling of hidden toctrees when creating the global TOC for the ``toctree()`` template function.
2010-04-06 09:12:22 +02:00
tpowers
68fd75f536 Implemented rst_prologue conf.py option. 2010-03-30 05:13:42 -07:00
tpowers
ff3707e2a5 Implemented html_compact_lists conf.py option. Normally True. When False,
"simple" item lists are not compacted. See
http://docutils.sourceforge.net/FAQ.html#how-are-lists-formatted-in-html.

Bullet lists like the "Indices and Tables" section look odd when they are
not compacted. Therefore specially change any bullet list that only has
paragraph's with pending_xrefs to use compact paragraphs instead.

Implemented secnumber_suffix conf.py option. Default is '. '. Section
numbers look better if changed to u'\u00a0\u00a0'.
2010-03-28 19:07:14 -07:00
Georg Brandl
3f1092fcc4 merge with 0.6 2010-02-28 15:21:54 +01:00
Georg Brandl
0341cc7c3d Fix references to methods without a module. 2010-02-28 14:54:35 +01:00
Georg Brandl
1d5894a35a Fix handling of the default role: it needs to be looked up after patching the role/directive lookup functions. 2010-02-28 14:43:44 +01:00
Georg Brandl
3d01c2c95f #282: Added a "nitpicky" mode that emits warnings for all missing references.
It is activated by the ``-n`` command-line switch or the ``nitpicky`` config value.
2010-02-28 12:13:55 +01:00
Georg Brandl
9a316a21a0 merge with trunk 2010-02-28 10:21:00 +01:00
Georg Brandl
62d092a46c merge with 0.6 2010-02-28 10:20:15 +01:00
Georg Brandl
523b16f005 Revert revision 0530a8aaaa9a; it does not work if dependent files are involved. 2010-02-28 09:49:23 +01:00