Commit Graph

3714 Commits

Author SHA1 Message Date
Jonathan Waltman
626a954821 Use `ObjType.lname` for the category in Texinfo desc_signatures. 2011-07-03 17:44:03 -05:00
Jonathan Waltman
d16be40da1 Fix NameError in graphviz.render_dot_texinfo. 2011-06-30 17:21:16 -05:00
Jonathan Waltman
a78b9ec927 Prevent indexing commands from causing a paragraph break in Texinfo. 2011-06-29 17:33:27 -05:00
Jonathan Waltman
584dc31883 Replace no-break spaces with normal ones inside desc_parameters for Texinfo. 2011-06-27 19:51:00 -05:00
Jonathan Waltman
10e0fb8ad9 Properly escape ``quote'' characters in Texinfo. 2011-06-27 19:28:47 -05:00
Jonathan Waltman
7147131145 Add method `ensure_eol` and use it to fix paragraph spacing in Texinfo. 2011-06-27 18:45:00 -05:00
Georg Brandl
4bc665cf4a Recompile German catalog. 2011-06-07 17:21:59 +02:00
Georg Brandl
acbc89a6a8 Merge with 1.0. 2011-06-07 17:21:45 +02:00
Georg Brandl
2c0aa5092c Close #712: fix indentation error in German translation. 2011-06-07 17:20:56 +02:00
Georg Brandl
517acb80f0 Add Nepali translation, thanks to Arati Sharma. 2011-06-07 17:17:54 +02:00
Michael Jones
b4a6b2c3c1 Respect "includehidden" for sub-toctrees as well
Previously, the includehidden method argument was only being taken into account
for top level toctrees. This meant that hidden subtree toctrees were still
being resolved if they exists below a non-hidden toctree.
2011-06-05 14:21:47 +12:00
Kouhei Sutou
102b3bf925 [i18n][man] add missing deunicode().
We get the following error message when we have a translated admonition
(e.g. 'note') label:

  Exception occurred:
      File "../sphinx/sphinx/locale/__init__.py", line 75, in __str__
        return str(self.data)
        UnicodeEncodeError: 'ascii' codec can't encode characters in position 0-2: ordinal not in range(128)
2011-05-29 19:48:01 +09:00
Roland Meister
dbe932d30c Merge with birkenfeld/sphinx. 2011-05-23 21:22:33 +02:00
Roland Meister
0da0c03b53 Added the epub theme options relbar1 and footer. 2011-05-23 21:09:51 +02:00
Georg Brandl
6da34ddd39 Update compiled japanese catalog. 2011-05-15 14:54:52 +02:00
Kouhei Sutou
d4de9de8fc [ja] update Japanese translations. 2011-05-15 21:30:14 +09:00
Georg Brandl
10287a6684 merge with 1.0 2011-05-15 13:52:48 +02:00
Georg Brandl
c90d6cc52f Closes #98: mention original copyright owners, and port fix from https://bitbucket.org/thomaswaldmann/sphinx-autopackage-script/changeset/dba2b779c1af. 2011-05-15 13:41:29 +02:00
Georg Brandl
40c294f0c8 Closes #657: viewcode now works correctly with source files that have non-ASCII encoding. 2011-05-15 13:31:39 +02:00
Georg Brandl
8965cf1095 Closes #658: fix error in script_files example and document css_files. 2011-05-15 13:05:31 +02:00
Georg Brandl
d63cf564ab Closes #665: update Turkish translation. 2011-05-15 13:01:14 +02:00
Georg Brandl
5ca496847a Closes #669: Respect the `noindex` flag option in py:module directives. 2011-05-15 13:00:11 +02:00
Georg Brandl
6b6ca70622 Closes #670: Allow docutils "standard includes" to be again specified with the `include` directive. 2011-05-15 12:58:34 +02:00
Georg Brandl
ef674a20a6 Closes #671: new autodoc features: :special-members: and :private-members: should respect :undoc-members:. Also :special-members: should not document __doc__. 2011-05-15 12:41:45 +02:00
Georg Brandl
02a3b5bfdf Closes #675: Fix IndexErrors when including nonexisting lines with :rst:dir:literalinclude. 2011-05-15 12:31:33 +02:00
Georg Brandl
eaa43cafce Closes #676: Respect custom function/method parameter separator strings. 2011-05-15 12:24:50 +02:00
Georg Brandl
4e85a6ed42 Closes #682: Fix JS incompatibility with jQuery >= 1.5. 2011-05-15 12:20:47 +02:00
Georg Brandl
99c505b63f Closes #683: set default MathJax path to the CDN URL, and update the docs accordingly. 2011-05-15 11:57:23 +02:00
Georg Brandl
569516dd0e Closes #693: Fix double encoding done when writing HTMLHelp .hhk files. 2011-05-15 11:37:00 +02:00
Georg Brandl
dfe70cb7f2 Closes #647: Do not apply SmartyPants in parsed-literal blocks. 2011-05-15 11:34:52 +02:00
Georg Brandl
8a08f5b42a Closes #694: add Latvian locale, thanks to Alexander Smishlajev. 2011-05-15 11:27:01 +02:00
Georg Brandl
75db8d935c merge with https://bitbucket.org/ericholscher/sphinx/ 2011-05-15 11:22:30 +02:00
Georg Brandl
3b84d9d295 branch merge 2011-05-15 11:16:35 +02:00
Kouhei Sutou
c43e9f2fef [i18n] support reference line.
From "3 The Format of PO Files" at
http://www.gnu.org/s/hello/manual/gettext/PO-Files.html ::

  Comment lines starting with #: contain references to the program's
  source code.

The reference comment is useful to jump to the source position.
GNU gettext tools support the reference comment. e.g.: po-mode.el binds
"s" key to "po-cycle-source-reference" that opens a source position in
a new buffer.
2011-05-08 17:48:38 +09:00
Kouhei Sutou
0d610fcff4 [i18n] don't generate duplicated msgid. 2011-05-08 17:32:41 +09:00
Luke Plant
c1c6a806c8 Improved multi-word search by doing object lookups and matching descriptions of objects with other words
Without this patch, adding extra, relevant terms to a search can eliminate a
direct match for an object, because multi-word searches don't do object
lookups.

We can avoid matching too many objects by requiring the other terms searched
to appear in the object name or description.
2011-05-14 03:23:21 +01:00
Luke Plant
a4df2bd182 Pulled object search routine into separate routine.
This makes it easier to re-use, and helps reduce the length of the main query
routine.
2011-05-14 02:00:44 +01:00
Julian Andres Klode
64e7fcb71e Correctly treat built-in method (method descriptors) as methods
This fixes a bug where method descriptors were treated as data
descriptors. As the builtin_method_descriptor type is not exported
anywhere in Python, we check for the name here. As we know that
it is a descriptor, this should not be a problem.
2011-05-04 17:18:59 +02:00
Georg Brandl
08d556d4b6 Fix #698: msgstr errors found by msgfmt -c. 2011-09-21 09:49:12 +02:00
Georg Brandl
dbfc8a9d83 Fix #706: use a custom TextWrapper instead of monkeypatching a new wordsep_re into the textwrap one. 2011-09-21 09:38:51 +02:00
Georg Brandl
bc3eeddb35 Fix #728: escape root dir when putting it into a regex in latex/texinfo tests. 2011-09-21 09:15:11 +02:00
Georg Brandl
05cf3c0360 Always use longtables for autosummary. 2011-09-21 09:09:57 +02:00
Julian Andres Klode
9088433491 Correctly treat built-in method (method descriptors) as methods
This fixes a bug where method descriptors were treated as data
descriptors. As the builtin_method_descriptor type is not exported
anywhere in Python, we check for the name here. As we know that
it is a descriptor, this should not be a problem.
2011-05-04 17:18:59 +02:00
Georg Brandl
b9bd2ff791 Fix #698: msgstr errors found by msgfmt -c. 2011-09-21 09:49:06 +02:00
Georg Brandl
6d6e6abfdb Fix #722: remove special styling of :samp: role, and enable placeholder formatting in literal nodes. 2011-09-21 09:47:18 +02:00
Georg Brandl
1e05041ea5 Fix #706: use a custom TextWrapper instead of monkeypatching a new wordsep_re into the textwrap one. 2011-09-21 09:38:51 +02:00
Georg Brandl
1b6e2bfa9c Fix #766: Add Estonian locale, thanks to Aivar Annamaa. 2011-09-21 09:28:49 +02:00
Georg Brandl
4718e50f4b Fix #714: Add Korean locale, thanks to Channy Yun. 2011-09-21 09:25:37 +02:00
Georg Brandl
44f396488c Fix #718: "pass" is not a good way to exit a function. 2011-09-21 09:19:20 +02:00
Georg Brandl
9d5215c1c9 Fix #728: escape root dir when putting it into a regex in latex/texinfo tests. 2011-09-21 09:15:11 +02:00