Commit Graph

3571 Commits

Author SHA1 Message Date
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
Georg Brandl
2c0aa5092c Close #712: fix indentation error in German translation. 2011-06-07 17:20:56 +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
Georg Brandl
b07bf400a7 Fix #635: add missing "next" method to idgen() on Python 3. 2011-09-19 08:31:37 +02:00
Georg Brandl
896b575cdc Code style fixes. 2011-09-17 21:05:12 +02:00
Georg Brandl
1d59011ce6 Add attribution for 9b4e41bba142. 2011-09-17 20:53:44 +02:00
Georg Brandl
a831121272 Merged in Brouznouf/sphinx (pull request #20) 2011-09-17 20:50:28 +02:00
Robert Lehmann
793042713c Closes #760: Escape project name in man/texinfo configuration. 2011-09-16 13:34:17 +02:00
Robert Lehmann
0dd3aa123d Closes #762: Update html2rest source location. 2011-09-16 08:25:00 +02:00
Lucas Taylor
ade940d1f6 [intersphinx] [Fixes #622] env.warn called with incorrect number of arguments 2011-09-03 12:41:26 -07:00
Joel Wurtz
654034c976 Add multirow / multicol support for latex 2011-08-31 16:08:49 +00:00
aohta
f1ba8a4fcc fix japanese translation. 2011-08-27 17:53:19 +09:00
Benoit Allard
6d508e63dd graphviz: Remove unused function get_svg_tag 2011-08-24 17:43:20 +02:00
Benoit Allard
70c5e1474d Render SVG using an img tag, not an object one. Even IE9 understands it now 2011-08-24 00:09:01 +02:00
Georg Brandl
f048039f36 Merged in nkvoll/sphinx (pull request #17) 2011-08-23 09:27:17 +02:00
Njal Karevoll
04c5c5aab8 Array.concat does not exist in all browsers.
[].concat can be used instead of Array.concat, and this works in Firefox and Chrome (and reportedly on IE8/9).
2011-08-15 10:27:25 +02:00
Georg Brandl
400339a23b Merged in kou/sphinx (pull request #16) 2011-08-15 08:33:32 +02:00
Kouhei Sutou
773ba3b768 [i18n] fix reference line separator.
This commit fixes part of 5976facae92c commit:
  Refactor comment generating code for message catalogs.

The commit says "Refactor" but it changes original code behavior.
In original code, source locations are separated with " " but
in refactored code, source locations are separated with ", ".

msgmerge and po-mode that are part of the GNU gettext toolset treats
"," as part of source location. We can fix this problem by one of them:

  * Use " " instead of ", " as source locations separator
    in a "reference" line.
  * Put "reference" lines. Each "reference" line just has a source location.

This commit uses the latter because the latter has more higher readablility.

See also about "reference" line but it doesn't say about separator:
  http://www.gnu.org/s/hello/manual/gettext/PO-Files.html
2011-08-14 19:55:07 +09:00
Njal Karevoll
61867d69e7 The graphviz extension uses an empty <object ... /> tag to embed svg files, but for the object tag the start and the end tag are required (see http://www.w3.org/TR/html40/struct/objects.html#edef-OBJECT).
Issue #659: https://bitbucket.org/birkenfeld/sphinx/issue/659/patch-graphviz-object-tag-to-embed-svg
2011-08-12 09:15:02 +02:00