Commit Graph

3405 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
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
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
Georg Brandl
aa7098ed82 Merged in kou/sphinx (pull request #12) 2011-08-12 08:30:35 +02:00
Georg Brandl
f5ecf50985 Merged in kou/sphinx (pull request #11) 2011-08-12 07:40:18 +02:00
Kouhei Sutou
f98cfbe862 [i18n] use relative path from output directory for source path.
This commit reverts part of 5976facae92c commit:
  Refactor comment generating code for message catalogs.

The commit says "Refactor" but it changes original code behavior.
In original code, start path for path.relpath() is self.outdir but
in refactored code, start path for path.relpath() is self.srcdir.

It should be self.outdir not self.srcdir to improve po-mode.el
support. po-mode.el has "po-cycle-source-reference" command. It
search source code relative from .po file directory.

See also::
  http://www.gnu.org/s/hello/manual/gettext/C-Sources-Context.html

    Program source files are usually found relative to where the PO
    file stands. As a special provision, when this fails, the file
    is also looked for, but relative to the directory immediately
    above it.
2011-08-12 14:29:19 +09:00
Georg Brandl
ed0bad3889 Doc and changelog entries for 91b4fc984b32. 2011-07-23 10:04:09 +02:00
Georg Brandl
3e649cf681 Merged in mattpap/sphinx (pull request #8) 2011-07-23 10:02:10 +02:00
Georg Brandl
680d261694 s/jsmath/mathjax/ 2011-07-23 10:02:04 +02:00
bond
bfa6e8c0de some changes to math docs 2011-07-19 22:35:52 +02:00
Mateusz Paprocki
e7d915e47e Added support for non-local files to Application.add_stylesheet() 2011-07-19 01:45:52 +02:00
Benoit Allard
9350b3b46b graphviz: also catch IOError with Errno 22 (invalid parameter)
This happen on Python2.7 and Graphviz version 2.12 (Mon Dec  4 22:04:37 UTC 2006)
on Windows when a not recognized renderer type is asked.
2011-07-14 16:57:01 +02:00
Benoit Allard
db733f40fc Don't use deprecated values in the template conf.py (issue732) 2011-07-14 13:03:33 +02:00
Georg Brandl
f4bd8c5e84 Remove unused import. 2011-07-09 12:08:18 +02:00
Georg Brandl
c1084af66e Merged in michaeljones/sphinx (pull request #3) 2011-07-09 12:06:17 +02:00
Georg Brandl
96749c5749 Merged in jonwaltman/sphinx-info (pull request #5) 2011-07-07 19:50:11 +02:00
Jonathan Waltman
1fde44cbf6 Follow the behavior described by :confval:primary_domain to display domain object names and use this as the category in Texinfo desc_signatures. 2011-07-07 01:39:53 -05:00