Rob Ruana
568f91d1bf
Closes #1831 : [Napoleon] Makes google type regex greedy to consume entire type, even if it contains colons
2015-05-03 16:28:39 -07:00
Takayuki Hirai
78000d2066
Fix #1780 : Remove duplicated "class" and "exception" keywords from text builder
2015-04-28 22:17:09 +09:00
Rob Ruana
9d2ec40d8b
Closes #1831 : [Napoleon] If name is not found in NumPy Doc Returns section, regard the whole line as the type
2015-04-03 21:32:05 -04:00
Takeshi KOMIYA
64d2f22eb4
Fix #1790 literalinclude strips empty lines at the head and tail
2015-04-02 14:48:14 +09:00
Takeshi KOMIYA
aa66e7860b
Fix #1789 :pyobject:
option of literalinclude
directive includes following lines after definitions
2015-04-02 14:47:51 +09:00
Takayuki Hirai
144fb2634d
Fix #1793 : Add new line before first item of list
2015-03-30 19:55:49 +09:00
shimizukawa
d699b1d326
rename function name to avoid ambiguous
2015-03-16 23:06:54 +09:00
shimizukawa
30d6d72f47
Fixed #1771 : automated .mo building doesn't work properly with template translation: sphinx-build will load sphinx.mo file to initialize template-bridge before compiling sphinx.po file.
2015-03-16 23:01:16 +09:00
shimizukawa
a94c40cbcf
ref #1776 : test fixed.
2015-03-16 00:27:12 +09:00
shimizukawa
e8e5bae15f
remove test that is not works correctly on travis.ci (+1 squashed commits)
2015-03-15 02:18:00 +09:00
shimizukawa
6b7a2c8b6a
refs #1777 : fix testing. first time testing always failed it means testing on travis.ci will never be succeeded.
2015-03-15 01:13:57 +09:00
shimizukawa
1628eebfb5
refs #1777 : add test for loading theme plugins
2015-03-15 00:47:43 +09:00
shimizukawa
ea25342acc
Support PEP-440 version spec for developers.
2015-03-14 16:46:24 +09:00
shimizukawa
a1a80ab509
fix for make check
2015-03-10 00:22:02 +09:00
shimizukawa
65fb5a664d
fix test: numfig test depends ja translation.
2015-03-09 22:33:41 +09:00
Georg Brandl
3437872b30
merge
2015-03-08 15:38:28 +01:00
Georg Brandl
705f6a997b
Merge branch 'apple-help' of git://github.com/al45tair/sphinx
2015-03-08 15:35:04 +01:00
Jakob Lykke Andersen
3cf67aa5cf
C++, more name lookup fixes.
...
Not all names knew of the scope they were in, resulting in not links.
See sphinx-doc/sphinx#1746 .
2015-03-08 14:58:34 +01:00
shimizukawa
297e436aac
fix testcases for windows that introduced at 3d62e353a5
2015-03-08 21:59:43 +09:00
shimizukawa
996b872875
refs #1700 , #1742 : add testing and fix two bugs.
2015-03-08 21:59:42 +09:00
shimizukawa
e2a921ff07
refs #1742 : :name:
option is provided for toctree
, code-block
and literalinclude
dirctives.
2015-03-08 21:59:37 +09:00
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
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
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
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
9ba0a51555
refs #1658 , #1750 : add test and small tweak.
2015-03-03 08:13:14 +09:00
Jakob Lykke Andersen
9e83537e90
Merge branch 'cpp-tests' into cpp-fix-1753
2015-03-02 21:05:31 +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
Jakob Lykke Andersen
4f0e246109
C++, add tests for ids.
2015-03-01 15:04:15 +01:00
shimizukawa
1c6dcd8842
Merge branch 'source_suffix'
...
Conflicts:
CHANGES
2015-02-27 21:09:15 +09: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
Jakob Lykke Andersen
370048531c
Merge fix sphinx-doc/sphinx#1738 .
2015-02-25 10:08:44 +01:00
shimizukawa
87527b8558
fix too long line
2015-02-24 22:38:49 +09:00
Jakob Lykke Andersen
b8e324fb2f
Fixes sphinx-doc/sphinx#1738 .
2015-02-24 09:49:43 +01:00
shimizukawa
06944af540
refs #1346 , fix missing test requires, fix tests (need html_theme='classic')
2015-02-24 01:20:05 +09:00
shimizukawa
b0d40ea22c
Closes #1735 : Use https://doc.python.org/ instead of `http
protocol. It was used for
sphinx.ext.intersphinx` and some documentation.
2015-02-23 04:20:35 +00:00
shimizukawa
bb85c1c87f
refs #1235 : i18n: 'uri' and 'alt' attribute on 'image' and 'figure' nodes can be translated if gettext_additional_targets
has 'image'.
2015-02-22 19:35:49 +09:00
shimizukawa
0ad1c154c0
refs #1235 : i18n: 'doctest-block' and 'raw' node can be translated if gettext_additional_targets
has that string.
2015-02-22 15:40:01 +09:00
shimizukawa
c53fa4b369
refs #1235 : i18n: 'literal-block' node can be translated if 'literal-block' is set to gettext_additional_targets
.
2015-02-22 13:51:02 +09:00
shimizukawa
d5dca56ff8
The `gettext_enables
config value has been renamed to
gettext_additional_targets`.
2015-02-22 13:31:28 +09:00
Takeshi KOMIYA
62e0490b81
Closes #1718 . :numref: does not work with capital letters in the label
2015-02-22 11:28:21 +09:00
Rob Ruana
d51eeab07b
Closes #1716 : Adds "Yield" alias for "Yields" section in napoleon extension
2015-02-09 03:49:31 -05:00
Georg Brandl
5d30675e5b
Merge pull request #1715 from jakobandersen/cpp-enum-support
...
C++, enum support and fix of HTML search.
2015-02-09 07:32:24 +01:00
Rob Ruana
c428f9353e
Closes #1484 : add tests to confirm namedtuple subclasses are handled correctly by napoleon extension
2015-02-09 01:28:57 -05:00
Jakob Lykke Andersen
3d6bae0cde
Merge from master
2015-02-08 23:48:31 +01:00
Jakob Lykke Andersen
46cd97873c
Fix C++ tests.
2015-02-08 23:22:31 +01:00
Georg Brandl
bf3bdcc7f5
source_suffix can now be a list.
2015-02-08 20:13:47 +01:00
Ian Lee
9302231342
Added insertion of todo_include_todos config option.
...
Set to True when we enable 'ext_todo' during the quickstart process.
2015-02-07 00:00:08 -08:00
Jakob Lykke Andersen
d09bcfa717
C++, minor code formatting fixes.
2015-02-07 01:26:35 +01:00
Jakob Lykke Andersen
d8a109976b
Merge from master
2015-02-07 00:55:19 +01:00
Jakob Lykke Andersen
fb3a524a90
C++, fixes to id generation.
...
New ids are prefixed with "_CPPv1". Replacing the prefix with "_Z"
should yield a valid mangled name following the Itanium C++ ABI,
except for expressions, which are currently not handled.
2015-02-06 08:35:12 +01:00
Jakob Lykke Andersen
f4cf30b95e
C++, old-style linkes, const/volatile and templates, sphinx-doc/sphinx#1704
2015-02-05 10:00:50 +01:00
Jakob Lykke Andersen
89c919911f
Merge from master
2015-02-04 23:23:28 +01:00
Jakob Lykke Andersen
aaa71b0606
Towards a solution for sphinx-doc/sphinx#1704 .
...
Elements now get multiple ids to keep permalinks permanent. The default
id is the newest style, which is used as the shown permalink and in the
index. The old style ids have been (partially) replicated and are
temporarily used as the default id for testing purposes.
2015-02-04 10:11:58 +01:00
Georg Brandl
3068f6c7f1
Merge pull request #1705 from jakobandersen/cpp-declspecs-on-right
...
C++, fix #1689
2015-02-04 06:37:13 +01:00
Jakob Lykke Andersen
5f0977ca30
C++, add support for 'const', 'volatile', etc. on the right-hand side of the type.
2015-02-03 09:18:18 +01:00
Georg Brandl
309e0169b0
Adapt test after env-updated change.
2015-01-25 16:25:32 +01:00
Takeshi KOMIYA
b563fa44f2
Fix #1620 : Use VerbatimBorderColor to add frame to code-block in LaTeX
2015-01-18 15:32:17 +09:00
Alastair Houghton
cc58f0a5e4
Use binary mode for reading plist file, as per Python 3 docs.
2015-01-15 13:40:37 +00:00
Alastair Houghton
d2d202f160
Added tests for Apple Help generation.
2015-01-15 13:17:01 +00:00
Rob Ruana
9df7b53782
Closes #1670 : Fix napoleon handling of *args and **kwargs parameters
2015-01-12 17:08:51 -05:00
Georg Brandl
0071ac8399
Test fixup.
2015-01-09 18:41:09 +01:00
Georg Brandl
81313e903b
Merge pull request #1666 from EricFromCanada/highlight_options
...
Add highlight_options configuration value
2015-01-06 17:09:29 +01: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
EricFromCanada
a63e4945ea
Add highlight_options configuration value
...
This changeset adds the `highlight_options` configuration value, which
specifies a dict of key-value pairs to pass to the Pygments highlighter
specified with `highlight_language`. For example, specifying
`highlight_options = {'funcnamehighlighting' : False}` for the 'php'
lexer will disable function name highlighting.
Both the HTML and LaTeX writers have been updated to include the
options when calling `highlight_block()`, as long as the currently
selected language matches what was set with `highlight_language`, i.e.
not when modified by `highlight::` or `code-block::` directives.
2015-01-05 12:58:43 -05:00
Georg Brandl
a23903d8d5
Merge branch 'stable'
2015-01-03 21:41:14 +01:00
Georg Brandl
567d52f199
all: update copyright
2015-01-03 21:36:32 +01:00
Jakob Lykke Andersen
c010b47589
C++, initial enum support (see #772 )
2015-01-03 16:59:08 +01:00
Takayuki Shimizukawa
edf63e1406
Fix again. Sections which depth are lower than :tocdepth: should not be shown on localtoc sidebar. Closes #1251
2014-12-05 16:42:30 +09:00
Takayuki Shimizukawa
32e4fab86b
fix py3 error for pull request #314
2014-12-04 17:26:13 +09:00
Takayuki Shimizukawa
c0a9d7740e
Merged in lehmannro/sphinx-warnconfig (pull request #314 )
...
Check configuration values for their types
2014-12-04 17:22:20 +09:00
tk0miya
0f1d8433e7
Fix #1607 : Sphinx crashes on building latexpdf with "howto" class
2014-11-24 12:13:17 +09:00
Georg Brandl
4d5b20de38
merge with stable
2014-11-17 19:36:34 +01:00
Georg Brandl
571cae87a5
Closes #1372 : use https URL for PEPs and RFCs
2014-11-17 19:33:59 +01:00
Georg Brandl
6c194ad56f
Closes #1623 : Return types specified with `:rtype:
` are now turned into links if possible.
2014-11-12 11:32:21 +01:00
Robert Lehmann
c528b65292
Refactor tests.
2014-11-09 09:55:56 +01:00
Georg Brandl
4f4d8688d5
Py3 fix.
2014-11-07 15:19:36 +01:00
Georg Brandl
bbd315b82e
merge with stable
2014-11-07 15:03:06 +01:00
Georg Brandl
fa09ec000f
Fix :confval:autodoc_docstring_signature
not working with signatures
...
in class docstrings.
2014-11-07 15:01:10 +01:00
Georg Brandl
5edd1fcad8
Announce used Python version when running tests.
2014-11-06 09:12:51 +01:00
Georg Brandl
e6fa449e85
Add a basic test for sphinx.apidoc.
2014-11-06 09:11:20 +01:00
Georg Brandl
db57e82afe
Stop removing temporary test data after tests.
2014-11-06 09:10:32 +01:00
Robert Lehmann
ed5f77916f
Spec out configuration type checks.
2014-11-05 14:33:30 +01:00
Robert Lehmann
5cc72ca52b
Checked configuration values for their types. Fixes #1150 .
2014-10-30 15:46:02 +01:00
tk0miya
88103c112a
Fix #1603 :numref: doesn't work correctly when label contain underscore
...
If label contains underscore, the underscores are replaced with hyphens on normalization.
:numref: confuses the normalization with explicit notation.
This fix uses `target` variable insted of labelid to check the role is explicit or not.
2014-10-27 11:02:54 +09:00
Takayuki Shimizukawa
d289870f48
rename numfig_prefix
to numfig_format
. later is better for the purpose.
2014-10-10 00:19:17 +09:00
Takayuki Shimizukawa
da651089e7
fix trailing space and long line
2014-10-09 23:53:33 +09:00
Takayuki Shimizukawa
1ff5ffe1ed
Merged in tk0miya/sphinx (pull request #307 )
...
Add frame to code-block in LaTeX
2014-10-09 21:31:28 +09:00
Takayuki Shimizukawa
2826af738d
Merged in tk0miya/sphinx (pull request #303 )
...
Add :numref: role to refer figures, tables and code-blocks by its fignum
2014-10-09 19:45:50 +09:00
Takayuki Shimizukawa
ab91342bb1
fix testing for jQuery-1.11.1
2014-10-09 00:56:26 +09:00
tk0miya
f51b945d89
Add frame to code-block in LaTeX
2014-10-08 21:52:33 +09:00
Takayuki Shimizukawa
a7de6a2575
fix testing for ad7ce315a358
2014-10-07 23:12:16 +09:00
Jeppe Pihl
29af67f438
merge
2014-10-06 20:31:30 +02:00
tk0miya
cdc244428d
Merge with default
2014-10-06 23:57:16 +09:00
Georg Brandl
65296334e0
test fix
2014-10-06 15:49:15 +02:00