Takeshi KOMIYA
e6cd347f6c
Merge branch 'stable'
2017-01-16 01:31:57 +09:00
Takeshi KOMIYA
067044211e
Fix #3158 : too much space after captions in PDF output
2017-01-15 22:02:15 +09:00
Marco Buttu
960f889a2c
Added pyversion option for doctest (issue 3303)
...
Code, tests and documentation.
2017-01-15 10:27:34 +01:00
Jakob Lykke Andersen
ccd6bf4a0c
C++, fix refs to operator() functions.
...
Fixes sphinx-doc/sphinx#2952 .
2017-01-15 14:36:29 +09:00
Marco Buttu
19298dec33
Added pyversion option for doctest (issue 3303)
2017-01-14 18:57:19 +01:00
Jakob Lykke Andersen
e3cb2bbcf1
C++, at option tparam-line-spec for templates.
...
Make it possible to render template parameters on separate lines.
2017-01-15 00:52:08 +09:00
Marco Buttu
160b9a5fd0
Added pyversion option for doctest (issue 3303)
2017-01-13 22:36:17 +01:00
shimizukawa
a11218151f
fix nits
2017-01-13 00:24:10 +09:00
shimizukawa
2254da3782
refs #3329 : emit warnings if po file is invalid and can't read it. Also writing mo too.
2017-01-13 00:11:35 +09:00
Takeshi KOMIYA
81a4248df9
Merge pull request #3323 from gbaier/apidoc_extensions
...
apidoc takes extension options
2017-01-12 23:42:56 +09:00
Gerald Baier
d9ae4ed81e
implementing PR comments
2017-01-12 08:52:32 +01:00
Takeshi KOMIYA
603cf3a84a
Merge branch 'master' into split_app.status_iterator
2017-01-12 11:38:12 +09:00
Gerald Baier
2402fd7ebe
apidoc takes extension options
2017-01-11 11:51:23 +01:00
Takeshi KOMIYA
de3d03a7b5
Fix testcase
2017-01-10 01:06:57 +09:00
Takeshi KOMIYA
8cbe1efe8d
Merge branch 'stable'
2017-01-10 01:04:21 +09:00
shimizukawa
b5530629a9
pytest: update by reviewing
...
* remove 'specific_srcdir' feature
* simplify 'shared_result' feature
* rename 'AppWrapper' into 'SphinxTestAppWrapperForSkipBuilding'
2017-01-09 17:41:47 +09:00
shimizukawa
561abdd164
pytest optimizatoin:
...
- remote using deprecated decorators
- remove gen_with_app
- remove yield testing
- remove pytest warnings
- refactoring
2017-01-08 15:14:38 +09:00
Takeshi KOMIYA
929683df27
Sphinx.status_iterator() is now deprecated
2017-01-07 18:43:32 +09:00
Takeshi KOMIYA
ae24524d5f
Drop debug2() (refs: #3304 )
2017-01-07 15:03:16 +09:00
shimizukawa
402a11aeba
pytest: remove deprecated test util functions
2017-01-07 02:17:58 +09:00
shimizukawa
4c22cd10ca
Merge branch 'stable'
2017-01-07 02:14:29 +09:00
shimizukawa
89e1df0bba
pytest: nits
2017-01-06 23:10:52 +09:00
shimizukawa
baaef9146d
pytest: remove deprecated with_app decorator functions
2017-01-06 01:14:47 +09:00
shimizukawa
b3c207dd49
fix
2017-01-06 00:50:02 +09:00
shimizukawa
f962ad67d2
pytest: remove deprecated raises and raises_msg assert functions
2017-01-06 00:46:42 +09:00
shimizukawa
f566f003f3
pytest: nits
2017-01-06 00:26:31 +09:00
shimizukawa
d0a33dd785
pytest: remove deprecated with_tempdir decorator
2017-01-06 00:26:01 +09:00
shimizukawa
380dd23d9f
pytest: remove repr_as testing feature that avoids long annoying log for test generator feature on nose. In contrast, pytest does not produce such output. So repr_as is not needed anymore. refs #1785
2017-01-05 23:43:16 +09:00
shimizukawa
ad6d731ecf
pytest: remove unused testing feature for a while.
2017-01-05 23:36:36 +09:00
Takeshi KOMIYA
431d865d4a
Drop deprecated options for html builder
2017-01-05 13:51:55 +09:00
Takeshi KOMIYA
5d715cb148
Drop deprecated options for latex builder
2017-01-05 13:48:41 +09:00
Takeshi KOMIYA
ea856fd909
Drop LDML support of format_date()
2017-01-05 13:47:19 +09:00
shimizukawa
5b7d237db3
pytest migration
2017-01-04 00:59:30 +09:00
Takeshi KOMIYA
15b46598e2
logger.warning() supports node as location parameter
2017-01-02 12:59:51 +09:00
Takeshi KOMIYA
e755a8c004
Use loggers
2017-01-02 12:59:51 +09:00
Takeshi KOMIYA
6bf201533a
Fix style-check violation
2017-01-02 12:59:51 +09:00
Takeshi KOMIYA
aa65a19466
Add sphinx.util.logging.SafeEncodingWriter
2017-01-02 12:59:50 +09:00
Takeshi KOMIYA
ad871e5a48
Add sphinx.util.logging.pending_warnings()
2017-01-02 12:59:50 +09:00
Takeshi KOMIYA
d8ad3d063c
sphinx.util.parallel supports logging in child workers
2017-01-02 12:59:50 +09:00
Takeshi KOMIYA
70d6a560f2
sphinx.util.logging supports colorized log
2017-01-02 12:59:50 +09:00
Takeshi KOMIYA
7358512f11
logging.info() supports verbosity filter by app.verbosity
2017-01-02 12:59:50 +09:00
Takeshi KOMIYA
284ace16bf
Now sphinx.util.logging supports info and other logs
2017-01-02 12:59:50 +09:00
Takeshi KOMIYA
3698fe2b0f
Add testcase for sphinx.util.logging
2017-01-02 12:59:50 +09:00
Takeshi KOMIYA
85dcd7baa8
Use sphinx.util.logging instead app.warn()
2017-01-02 12:59:50 +09:00
Takeshi KOMIYA
6d4e645409
Add sphinx.util.logging
2017-01-02 12:59:50 +09:00
Takeshi KOMIYA
bd382528d0
Merge branch 'stable'
2016-12-25 12:40:27 +09:00
Takeshi KOMIYA
01736bb397
Fix test_latex failed if stylefiles not found (refs: #3264 )
2016-12-24 19:30:32 +09:00
jfbu
3099150a0d
Merge branch 'stable'
2016-12-17 16:50:35 +01:00
Takeshi KOMIYA
3b9aee43a2
Fix #185 : References to section title including raw node has broken
2016-12-17 17:29:03 +09:00
Takeshi KOMIYA
ab00f5fe49
Merge branch 'stable'
2016-12-17 15:59:13 +09:00
Takeshi KOMIYA
9fc53cecf7
Reduce deprecation warnings (refs: #3192 )
2016-12-15 17:15:49 +09:00
Takeshi KOMIYA
ade2603767
Use docutils' Directive class instead compat module
2016-12-14 16:50:43 +09:00
Takeshi KOMIYA
e645ea59db
Merge branch 'stable'
2016-12-14 00:12:23 +09:00
shimizukawa
5fc8d3db91
Fix : #2469 : Ignore updates of catalog files for gettext builder. Thanks to Hiroshi Ohkubo.
2016-12-12 23:28:00 +09:00
Takeshi KOMIYA
92a9c653f7
Merge branch 'stable'
2016-12-12 22:35:55 +09:00
Jean-François B
0b1130a7cb
Merge pull request #3206 from jfbu/fixlatexhyperlink
...
Fix #3200 : 1.5 LaTeX: xref inside desc_name not allowed
2016-12-11 14:50:44 +01:00
shimizukawa
124938c9ae
Merge branch '1.5-release' into stable
2016-12-10 11:56:22 +09:00
Rob Ruana
f4716ed3a3
[Napoleon] adds xref test data for pull request #3168
2016-12-09 14:13:29 -08:00
jfbu
9d1f95c9a0
fix 3 line too long style-check errors
2016-12-08 22:30:48 +01:00
jfbu
6dcf43c826
fix pattern string in test_inheritance_diagram_latex for CI testing
2016-12-08 22:14:48 +01:00
jfbu
18e01c8341
fix one more test failure and fix previous fix test (missing u)
2016-12-08 22:05:08 +01:00
jfbu
2e9ee59ee9
fix tests for latex build
2016-12-08 21:43:04 +01:00
shimizukawa
b1abd4629b
Fix#3198: AttributeError is raised when toctree has 'self'.
...
this regression introduced at dc985ed4
.
2016-12-08 00:34:19 +09:00
Jellby
6ce1bb1f00
Merge remote-tracking branch 'upstream/master'
...
Conflicts:
sphinx/application.py
sphinx/builders/html.py
2016-12-06 19:14:12 +01:00
shimizukawa
0a7d039df5
Merge branch '1.5-release' into master
2016-12-05 23:14:25 +09:00
Takeshi KOMIYA
7e066e6513
Fix broken tests
2016-12-04 23:34:57 +09:00
shimizukawa
eb0aa50536
fix 3 test failures that cause by translation changed
2016-12-04 23:03:46 +09:00
shimizukawa
9fb398e475
Merge branch 'stable' into 1.5-release
2016-12-04 21:44:16 +09:00
shimizukawa
6ae67f9f38
Fix #3024 , refs #3037 : In Python3, application.Sphinx._log crushed when the log message cannot be encoded into console encoding.
2016-12-04 13:54:11 +09:00
Takeshi KOMIYA
f43a02ca27
Merge branch 'stable' into 1.5-release
2016-12-03 21:05:18 +09:00
Takeshi KOMIYA
61a6ca5b37
Merge branch 'stable' into 1.5-release
2016-12-03 16:25:58 +09:00
Junpei Kawamoto
df37a05420
Update the regex in util.split_docinfo so that it parses multi-line field bodies.
...
Field Lists, which are used to define docinfo, allow multi-line field bodies,
but util.split_docinfo didn't consider it.
This commit updates the regex in that function so that it parses such multi-line field bodies.
2016-12-02 23:39:12 -05:00
shimizukawa
3284e89991
Merge branch 'fix-attr-documenter' into stable
2016-11-24 23:55:02 +09:00
Rob Ruana
f45fe6fc8c
Fix #3174 : [Napoleon] Defers autodoc-skip-member to other extensions if Napoleon doesn't care if the member is skipped
2016-11-23 10:45:39 -08:00
shimizukawa
76f2ed9215
Fix #3015 : fix a broken test on Windows.
2016-11-24 00:26:36 +09:00
Takeshi KOMIYA
a413b857af
Merge branch '1.5-release'
2016-11-23 14:45:05 +09:00
Takeshi KOMIYA
98f7818101
Fix merging
2016-11-23 13:38:20 +09:00
Takeshi KOMIYA
e63afbc60e
Merge branch '1.5-release'
2016-11-23 13:31:02 +09:00
Takeshi KOMIYA
0ee524e392
Merge branch 'stable' into 1.5-release
2016-11-23 13:22:38 +09:00
Takeshi KOMIYA
52f54a6379
Fix #3164 : Change search order of `sphinx.ext.inheritance_diagram
`
2016-11-23 00:50:02 +09:00
Takeshi KOMIYA
9676e79c1c
inheritance_diagram: Move _import_class_or_module() method to function
2016-11-23 00:49:46 +09:00
Takeshi KOMIYA
43197de299
Fix #3117 : LaTeX writer crashes if admonition is placed before first section title
2016-11-23 00:42:34 +09:00
Rob Ruana
407a525ac8
[Napoleon] adds xref test data for pull request #3168
2016-11-21 16:12:23 -08:00
shimizukawa
8f79c11b04
#3093 : fix test again
2016-11-20 18:35:12 +09:00
shimizukawa
6b0d3e7400
#3093 : fix test again
2016-11-20 18:17:16 +09:00
shimizukawa
e712401dd1
#3093 : fix test
2016-11-20 18:00:23 +09:00
shimizukawa
3566352bdb
refs #3093 : add tests
2016-11-20 17:48:07 +09:00
Takeshi KOMIYA
b84035416f
Revert "Add `config-inited
` event"
...
This reverts commit 9569c6dbff
.
2016-11-20 12:46:30 +09:00
Takeshi KOMIYA
9569c6dbff
Add `config-inited
` event
2016-11-18 20:55:51 +09:00
Takeshi KOMIYA
4ca84aba45
Fix #3135 : `sphinx.ext.autodoc
` crashes with plain Callable
2016-11-13 00:01:41 +09:00
Takeshi KOMIYA
ceb4e9a805
Use sphinx-doc.org for testing
2016-11-06 17:52:15 +09:00
jfbu
53d202440f
add `@skip_if_stylefiles_notfound
` to maxlistdepth test
2016-11-05 11:50:12 +01:00
jfbu
0473e438dc
add unit test for maxlistdepth (latex)
2016-11-04 23:57:00 +01:00
Takeshi KOMIYA
a503849ac1
Merge pull request #2495 from electrofelix/linkcheck-skip-anchors
...
Allow skipping anchor checking using regex
2016-11-04 23:53:46 +09:00
Takeshi KOMIYA
56958227c8
Refactor test_bulid_latex: add skip_if_stylefiles_notfound()
2016-11-04 15:14:41 +09:00
Takeshi KOMIYA
3f4721e140
Refactore test_build_latex: add compile_latex_document()
2016-11-04 12:06:19 +09:00
Alex Grönholm
a1f6baaa81
Fix annotations formatting for plain typing.Callable
...
The typing.Callable class may be used without generic arguments, in which case it is equivalent to collections.abc.Callable.
2016-11-02 21:43:33 +02:00
Takeshi KOMIYA
b32d9a9bc7
Merge pull request #3071 from mleinart/autodoc/pass_through_decorators
...
Autodoc: Allow mocked module decorators to pass-through functions unchanged
2016-11-02 23:01:16 +09:00
Takeshi KOMIYA
ae1f523d52
Add `--extensions
to
sphinx-quickstart
` to support enable arbitary extensions from command line (ref: #2904 )
2016-11-02 11:11:15 +09:00
shimizukawa
a5bdf1fdae
Closes #3060 : autodoc supports documentation for attributes of Enum class. Now autodoc render just the value of Enum attributes instead of Enum attribute representation.
2016-10-28 00:02:09 +09:00
Darragh Bailey
22765990f0
Allow skipping anchor checking by regex
...
To avoid needing to turn off anchor checking across the entire
documentation allow skipping based on matching the anchor against a
regex.
Some sites/pages use JavaScript to perform anchor assignment in a
webpage, which would require rendering the page to determine whether
the anchor exists. Allow fine grain control of whether the anchor is
checked based on pattern matching, until such stage as the retrieved
URLs can be passed through an engine for deeper checking on the HTML
doctree.
2016-10-27 10:52:04 +01:00
jfbu
4d3f5b3c1c
update style files checklist for latex tests
2016-10-27 11:43:20 +02:00
Jakub Wilk
43cab26ece
Fix typos
2016-10-22 18:12:34 +02:00
Michael Leinartas
7943da9408
Add tests for mocked modules
2016-10-21 09:53:25 -05:00
shimizukawa
021974ed94
refs #2432 update for latest master
2016-10-19 01:08:07 +09:00
Takayuki SHIMIZUKAWA
340c6fb9f4
Merge pull request #2432 from agronholm/kwonlyargs
...
#2432 Fix unwanted * between varargs and keyword only args
2016-10-19 00:54:38 +09:00
Takeshi KOMIYA
e04fe845c7
Fix #3039 : English stemmer returns wrong word if the word is capitalized
2016-10-17 21:09:58 +09:00
Takeshi KOMIYA
53ea1cb280
Fix #3045 : HTML search index creator should ignore "raw" content if now html
2016-10-17 16:08:37 +09:00
Jean-François B
b8e0e935e4
Improve LaTeX footnotes ( #3022 )
...
Allow code-blocks in footnotes for LaTeX PDF output.
This is done via using a ``footnote environment``, provided by LaTeX
package footnotehyper which replaces old problematic package footnote.
No need to ship a custom tabulary anymore.
The footnote markers are silently removed from the table of contents and
do not end in the PDF bookmarks (the old code in ``sphinx.sty`` copying
``footmisc.sty`` was not satisfactory and has been deleted and replaced
by use of better ``\sphinxfootnotemark``.) Footnotes can be used also in
captions of literal blocks.
2016-10-15 12:09:58 +02:00
shimizukawa
487f3db5f6
To simplify, sphinx uses external mock package even if unittest.mock exists.
2016-10-15 16:22:27 +09:00
Jonathan Harker
59ba8c1dee
Fix #3028 : figure_language_filename format tokens, document tokens.
2016-10-13 16:41:57 +13:00
Takeshi KOMIYA
d87ba0d1da
Merge branch '2527_reversed_toctree'
2016-10-13 00:13:04 +09:00
Takeshi KOMIYA
111b7f4c72
Merge pull request #2843 from rthardin/issue_625_start_at_end_at
...
Add :start-at: and :end-at: parameters for literalinclude
2016-10-12 19:54:33 +09:00
Takeshi KOMIYA
c8fe4a1848
Rename :reverse: option of toctree directive to :reversed:
2016-10-12 19:36:49 +09:00
Takeshi KOMIYA
f22bbf668d
Add testcase for reversed toctree
2016-10-12 19:32:48 +09:00
Takeshi KOMIYA
c5e56969ed
Add testcase for indexentries
2016-10-11 18:59:21 +09:00
Takeshi KOMIYA
6027bb75a5
Refactor: move process_only_nodes() to sphinx.util.nodes
2016-10-11 18:59:21 +09:00
Takeshi KOMIYA
dd3f12a7fc
Fix style-check violation
2016-10-11 18:59:12 +09:00
jfbu
e43a31da12
Re-insert check for LaTeX macro filename which got suppressed in merge
2016-10-10 21:15:53 +02:00
jfbu
861973bfbb
Merge branch 'usegeometrypackage'
2016-10-10 20:55:44 +02:00
Jean-François B
89ccf9e103
Merge pull request #3017 from jfbu/fixuseofncychap
...
Fix #147 and fix #1986 : Problem with latex chapter style
2016-10-10 20:49:05 +02:00
Timotheus Kampik
de7c93756c
allow search hits in body text that are in title of other doc #2891 ( #2971 )
...
* allow search hits in body text that are in title of other doc #2891
* shorten lines/add line breaks #2891
* remove out-commented LoC, simplify check #2891
2016-10-11 00:42:41 +09:00
jfbu
34f1ce17fd
Fix #3018 : LaTeX problem with page dimensions and chapter titles
...
New key ``'geometry'`` to ``latex_elements``.
2016-10-07 23:40:39 +02:00
jfbu
5b78aa28fe
Fix #147 and fix #1986 : Problem with latex chapter style
...
Notice that as an after effect ``Contents`` or ``Python Module Index``
will appear (by default) in bold, and larger than formerly (it was a
bug of Sphinx that they were not styled).
I am leaving the `\py@HeaderFamily` in the `sphinx.sty` patch to the
Bjarne `fncychap.sty` style for backwards compatibility. And as it does
`\bfseries` by default I left only the size changing commands in the
`fncychap` customization of Bjarne style.
Also, the `\@makechapterhead` re-definition obeys `\mainmatter` etc...
2016-10-07 11:55:43 +02:00
Takeshi KOMIYA
4c3c128e9b
Fix #3000 : `option
` directive generates invalid HTML anchors
...
fix
2016-10-07 12:11:28 +09:00
Hiroaki Itoh
42604a1ff6
Fix #2990 : linkcheck raises "Can't convert 'bytes' object to str implicitly" error if linkcheck_anchors enabled
2016-10-06 18:59:24 +09:00
Takeshi KOMIYA
ce7fea9a35
Fix #2988 : linkcheck: retry with GET request if denied HEAD request
2016-10-04 12:47:59 +09:00
Takeshi KOMIYA
bc6b4bf70e
Remove unused LaTeX macro filename from tests
2016-10-02 06:58:55 +09:00
Takeshi KOMIYA
9358ea239b
Add testcase for toctree
2016-09-30 10:42:18 +09:00
Jellby
f105b737ed
Let's see now
2016-09-29 20:43:43 +02:00
Jellby
fbc8802dc3
Remove trailing whitespaces
2016-09-29 20:27:35 +02:00
Jellby
9bef597a2f
Merge remote-tracking branch 'upstream/master'
...
Conflicts:
tests/test_build_html.py
2016-09-29 20:21:50 +02:00
Takeshi KOMIYA
50bf7960bd
Uninstall sphinx directives and roles of domains after build
2016-09-21 10:48:52 +09:00
Takeshi KOMIYA
090e357969
Merge pull request #2963 from tk0miya/326_numref_section
...
make section numref-able and allow to refer the captions in linktext
2016-09-21 10:45:57 +09:00
Takeshi KOMIYA
82c153ffd2
Fix #2931 : code-block directive with same :caption: causes warning of duplicate target
2016-09-17 18:28:55 +09:00
Takeshi KOMIYA
cfddf17d35
Fix #2931 : code-block directive with same :caption: causes warning of duplicate target
2016-09-17 18:13:17 +09:00
Takeshi KOMIYA
2b10fc0188
Fix #2916 : numref
role can also refer caption as an its linktext
2016-09-17 15:51:18 +09:00
Takeshi KOMIYA
1aafc7e2e5
Fix #326 : numref
role can also refer sections
2016-09-17 15:51:18 +09:00
Takeshi KOMIYA
98886d3e07
Merge pull request #2951 from arcivanov/issue_2949
...
Sphinx apidoc does not process PEP-0420 implicit namespaces
2016-09-17 14:49:28 +09:00
Arcadiy Ivanov
e34b6823c7
Sphinx apidoc does not process PEP-0420 implicit namespaces
...
fixes #2949 , connected to #2949
2016-09-15 11:49:34 -04:00
Takeshi KOMIYA
f8c1c65c21
Refactor sphinx.environment: Reimplemnt process_refonly_bullet_lists() as a transform
2016-09-15 02:29:50 +09:00
Takeshi KOMIYA
d281a32b3b
Refactor sphinx.environment: Reimplement filter_messages() as a transform
2016-09-15 02:29:50 +09:00
Andrey Golovizin
584bb96a06
Fix relative paths in intersphinx links
2016-09-14 10:55:18 +09:00
Takeshi KOMIYA
c832d36d19
Merge pull request #2056 from erosennin/intersphinx-fix-relative-path
...
Fix relative paths in intersphinx links
2016-09-14 10:54:18 +09:00
Takeshi KOMIYA
fae9eb7784
Fix tests are crashed under unstable network
2016-09-10 16:49:17 +09:00
Takeshi KOMIYA
15518bad12
Fix could not translate the content of meta directive (ref: #1734 )
2016-09-01 23:35:23 +09:00
Takeshi KOMIYA
97c6cc4e10
Merge pull request #2880 from tk0miya/1734_translate_caption_of_toctree
...
Fix #1734 : Could not translate the caption of toctree directive
2016-09-01 23:30:49 +09:00
Takeshi KOMIYA
691fd15839
Fix broken testcase
2016-09-01 23:30:04 +09:00
Takeshi KOMIYA
9b00c31ee2
Fix #1734 : Could not translate the caption of toctree directive
2016-09-01 17:58:24 +09:00
Takeshi KOMIYA
c6e102999f
Merge branch 'stable'
2016-09-01 02:25:14 +09:00
Takeshi KOMIYA
b7628484ee
Fix style-check violation
2016-08-31 00:43:12 +09:00
Takeshi KOMIYA
f2d044bb73
Merge pull request #2878 from tk0miya/2874_gettext_builder_should_ignore_only_directive
...
Fix #2874 : gettext builder could not extract all text under the ``only`` directives
2016-08-31 00:17:37 +09:00
Takeshi KOMIYA
c7f299b86f
Fix #646 : `option
` directive support . character as a part of options
2016-08-31 00:04:41 +09:00
Takeshi KOMIYA
8d96c90fc6
Fix #1462 : autosummary warns for namedtuple with attribute with trailing underscore
2016-08-30 00:37:30 +09:00
Takeshi KOMIYA
e96e627d59
Fix #2874 : gettext builder could not extract all text under the `only
` directives
2016-08-27 23:57:49 +09:00
Takeshi KOMIYA
e64ee7e330
Merge branch 'stable'
2016-08-27 23:42:40 +09:00
Takeshi KOMIYA
07e30b279b
Merge pull request #2884 from tk0miya/refactor_intersphinx
...
Refactor intersphinx: Use requests package
2016-08-27 16:43:54 +09:00
Takeshi KOMIYA
acd4d9f2ba
#2902 : jsdump.loads fails to load search index if keywords starts with underscore
2016-08-27 15:28:36 +09:00
Takeshi KOMIYA
52f4c07202
Add tests for sphinx.util.jsdump:loads()
2016-08-27 14:20:08 +09:00
Takeshi KOMIYA
a61d90f674
Merge pull request #2854 from tk0miya/use_epub3_builder_by_default
...
Use epub3 builder by default. And the old epub builder is renamed to epub2.
2016-08-22 22:50:01 +09:00
Takeshi KOMIYA
69d1dfaade
Use epub3 builder by default. And the old epub builder is renamed to epub2.
2016-08-22 21:39:44 +09:00
Takeshi KOMIYA
e7ff996d13
intersphinx: _strip_basic_auth() only removes credentials from URL
2016-08-22 20:58:46 +09:00
Takeshi KOMIYA
35232a3dd6
intersphinx: Use requests package
2016-08-22 20:58:45 +09:00
Takeshi KOMIYA
609ae03947
intersphinx: Refactor _get_safe_url()
2016-08-22 20:35:10 +09:00
Takeshi KOMIYA
dcdd401d65
intersphinx: Add read_inventory()
2016-08-22 20:35:10 +09:00
Takeshi KOMIYA
bd22d09f48
Add domain support to support equation cross references (ref: #1210 , #2851 )
2016-08-22 19:58:46 +09:00
Takeshi KOMIYA
3639231cec
Merge pull request #2857 from tk0miya/std_domain_handles_citations
...
std domain handles citations
2016-08-20 13:22:27 +09:00
Takeshi KOMIYA
372e83f0c7
Merge pull request #2853 from shibukawa/fix/genindex
...
Fix genindex.html to satisfy xhtml standard
2016-08-20 12:52:23 +09:00
Takeshi KOMIYA
a1d6be6a54
Fix #1797 : text builder inserts blank line on top
2016-08-19 23:46:54 +09:00
Takeshi KOMIYA
05caa0f037
Fix #1953 : `Sphinx.add_node
does not add handlers the translator installed by
html_translator_class`
2016-08-19 00:45:45 +09:00
Yoshiki Shibukawa
8e0bf12f5f
Fix genindex.html to satisfy xhtml standard
2016-08-18 21:17:12 +09:00
Takeshi KOMIYA
6911611f8d
Fix broken test
2016-08-18 12:48:13 +09:00
Takeshi KOMIYA
1cfde018d2
Merge branch 'stable'
2016-08-18 12:12:15 +09:00
Takeshi KOMIYA
1c9524dedd
Add testcase for #2846
2016-08-17 13:58:05 +09:00
Andrew Lyjak
47a3e3dfd3
Pass command args into nose unit test runner from tests/run.py
...
This allows developers to selectively run tests, to enable debugging
on test failures, etc. See
http://nose.readthedocs.io/en/latest/usage.html for usage
instructions.
2016-08-16 01:49:07 -07:00
Takeshi KOMIYA
d5a770b592
std domain handles citations
2016-08-16 01:38:20 +09:00
Takeshi KOMIYA
bfcc2a159b
Fix test has broken in py3
2016-08-11 13:58:21 +09:00
Takeshi KOMIYA
82b451df03
Remove debug print
2016-08-11 12:20:52 +09:00
Takeshi KOMIYA
d5078a64d7
Fix #2789 : sphinx.ext.intersphinx
generates wrong hyperlinks if the inventory is given
2016-08-11 11:19:42 +09:00
Ryan Hardin
560b5725c9
Added :start-at: and :end-at: parameters for literalinclude
...
This feature is discussed as part of issue #625 .
2016-08-10 11:15:10 -04:00
Takeshi KOMIYA
8a9459b308
Merge branch 'stable'
2016-08-09 23:19:11 +09:00
Yoshiki Shibukawa
90b3c79895
fix html entity to fix epub error
2016-08-09 16:58:56 +09:00
Takeshi KOMIYA
e15216c568
Fix sphinx.ext.autodoc
crashes if target code imports * from mock modules by autodoc_mock_imports
2016-08-09 12:20:11 +09:00
Jakob Lykke Andersen
54dd5c5fd1
C++, add proper template introduction mangling
2016-08-07 21:55:58 +02:00
Jakob Lykke Andersen
1b251797bb
Merge branch 'master' into cpp-concepts
2016-08-07 18:37:31 +02:00
Takeshi KOMIYA
a9da999d71
Merge branch 'stable'
2016-08-08 00:40:42 +09:00
Joost van Zwieten
099b58f7fe
ext.autodoc: fix formatting instance annotations
...
Currently `format_annotation` fails on instances, because instances don't have
`__module__` and `__qualname__` attributes. Defer building the
`qualified_name` of an annotation until we have established that the annotation
is a type.
2016-08-07 16:18:22 +02:00
Jakob Lykke Andersen
c85e60a5ac
C++, increase support for attributes.
...
User-defined attributes and simple C++11 style attributes.
Closes sphinx-doc/sphinx#2682 .
2016-08-06 00:08:02 +02:00
Jakob Lykke Andersen
86f3e5aabb
Merge branch 'master' into cpp-attributes
2016-08-05 08:11:47 +02:00
Ashley Whetter
cfd4e51802
Python domain can now link container types automatically
...
Google types now greedily match the closing parenthesis.
Also removed name from returns section in Google docstrings.
Instead, everything before the colon is treated as the type.
2016-08-03 17:09:40 +01:00
Takeshi KOMIYA
99c9f60373
Merge branch 'stable'
2016-07-26 14:26:11 +09:00
Takeshi KOMIYA
ed70c71126
Merge pull request #2778 from LeoHuckvale/fix-abstractproperty-part2
...
fix inspect: return defargs[0] if obj.__dict__ is a property and raises exception
2016-07-21 11:12:34 +09:00
Takeshi KOMIYA
f2a7eeca60
Merge pull request #2774 from tk0miya/latex_engine
...
Add `latex_engine` to switch the LaTeX engine by conf.py
2016-07-21 01:05:51 +09:00
Takeshi KOMIYA
0e829c845e
sphinx.ext.math: Update the label of permalink
2016-07-19 11:16:57 +09:00
Takeshi KOMIYA
6399f8703b
Invoke latex building tests using latex_engine
2016-07-19 11:03:38 +09:00
Glenn Matthews
8c1a8153ca
Create PyGroupedField and use it for 'exceptions'
2016-07-15 22:01:06 -04:00
Takeshi KOMIYA
253eef9e6a
#2680 : sphinx.ext.todo
now emits warnings if todo_emit_warnings
enabled
2016-07-16 00:59:02 +09:00
Takeshi KOMIYA
947a457444
Merge pull request #2776 from shibukawa/fix/qthelpbuilder
...
fix #2352 (qthelp builder should have ) and improve qthelp readability
2016-07-15 01:56:39 +09:00
Takeshi KOMIYA
a692009808
Merge branch 'stable'
2016-07-15 00:51:29 +09:00
Leo Huckvale
fa89582d57
Fix tests for Python 2.6
2016-07-14 16:41:33 +01:00