Commit Graph

58 Commits

Author SHA1 Message Date
Takeshi KOMIYA
ad738a0978 Fix #2309: Could not refer "indirect hyperlink targets" by ref-role 2016-04-24 13:57:32 +09:00
Georg Brandl
c1b7b6f369 The default highlight language is now Python 3.
References: #2279.

This means that source code is highlighted as Python 3 (which is mostly
a superset of Python 2), and no parsing is attempted to distinguish
valid code.
2016-02-14 09:21:35 +01:00
Takeshi KOMIYA
0329edc510 Fix #1565: Show warning if Pygments throws an ErrorToken 2016-01-18 15:31:44 +09:00
Takeshi KOMIYA
ee7e3cc078 Fix empty cell in table header causes LaTeX error (#1574) 2015-12-24 12:43:22 +09:00
Georg Brandl
c7bee16c8a Closes #1871: fix for latex writer with multirow and 1-column tables. 2015-07-24 16:33:19 +02:00
shimizukawa
996b872875 refs #1700, #1742: add testing and fix two bugs. 2015-03-08 21:59:42 +09:00
shimizukawa
9ba0a51555 refs #1658, #1750: add test and small tweak. 2015-03-03 08:13:14 +09:00
EricFromCanada
5d96523f7d Fix LaTeX writer's handling of multirow table cells
Originally the LaTeX writer could only handle one multirow cell per
row. This commit fixes that and adds support for cells spanning both
rows and columns.
2015-01-06 02:06:58 -05:00
tk0miya
8270575a9c Update testcases for :numref: 2014-10-02 11:17:34 +09:00
Takayuki Shimizukawa
a820a73442 Merged in tk0miya/sphinx (pull request #291)
Fix cannot capture title of literal_block node by xref
2014-09-23 12:21:15 +09:00
Georg Brandl
6c3789a353 Add tests for "any" role and default-role setting. Fix some minor bugs with "any". 2014-09-19 14:17:36 +02:00
tk0miya
b17320ee1e Fix cannot capture title of literal_block node by xref 2014-08-24 14:33:56 +09:00
tk0miya
dd8a02d5e1 Fix #1381 :rfc: and :pep: roles support custom link text 2014-08-20 12:27:08 +09:00
Lennart Fricke
7a9cc9f95b Escape underscore in citation labels for latex export 2014-07-31 08:55:29 +02:00
Georg Brandl
c5b4ff0adc * add a test for the parsed-literal directive
* adapt test to pygments output versus Sphinx-emulated nohighlighting output
2014-01-11 10:25:34 +01:00
Georg Brandl
195050c6c4 Closes #933: Do not crash if an `:option:` value is malformed (contains spaces
but no option name).
2014-01-10 22:04:03 +01:00
Nozomu Kaneko
7630467f84 fix: paragraphs in versionmodified are ignored when it has no dangling paragraphs. 2013-01-06 18:05:49 +09:00
Takayuki Shimizukawa
263d5b376f Fix text writer can not handle visit_legend for figure directive contents. 2013-01-04 18:18:43 +09:00
Georg Brandl
28609cc9b9 Only test spanning cells for latex. 2011-09-19 09:02:00 +02:00
Georg Brandl
896b575cdc Code style fixes. 2011-09-17 21:05:12 +02:00
Georg Brandl
87b0ac63ed merge with 1.0 2011-01-09 00:47:48 +01:00
Georg Brandl
45b38933a6 Add missing label. 2011-01-08 22:18:10 +01:00
Georg Brandl
16c3f081a5 Add missing label. 2011-01-08 20:02:38 +01:00
Georg Brandl
644e157fa5 #535: Fix LaTeX output generated for line blocks by porting implementation from new docutils code. 2010-10-22 12:10:11 +02:00
Georg Brandl
23971336b7 Fix :guilabel: unescaping, and make some tests actually run. 2010-07-21 11:33:24 +01:00
Georg Brandl
bf767d5222 #454: Add more index markup capabilities: marking see/seealso entries, and main entries for a given key. 2011-01-07 19:00:29 +01:00
Georg Brandl
f925de6aa0 #586: Implemented improved glossary markup which allows multiple terms per definition. 2011-01-06 20:34:41 +01:00
Georg Brandl
5edd11b245 merge with 1.0 2010-10-22 19:26:28 +02:00
Georg Brandl
40e692e6c3 #504: Add an `index` role, to make inline index entries. 2010-08-25 11:33:30 +00:00
Georg Brandl
57c438be4f Test references to figures and tables by caption. 2010-05-30 12:42:05 +02:00
Georg Brandl
0d4c3a31b6 #426: Fix encoding issues when saving/loading intersphinx inventories. 2010-05-26 19:51:09 +02:00
Georg Brandl
0238e83013 Merge with http://bitbucket.org/tpowers/sphinx/ (rewriting the external/internal distinction code)
In HTML output, references now get the class ``internal`` if they are internal to the whole project, as opposed to internal to the current page.

The ``menuselection`` and ``guilabel`` roles now support ampersand accelerators.
2010-05-24 12:57:07 +02:00
Georg Brandl
f3a2854ba9 merge with trunk 2009-12-31 18:40:58 +01:00
Georg Brandl
93cca3d4ac #308: allow "double" as alias for "pair" in index entries. 2009-12-30 13:13:57 +01:00
Georg Brandl
8d0c50c5b4 More block markup tests. 2009-08-09 23:12:01 +02:00
Georg Brandl
8ba78e88e7 More tests for inline markup. 2009-08-09 23:01:48 +02:00
Georg Brandl
2ac807a066 Add more tests for markup. 2009-08-09 22:44:41 +02:00
Georg Brandl
28263b96de More tests for inline markup. 2009-08-09 22:19:37 +02:00
Georg Brandl
94f0c051c5 Fix remaining uses of xfileref_role. 2009-08-09 20:27:36 +02:00
Georg Brandl
c02b7149aa Move domain-specific code around a bit; builtin domains are now completely in sphinx.domains. Test suite does not pass yet. 2009-07-05 12:24:27 +02:00
Georg Brandl
224104724a #178: apply `add_function_parentheses` config value to C functions as promised. 2009-05-22 18:53:58 +02:00
Georg Brandl
b4365ad72b #173: Respect the docutils `title` directive. 2009-05-17 19:15:28 +02:00
Georg Brandl
51265dfe3f #114: Added an `abbr` role to markup abbreviations and acronyms. 2009-03-05 09:48:55 +01:00
Georg Brandl
bc9a351853 Fix the serializing and changes builders, and really test them. 2009-02-21 17:17:21 +01:00
Georg Brandl
4c81b055c8 Added an `only` directive that can selectively include text
based on enabled "tags".  Tags can be given on the command
line.  Also, the current builder output format (e.g. "html" or
"latex") is always a defined tag.
2009-02-19 21:56:34 +01:00
Georg Brandl
26ae3f01aa Add a rst_epilog setting, usable for global substitutions. 2009-02-07 19:41:10 +01:00
Georg Brandl
c83d630fd8 Close #52: There is now a `hlist` directive, creating a compact
list by placing distributing items into multiple columns.
2009-01-04 22:00:40 +01:00
Georg Brandl
35a58e50ca Also fix invalid index entries for Latex output. 2008-11-30 21:06:07 +01:00
Georg Brandl
7aa1c5eed2 #21: allow short form for seealso arguments. 2008-11-04 21:35:05 +01:00
Georg Brandl
324145853e #29: fix some option list issues, in HTML, LaTeX and text writers. 2008-11-03 21:40:21 +01:00