Commit Graph

9745 Commits

Author SHA1 Message Date
Jean-François B
43a097f17e
Merge pull request #4417 from jfbu/no_release_latex_header
Eliminate comma from PDF header when project has no release number
2018-01-13 09:09:12 +01:00
jfbu
f2bc93859a Remove unused and undocumented LaTeX macro `\shortversion` 2018-01-13 08:53:16 +01:00
Takeshi KOMIYA
822a04de9c
Merge pull request #4423 from tk0miya/3570_drop_typing_from_typehints
Fix #3570: autodoc: Do not display typing. module for type hints
2018-01-13 15:19:00 +09:00
Takeshi KOMIYA
0c5a47960f
Merge branch 'master' into 3570_drop_typing_from_typehints 2018-01-13 14:44:26 +09:00
Takeshi KOMIYA
c50b21af0e
Merge branch 'master' into 3570_drop_typing_from_typehints 2018-01-13 14:43:31 +09:00
Takeshi KOMIYA
2324dee143 Update CHANGES for PR #4235 2018-01-13 14:29:54 +09:00
Takeshi KOMIYA
7e365d97ac
Merge pull request #4235 from anarcat/manpage-links
add link to manpages in HTML builder
2018-01-13 14:28:11 +09:00
Takeshi KOMIYA
854a227501
Merge pull request #4393 from tk0miya/4183_follow_pep440
Fix #4183: doctest: ``:pyversion:`` option also follows PEP-440 specification
2018-01-13 14:26:33 +09:00
Takeshi KOMIYA
f5b1aff2d1
Merge branch 'master' into 4183_follow_pep440 2018-01-13 13:12:32 +09:00
Takeshi KOMIYA
7292386a03 Fix #3570: autodoc: Do not display typing. module for type hints 2018-01-13 12:08:31 +09:00
Takeshi KOMIYA
12a8d5c0bd doc: make looks understandable 2018-01-13 11:09:27 +09:00
Takeshi KOMIYA
76c5395c5b Merge remote-tracking branch 'atodorov/inheritance_top_class' 2018-01-13 11:08:31 +09:00
jfbu
8f2d4bae86 Eliminate comma from PDF header when project has no release number 2018-01-12 18:55:00 +01:00
Takeshi KOMIYA
3b01697e11
Merge pull request #4414 from deoren/link_label_fix
Small label/comma fix
2018-01-12 10:26:13 +09:00
deoren
32aa664bdf Small label/comma fix 2018-01-11 15:19:04 -06:00
Antoine Beaupré
90f7c7ef3f
add link to manpages in HTML builder
It is useful to have the HTML documentation builder actually link to
real rendered versions of HTML manpages in its output. That way people
can click on manpages to get the full documentation. There are a few
services offering this online, so we do not explicitly enable one by
default, but the Debian manpages repository has a lot of the manpages
pre-rendered, so it is used as an example in the documentation.

The parsing work is done by a transformer class that parses manpage
objects and extract name/section elements. Those then can be used by
writers to cross-reference to actual sites. An implementation is done
in the two HTML writers, but could also apply to ePUB/PDF writers as
well in the future.

This is not enabled by default: the `manpages_url` configuration item
needs to be enabled to point to the chosen site. The `page`, `section`
and `path` parameters are expanded through Python string formatting in
the URL on output.

Unit tests are fairly limited, but should cover most common use-cases.
2018-01-11 13:20:34 -05:00
Takeshi KOMIYA
b1cea02589
Merge pull request #4411 from tk0miya/latex_release_label
latex: Do not display Release label if :confval:`release` is not set
2018-01-12 02:48:29 +09:00
Takeshi KOMIYA
33fd1f446a latex: Do not display Release label if :confval:release is not set 2018-01-10 21:35:21 +09:00
Takeshi KOMIYA
161f269202
Merge pull request #4406 from sphinx-doc/stable
stable to master
2018-01-10 01:01:09 +09:00
Takeshi KOMIYA
695b9f9e18
Merge pull request #4404 from tk0miya/add_tests_for_smartquotes
Add tests for smartquotes
2018-01-10 00:13:38 +09:00
Takeshi KOMIYA
d6b569af4b
Merge pull request #4405 from sphinx-doc/fix_smartquotes_option
Fix smartquotes has been ignored
2018-01-10 00:04:20 +09:00
Takeshi KOMIYA
e77267dd94 Add tests for smartquotes 2018-01-09 23:37:37 +09:00
Takeshi KOMIYA
84b4882b31 Fix smartquotes has been ignored 2018-01-09 23:28:53 +09:00
Takeshi KOMIYA
ef532f7c8b
Merge pull request #4325 from tk0miya/dont_emit_system_message_on_autodoc_warning
autodoc: Use logging module to emit warnings
2018-01-09 00:03:18 +09:00
Takeshi KOMIYA
2e93c37e62 Merge branch 'stable' 2018-01-08 21:43:12 +09:00
Takeshi KOMIYA
562683ea32 Bump version 2018-01-08 21:42:09 +09:00
Takeshi KOMIYA
7390227302 Bump to 1.6.6 final 2018-01-08 21:38:18 +09:00
Takeshi KOMIYA
38857f97af
Merge pull request #4388 from tk0miya/master
stable to master
2018-01-08 21:07:16 +09:00
Takeshi KOMIYA
b6b71d99c9 Initialize settings.smartquotes_locales 2018-01-08 20:32:37 +09:00
Takeshi KOMIYA
f366816968 Fix SphinxStandaloneReader.__init__() method has been duplicated 2018-01-08 20:31:57 +09:00
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
5e4806a764
Merge pull request #4399 from glyg/patch-1
Fixes bug when evaluating entry to bool
2018-01-08 18:07:01 +09:00
Takeshi KOMIYA
6448d9b153 Refactor autodoc: Use get_documenters() 2018-01-08 18:03:48 +09:00
Guillaume Gay
f717f2dd64 Fixes bug when evaluating entry to bool
As reported here: https://github.com/rtfd/readthedocs.org/issues/3411 sphinx sometimes fails with the error:
```python
  File "/home/docs/checkouts/readthedocs.org/user_builds/drf-yasg/envs/latest/lib/python3.5/site-packages/sphinx/ext/viewcode.py", line 74, in has_tag
    if entry is None or entry[0] != code:
TypeError: 'bool' object is not subscriptable
```
This is not critical as whipping the build or even just running it again fixes it, but the error is confusing...  
I believe switching the two if statement above should prevent this from happening.
2018-01-08 09:41:30 +01: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
Takeshi KOMIYA
7ba54500fc Fix #4183: doctest: `:pyversion:` option also follows PEP-440 specification 2018-01-08 11:59:50 +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