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
Georg Brandl
832e290acd
Add "orphan" metadata entry to suppress non-toctree-inclusion warnings.
2010-02-25 22:49:54 +01:00
anatoly techtonik
ef8ae809e6
store actual file modification time instead of now()
2010-02-23 19:10:43 +02:00
Georg Brandl
6a17e7d1a6
Make id and reference handling in LaTeX output much more robust, by prefixing the source document name to label names.
2010-02-20 19:47:22 +01:00
Georg Brandl
7f8f3f86b6
Get rid of the "module" node.
2010-02-20 14:45:39 +01:00
Georg Brandl
044f61ddb1
Do not throw away existing section ids.
2010-02-20 14:20:39 +01:00
Georg Brandl
454ecf80a4
Make the concept of "module index" generalized to domains. As a side-effect, the latex modindex is no longer generated by LaTeX.
2010-02-20 01:13:23 +01:00
Georg Brandl
70772c6cc8
Bump env version, for good measure.
2010-01-17 22:42:42 +01:00
Georg Brandl
dfa5ef2375
Rename doc_read_data to temp_data, which reflects better what it does.
2010-01-17 19:46:47 +01:00
Georg Brandl
4e60f4e7cb
Make lookup_domain_element a method of the env.
2010-01-17 19:45:11 +01:00
Georg Brandl
98bcd2fab4
Make the _ gettext alias an explicit import instead of installing into builtins.
2010-01-17 19:33:23 +01:00
Georg Brandl
bacb6435e4
merge with trunk
2010-01-17 17:52:51 +01:00
Georg Brandl
1ec19290e1
Rename os to osutil, thanks to relative imports.
2010-01-17 17:49:01 +01:00
Georg Brandl
b0e2c44dc8
merge with trunk
2010-01-17 17:43:33 +01:00
Georg Brandl
c5d67b0321
Refactor util package.
2010-01-17 17:35:12 +01:00
Georg Brandl
5d40d8bd63
merge with trunk
2010-01-17 14:24:24 +01:00
Georg Brandl
d292cea80d
Allow missing-reference event for :ref: too.
2010-01-17 11:58:39 +01:00
Georg Brandl
54a31c5a6f
Change naming convention in doc_read_data to "domain:key".
2010-01-13 20:45:34 +01:00
Georg Brandl
c49c9b288b
Make refdoc node attribute optional.
2010-01-12 09:18:35 +00:00
Georg Brandl
c37ddd0a6f
Add some XXXes... sigh.
2010-01-08 18:54:41 +01:00
Georg Brandl
b1c937f0d9
merge with trunk (not working perfectly yet)
2010-01-07 21:41:03 +01:00
Georg Brandl
5e17487b74
merge with trunk
2010-01-07 19:19:58 +01:00
Georg Brandl
cbd75346fd
merge with trunk
2010-01-07 19:17:45 +01:00
Georg Brandl
a43738e47a
merge with trunk
2010-01-07 19:07:50 +01:00
Georg Brandl
5cb64a7228
Apply static path exclusion patterns again.
...
Refactor exclusion stuff a bit, so that matchers only have to be compiled once.
2010-01-07 16:39:59 +01:00
Georg Brandl
a4ca76db7e
Fix long line.
2010-01-07 14:35:24 +01:00
Georg Brandl
ab7ac64e1a
Add new universal config value `exclude_patterns
`, with glob-style exclude patterns.
...
This makes the old ``unused_docs``, ``exclude_trees`` and ``exclude_dirnames`` obsolete.
2010-01-06 15:48:39 +01:00
Georg Brandl
c3c3f739af
Remove the deprecated `exclude_dirs
` config value.
2010-01-06 15:54:34 +01:00
Georg Brandl
fc3113d847
Fix long line.
2010-01-03 22:22:33 +01:00
Georg Brandl
7bafd3d553
merge with 0.6
2010-01-03 16:04:23 +01:00
Georg Brandl
9d15d3f654
#302 : Fix links generated by the `:doc:
` role for LaTeX output.
...
For that, record the source docname in an xfileref node in node['refdoc'].
The LaTeX builder creates one big toctree out of all documents, therefore
"fromdocname" in resolve_references refers to the wrong file.
2010-01-03 16:03:08 +01:00
Georg Brandl
7e53338d9a
merge with 0.6
2010-01-03 11:55:57 +01:00
Georg Brandl
0b70a32efe
Ignore images in section titles when generating link captions.
...
(Otherwise, the "alt" text leaks into the caption, and docutils automatically
assigns an alt text to images in substitutions.)
2010-01-03 11:42:15 +01:00
Georg Brandl
faeec5cbbb
merge with trunk
2010-01-02 21:03:56 +01:00
Georg Brandl
32437e45bd
merge with 0.6
2010-01-02 00:49:51 +01:00
Georg Brandl
2af4986e78
IE apparently does not like href=""; change this to href="#" which appears to work.
2010-01-02 00:30:42 +01:00
Georg Brandl
47ccbccc62
merge with 0.6
2010-01-01 14:10:48 +01:00
Georg Brandl
f6a56192d1
Happy new year!
2010-01-01 14:09:13 +01:00
Georg Brandl
18230a6060
merge with trunk
2009-12-23 12:13:40 +01:00
Georg Brandl
9e7c5e88c4
Fix some nits after pulling from http://bitbucket.org/howthebodyworks/sphinx/ and add changelog and authors entries.
2009-12-23 11:53:19 +01:00
Dan MacKinlay
d532fc2d9f
sphinx now preserves lots of useful document metadata
2009-12-22 16:49:40 +11:00
Georg Brandl
d12ad380f2
Finish renaming description units to object (description)s.
2009-10-27 19:58:40 +01:00
Georg Brandl
30f8dbdbf8
Cosmetic changes.
2009-09-12 10:19:13 +00:00
Georg Brandl
2bbb29385e
Remove env.note_versionchange().
2009-09-12 10:17:02 +00:00
Georg Brandl
68c545cf22
Refactor directive/role lookup from domains a bit to avoid code duplication.
2009-09-12 10:14:27 +00:00
Georg Brandl
732e2b377f
Move :envvar: index markup logic over to std domain.
2009-09-09 19:35:50 +02:00
Georg Brandl
0792ad7498
The `toctree()
callable in templates now has a
maxdepth
`
...
keyword argument to control the depth of the generated tree.
Also add tests for that callable.
2009-09-09 15:56:52 +02:00
Georg Brandl
fa7f8812cd
More refactoring for language-independent domain support.
...
* Renamed "desc"ription unit to "object" wherever possible.
* Added standard x-ref types to a StandardDomain which is always consulted.
* Split domains module into a subpackage.
* Removed additional_xref_types in favor of new directive classes in StandardDomain.
* Implemented x-ref inventory version 2, for all object types.
* Added env.doc_read_data which is for temporary data stored while reading.
* Minimally updated extension tutorial.
* Started to implement changes to interactive search.
* Test suite passes again.
2009-09-07 22:52:26 +02:00
Georg Brandl
0d029eeb9c
merge with trunk
2009-09-04 00:17:41 +02:00
Georg Brandl
894cac3390
merge with 0.6
2009-09-04 00:16:34 +02:00
Georg Brandl
dcff10ddaa
Cleanup unused imports.
2009-09-04 00:05:09 +02:00
Georg Brandl
0e37970007
raise ExtensionError for unregistered domains
2009-09-02 17:31:49 +00:00
Georg Brandl
f64d01bea2
Fix resolution of references without domain.
2009-08-09 22:05:03 +02:00
Georg Brandl
94f0c051c5
Fix remaining uses of xfileref_role.
2009-08-09 20:27:36 +02:00
Georg Brandl
3352493642
merge pre-domain state with tip from 0.6
2009-08-06 21:36:57 +02:00
Georg Brandl
86686262bd
merge with 0.6
2009-08-05 00:04:39 +02:00
Georg Brandl
b423f9f280
Fix generation of the index when there are symbols with ASCII value larger than that of the lowercase letters.
2009-07-25 14:58:58 +02:00
Georg Brandl
015a633863
Do link to self.
2009-10-26 18:54:16 +01:00
Georg Brandl
960ba9ec41
merge with 0.6
2009-06-16 22:19:59 +02:00