Commit Graph

3905 Commits

Author SHA1 Message Date
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
Georg Brandl
4ec745d0b2 Fix syntax. 2011-09-21 09:12:14 +02:00
Georg Brandl
6479b74f45 Always use longtables for autosummary. 2011-09-21 09:09:57 +02:00
Georg Brandl
19adf65faa Skip all websupport tests for now. 2011-09-21 09:09:50 +02:00
Georg Brandl
ffa14ec448 Fix dupicate autodocumentation leading to test failures. 2011-09-19 09:21:48 +02:00
Georg Brandl
7cc2b0e46b Adapt test to removal of <object> tags for SVG images. 2011-09-19 09:19:35 +02:00
Georg Brandl
c1deffb30d Merged in benallard/sphinx (pull request #18) 2011-09-19 09:12:40 +02:00
Georg Brandl
7fa67682ac Fix #705: read module source in ModuleAnalyzer in binary mode, decode afterwards. 2011-09-19 09:03:07 +02:00
Georg Brandl
28609cc9b9 Only test spanning cells for latex. 2011-09-19 09:02:00 +02:00
Georg Brandl
7fc8513980 Remove unused imports. 2011-09-19 08:36:20 +02:00