Commit Graph

9706 Commits

Author SHA1 Message Date
Takeshi KOMIYA
326d7e64ce Merge branch 'master' into dont_emit_system_message_on_autodoc_warning 2018-01-08 20:19:36 +09:00
Takeshi KOMIYA
3965b1f023
Merge pull request #4366 from tk0miya/refactor_autodoc
Refactor autodoc
2018-01-08 20:09:23 +09:00
Takeshi KOMIYA
8ca490f399 Fix flake8 violation 2018-01-08 19:01:54 +09:00
Takeshi KOMIYA
6448d9b153 Refactor autodoc: Use get_documenters() 2018-01-08 18:03:48 +09:00
Takeshi KOMIYA
fb921c7457 Merge branch 'master' into refactor_autodoc 2018-01-08 15:10:43 +09:00
Takeshi KOMIYA
b6e38b4065
Merge pull request #4310 from tk0miya/refactor_AutoDirective
Refactor AutoDirective
2018-01-08 14:38:47 +09:00
Takeshi KOMIYA
42000e0f00
Merge pull request #4382 from tk0miya/refactor_PYTHONWARNINGS
refactor warnings settings on testing
2018-01-08 14:24:37 +09:00
Takeshi KOMIYA
78c7aaca8d
Merge pull request #4391 from jdufresne/readthedoc
Prefer https & readthedocs.io instead of readthedocs.org for links
2018-01-08 14:23:46 +09:00
Takeshi KOMIYA
1c0a5ee55d Merge branch 'master' into refactor_AutoDirective 2018-01-08 14:17:08 +09:00
Takeshi KOMIYA
9a6ad38e2d Rename AutoDirective (and make alias) 2018-01-08 14:12:44 +09:00
Takeshi KOMIYA
06ebc3f864
Merge pull request #4395 from tk0miya/4081_change_color_of_warnings
Fix #4081: Warnings and errors colored the same when building
2018-01-08 14:08:22 +09:00
Takeshi KOMIYA
273f834157 Fix #4081: Warnings and errors colored the same when building 2018-01-08 12:29:06 +09:00
shimizukawa
b5edde474d update CHANGES for #4198 2018-01-08 11:18:36 +09:00
Joel Nothman
db415ba05c Avoid duplicate calls to autodoc-process-docstring (#4198) 2018-01-08 11:09:29 +09:00
Takeshi KOMIYA
e015ce2a0f Update CHANGES for PR #4389 2018-01-08 09:36:35 +09:00
Takeshi KOMIYA
5e3b158649
Merge pull request #4389 from jbking/fix_4093
Fix creating build directory for unknown build target
2018-01-08 09:31:02 +09:00
Jon Dufresne
cc3abba171 Prefer https & readthedocs.io instead of readthedocs.org for links
Read the Docs moved hosting to readthedocs.io instead of
readthedocs.org. Fix all links in the project.

For additional details, see:

https://blog.readthedocs.com/securing-subdomains/

> Starting today, Read the Docs will start hosting projects from subdomains on
> the domain readthedocs.io, instead of on readthedocs.org. This change
> addresses some security concerns around site cookies while hosting user
> generated data on the same domain as our dashboard.
2018-01-07 09:10:27 -08:00
Takeshi KOMIYA
79b4e84d9c
Merge pull request #4347 from tk0miya/diet_tests_on_appveyor
Diet tests on appveyor
2018-01-07 20:36:13 +09:00
Takeshi KOMIYA
9584b19768
Merge pull request #4384 from timhoffm/doc-sidebar-formatting
Cleanup formatting of some sidebar items
2018-01-07 20:12:43 +09:00
MURAOKA Yusuke
2484819e96 Fix creating build directory for unknown build target 2018-01-07 20:11:01 +09:00
Takeshi KOMIYA
34586cf9e0
Merge pull request #4383 from tk0miya/master
Merge stable to master (partially)
2018-01-07 12:21:39 +09:00
Takeshi KOMIYA
2ae7f26fe5 test: Adjust testcase for #3962 2018-01-07 12:09:41 +09:00
Tim Hoffmann
bbfcb2443d cleanup formatting of some sidebar items 2018-01-06 17:49:27 +01:00
Takeshi KOMIYA
e18c49ec59 Merge commit '4277eb13315d5649401190df86874b3832ddfa3e' 2018-01-07 01:13:32 +09:00
Takeshi KOMIYA
7162fcdff9 Fix typo 2018-01-07 00:51:45 +09:00
Takeshi KOMIYA
356765ee76 Fix mypy violation 2018-01-07 00:39:41 +09:00
Takeshi KOMIYA
e1d8615ce4 Don't use add_documenter() in sphinx-autogen 2018-01-07 00:05:48 +09:00
Takeshi KOMIYA
c2a7984e05 Fix enum34 members are treated as inherited member 2018-01-06 22:10:15 +09:00
Takeshi KOMIYA
c1b3efe203 Fix mypy violation 2018-01-06 21:01:04 +09:00
Takeshi KOMIYA
23533e48b2 Update PYTHONWARNINGS on tox.ini to reduce meaningless warnings 2018-01-06 20:14:20 +09:00
Takeshi KOMIYA
fdf0a33eab test: Remove PYTHONWARNINGS from travis.yml
PYTHONWARNINGS is now controled at tox.ini.  So this envvar is no
longer referred.
2018-01-06 16:28:52 +09:00
Takeshi KOMIYA
65cd9429c0
Merge pull request #4381 from tk0miya/reduce_DeprecationWarning_on_testing
test: Reduce DeprecationWarning on testing (from docutils)
2018-01-06 16:28:18 +09:00
Takeshi KOMIYA
3736768a59 test: Reduce DeprecationWarning on testing (from docutils) 2018-01-06 15:56:37 +09:00
Takeshi KOMIYA
cc5d8a222f
Merge pull request #4380 from tk0miya/4378_usedevelop
Fix #4378: tox: use usedevelop option instead skipsdist
2018-01-05 23:13:13 +09:00
Takeshi KOMIYA
e3efe5884b Fix #4378: tox: use usedevelop option instead skipsdist 2018-01-05 22:26:07 +09:00
Takeshi KOMIYA
4277eb1331
Merge pull request #4373 from tk0miya/4369_show_traceback_on_exception_from_conf.py
Show traceback if conf.py raises an exception (refs: #4369)
2018-01-05 14:18:43 +09:00
Takeshi KOMIYA
ff61fb80c5
Merge pull request #4377 from timhoffm/searchbar-style
Improved sidebar search field style
2018-01-05 14:12:07 +09:00
Tim Hoffmann
b04151bca8 improved sidebar search field style 2018-01-05 02:02:40 +01:00
Takeshi KOMIYA
6fa344c951 Show traceback if conf.py raises an exception (refs: #4369) 2018-01-03 20:15:45 +09:00
jfbu
c892fe98f7 Fix space gobbling issue from PR #4370
This is subtle LaTeX thing. Prior to merge of #4370 there was a
`\texttt` which was hiding the potential problem. The fix is to leave a
brace pair in place.
2018-01-03 10:50:18 +01:00
Jean-François B
5d31fada70
Merge pull request #4370 from jfbu/easier_sphinxcode
Easy-up user customization of ``\sphinxcode`` LaTeX macro
2018-01-03 09:32:50 +01:00
jfbu
680d6766bb Make LaTeX macro definitions more readable
This make clearer to average LaTeX user the format which is expected for
these macros, in case of redefinitions.
2018-01-03 08:46:33 +01:00
jfbu
309f38a91f Split out fancy LaTeX macros from `\sphinxcode into \sphinxupquote`
Since #2627 (1.4.4), `\code`, and then again at #3116 (1.5)
`\sphinxcode` which is the new name has become more complicated than the
original `\texttt{#1}`. This was to obtain straight quotes in PDF output,
and to allow long inline literals to break across lines.

This means though that users who want to customize `\sphinxcode`, for
example to not only do `\texttt` but to use some colour, have to copy
about 10 lines of complicated LaTeX macros which should be not modified
in any way. This commit moves all the code out of `\sphinxcode` into a
separate macro `\sphinxupquote`.

The LaTeX writer will output `\sphinxcode{\sphinxupquote{foo}}` in place
of former `\sphinxcode{foo}`. Moving the `\texttt` from innermost to
outermost level is with no consequence.
2018-01-03 08:46:19 +01:00
Takeshi KOMIYA
369d66e41e
Merge pull request #4368 from tk0miya/4091_private_members_isnt_documented
Fix #4091: Private members not documented without :undoc-members:
2018-01-03 09:43:29 +09:00
Takeshi KOMIYA
cb860f0d30 Fix #4091: Private members not documented without :undoc-members: 2018-01-02 01:57:41 +09:00
Takeshi KOMIYA
4bc4b35352
Merge pull request #4367 from tk0miya/3769_regulate_optionref
3769 regulate optionref
2018-01-02 01:29:46 +09:00
Takeshi KOMIYA
850e9a9c5c Fix links to external option docs with intersphinx (refs: #3769) 2018-01-02 01:01:29 +09:00
Takeshi KOMIYA
f21fe6f24f Revert "tox: Enable 'skipsdist'"
This reverts commit 69f39e44d9.
2018-01-01 23:03:15 +09:00
Stephen Finucane
69f39e44d9 tox: Enable 'skipsdist'
Given that we install Sphinx as part of the dependencies, there's no
reason to do it twice. Skip that step.

Signed-off-by: Stephen Finucane <stephen@that.guru>
2018-01-01 18:47:12 +09:00
Takeshi KOMIYA
bf0153d748 autodoc: Refactor get_object_members() 2018-01-01 12:13:30 +09:00