Commit Graph

5404 Commits

Author SHA1 Message Date
Georg Brandl
ad612fb03d Change the source parsers feature a bit:
* parsers -> source_parsers
* add docs
* require fully qualified name or class
* add test for it
2015-03-08 13:12:50 +01:00
Georg Brandl
0cb9b1db02 Merge pull request #1760 from ericholscher/parsers
Parsers
2015-03-08 12:55:43 +01:00
shimizukawa
26ae055b2d refs #1700: now toctree caption become paragraph block instead of Text under ul element. and add permalink for toctree caption. 2015-03-08 16:45:56 +09:00
shimizukawa
dc17c0be0a disable flake8 E112 and E113, for a while. 2015-03-08 15:14:06 +09:00
shimizukawa
31400de378 rename name option for toctree directive to caption. 2015-03-08 15:09:07 +09:00
Takayuki SHIMIZUKAWA
c5e0910958 Merge pull request #1700 from ericholscher/toctree-name
Add initial ability to name a TOC Tree
2015-03-08 15:04:35 +09:00
Takeshi KOMIYA
f0206f77e4 Fix flake8 violation 2015-03-08 08:41:36 +09:00
Takeshi KOMIYA
5e48ac9b4f Role `numref uses %s as special character instead #` symbol 2015-03-08 08:30:16 +09:00
Takeshi KOMIYA
3d62e353a5 Update testcases for changing prefix of captions 2015-03-08 08:30:16 +09:00
Jakob Lykke Andersen
1617e451af Merge branch 'master' of github.com:sphinx-doc/sphinx 2015-03-07 20:22:04 +01:00
Jakob Lykke Andersen
0dc265ff01 C++, properly look up names in all parent scopes.
See sphinx-doc/sphinx#1746.
2015-03-07 20:19:23 +01:00
Takayuki SHIMIZUKAWA
63b924cc32 Merge pull request #1752 from sphinx-doc/1719_numfig_format_was_ignored_on_latex
#1719 numfig_format was ignored on latex
2015-03-08 00:14:26 +09:00
shimizukawa
86edaeb8c4 remove or update missing links. 2015-03-07 22:07:46 +09:00
shimizukawa
c6865fd3ae enables flake8 E625, E901, E902, F821 that didn't emit errors 2015-03-07 21:03:09 +09:00
shimizukawa
5e84a5dbf4 enables flake8 E401: multiple imports on one line 2015-03-07 20:51:27 +09:00
shimizukawa
3b6524067f enables flake8 E501 line too long, E502 the backslash is redundant between brackets 2015-03-07 20:51:25 +09:00
Takeshi KOMIYA
a434486dfb Use babel to change prefix of captions 2015-03-07 18:01:29 +09:00
shimizukawa
4fa027352f add flake8 check to travis 2015-03-07 17:59:31 +09:00
shimizukawa
caed7faa19 add flake8 testing 2015-03-07 17:59:28 +09:00
shimizukawa
bc6df36d37 add extras_require for websupport and test. 2015-03-07 16:53:32 +09:00
Georg Brandl
b45fec3813 add hint for test suite to readme 2015-03-06 07:51:32 +01:00
Jakob Lykke Andersen
4333534f7b Update CHANGES 2015-03-05 23:47:06 +01:00
Jakob Lykke Andersen
9dfd204be4 Merge branch 'cpp-fix-1753' 2015-03-05 23:37:31 +01:00
Jakob Lykke Andersen
bbf97fe8fd Last details. Closes sphinx-doc/sphinx#1753. 2015-03-05 23:34:44 +01:00
Jakob Lykke Andersen
8ca12f5307 Main revamp for sphinx-doc/sphinx#1753.
Support `( ptr-declarator )`, e.g., `int (*f)(double)`, or
`int (&a)[42]`.
Still missing check for compatibility with old id generation scheme.
2015-03-05 10:51:28 +01:00
shimizukawa
04e3e761d7 tweak documentation: default is mercurial term. use master for git term instead. 2015-03-04 00:52:47 +09:00
shimizukawa
9ba0a51555 refs #1658, #1750: add test and small tweak. 2015-03-03 08:13:14 +09:00
Takayuki SHIMIZUKAWA
dfcd84c5dd Merge pull request #1750 from pjxiao/master
Fix #1658
2015-03-03 06:51:37 +09:00
Jakob Lykke Andersen
9e83537e90 Merge branch 'cpp-tests' into cpp-fix-1753 2015-03-02 21:05:31 +01:00
Jakob Lykke Andersen
7c240a5ec8 C++, imrpove errors from function parsing. 2015-03-02 21:04:56 +01:00
Takeshi KOMIYA
9f06027836 #1719 Add prefix to linkname of :numref: on LaTeX mode 2015-03-03 01:16:06 +09:00
Takeshi KOMIYA
1ee7f5a163 #1719 Use numfig_format for prefix of captions in LaTeX builder 2015-03-03 01:16:02 +09:00
shimizukawa
d23f3e75dd Closes #1748: SyntaxError in sphinx/ext/ifconfig.py with Python 2.6. 2015-03-02 22:43:14 +09:00
Takayuki Hirai
6d0795cbf3 Fix #1658 2015-03-02 21:37:37 +09:00
Jakob Lykke Andersen
4f0e246109 C++, add tests for ids. 2015-03-01 15:04:15 +01:00
shimizukawa
03a60a39fb fix any target in CHANGES. 2015-03-01 07:25:45 +09:00
shimizukawa
ce697daca6 Closes #1745: latex builder cause maximum recursion depth exceeded when a footnote has a footnote mark itself. 2015-03-01 07:25:10 +09:00
Eric Holscher
232d877e71 Allow passing a class in 2015-02-28 13:28:58 -08:00
Matthew Woehlke
cacf38140a Add support for per-suffix parsers
Override 'read' method in SphinxStandaloneReader to consider the suffix
of the file being processed and potentially choose to use a different
parser. Add 'parsers' argument to constructor taking a dictionary of
suffixes to names of parsers to use for the suffix, as provided by a
configuration variable of the same name.

This adds the ability to do something like:

    parsers = {'.md': 'markdown.parsers'}

...to use markdown.parsers.Parser to parse .md files. Note that the
custom parser is ONLY used to parse files matching the suffix; otherwise
the default (reST) parser is used.
2015-02-28 00:03:55 -05:00
shimizukawa
cdc4f5d8bb fix http/https 2015-02-28 01:10:03 +09:00
shimizukawa
332a912a47 fix http/https 2015-02-28 01:02:41 +09:00
shimizukawa
e296bdc849 The change c773692 breaks a previous gettext output that contains duplicated msgid such as "foo bar" and "version changes in 1.3: foo bar". 2015-02-28 00:34:30 +09:00
shimizukawa
1c6dcd8842 Merge branch 'source_suffix'
Conflicts:
	CHANGES
2015-02-27 21:09:15 +09:00
Jakob Lykke Andersen
b1775cbf8c Add convenience directives and roles to C++ domain
Add directive `cpp:var` and roles `cpp:var` and `cpp:any`.
Fixes sphinx-doc/sphinx#1577, fixes sphinx-doc/sphinx#1744.
2015-02-26 21:44:46 +01:00
Georg Brandl
8a273d139b Fix generating emphasis nodes without semantic reason
Roles ``ref``, ``term`` and ``menusel`` now don't generate :durole:`emphasis`
nodes anymore.  If you want to keep italic style, adapt your stylesheet.
2015-02-25 15:51:47 +01:00
Georg Brandl
ea97e6658c Linkcheck now works with non-ASCII URIs.
Fixes: #1739
2015-02-25 12:49:45 +01:00
Georg Brandl
7189a2cf2c Add Python implementation (CPython, Jython, PyPy) to traceback file. 2015-02-25 12:49:45 +01:00
Georg Brandl
d63055bcd6 Merge pull request #1741 from jakobandersen/master
Fix sphinx-doc/sphinx#1737.
2015-02-25 11:59:32 +01:00
Jakob Lykke Andersen
5047098d24 Fix sphinx-doc/sphinx#1737.
Also do better error handling when an outer name could not be parsed.
2015-02-25 11:17:12 +01:00
Georg Brandl
7e119135e5 Merge pull request #1740 from jakobandersen/cpp-fix-1738
C++ fix for #1738
2015-02-25 10:39:43 +01:00