Commit Graph

3356 Commits

Author SHA1 Message Date
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
Robert Lehmann
b5f53e1972 Move node filtering into extract_messages. 2011-07-06 08:52:07 +02:00
Robert Lehmann
f1f7bde914 Distribute UUIDs over multiple comment lines. 2011-07-06 08:34:26 +02:00
Robert Lehmann
f477eaf26f Comment and stretch out code.
Also leverage the fact that we ignore Sphinx' built-in messages for catalogs.
2011-07-06 08:31:40 +02:00
Robert Lehmann
651a00f3cd Close #630: Revamp data structures used for message catalogs. 2011-07-06 08:25:25 +02:00
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