Commit Graph

9504 Commits

Author SHA1 Message Date
Takeshi KOMIYA
cad3ee8230 Merge pull request #4069 from tnir/4068-linkcheck-builder-docs
#4068: Update linkcheck docs to use requests
2017-09-24 16:42:26 +09:00
Takeshi KOMIYA
a455ffcce1 Fix #4070: crashes when the warning message contains format strings 2017-09-24 13:52:59 +09:00
Peter Cock
4d2cd03879 Reformat to avoid overly long line flake8 E501 2017-09-20 14:48:33 +01:00
Stephen Finucane
96cf498c9e apidoc: Move apidoc to ext/apidoc
The 'sphinx-apidoc' tool is no longer the only kid on the block when it
comes to automatic documentation of Python projects, with the likes of
'sphinx-autoapi' in development [1], and is not really maintained. Given
the fact that the tool is tangential to Sphinx's main goal, there isn't
really anything that warrants its continue existence as a core module.

Signify this by moving the feature to 'ext'. This allows the feature to
continue to exist in the package, but indicates that stability might be
worse than one would expect from the core library.

To avoid breaking packages that are using this feature directly, such as
pbr [3], aliases for the old 'main' method are included. This is based
on what Django does and, like Django, will allow us to safely remove the
old modules in Sphinx 2.0.

[1] https://github.com/rtfd/sphinx-autoapi
[2] https://github.com/sphinx-doc/sphinx/pull/3485#issuecomment-288081223
[3] https://github.com/django/django/blob/1.11/django/test/runner.py#L688-L695

Signed-off-by: Stephen Finucane <stephen@that.guru>
2017-09-20 13:42:57 +01:00
jfbu
6b7e33a332 Update CHANGES for PR #4066 2017-09-20 10:44:31 +02:00
Jean-François B
59b4f32b38 Merge pull request #4066 from aszekMosek/patch-1
Avoiding indent after index entries in latex
2017-09-20 10:43:20 +02:00
jfbu
d0418f9129 Add test for #4066 latex \index indent fix 2017-09-20 10:30:45 +02:00
jfbu
444b1998d8 Produce less `\ignorespaces ` in latex output 2017-09-20 09:56:06 +02:00
aszek
2ff6434b6a Update fix as per discussion 2017-09-19 13:04:35 +02:00
aszekMosek
774f9d953a Avoiding indent after index entries in latex 2017-09-19 13:04:35 +02:00
Takuya Noguchi
0e82661b63 #4068: Update linkcheck docs to use requests 2017-09-18 23:57:08 +09:00
Dmitry Shachnev
4475fc80c5 Return non-zero exit status when make subprocess fails
For example, when latexmk is not installed.
2017-09-18 15:42:57 +03:00
Oliver Sanders
447582724d Add test for ext.graphviz alignment. 2017-09-18 11:10:19 +01:00
Oliver Sanders
e47b30d566 Fix ext.graphviz alignment. 2017-09-18 11:09:48 +01:00
Takeshi KOMIYA
666a69b286 Update CHANGES for PR #4062 2017-09-17 22:50:07 +09:00
Craig Rodrigues
9f88993281 hashlib.sha1() must take bytes, not unicode 2017-09-17 22:49:40 +09:00
Takeshi KOMIYA
228fdb892a Merge pull request #4062 from rodrigc/hexdigest-encode
hashlib.sha1() must take bytes, not unicode on Python 3
2017-09-17 22:49:19 +09:00
Takeshi KOMIYA
c31b912103 Update CHANGES for PR #4049 2017-09-17 22:48:38 +09:00
Antony Lee
6e6a573cba Fix typo in output of sphinx-build -h. 2017-09-17 22:48:14 +09:00
Takeshi KOMIYA
63ccdd83e0 Merge pull request #4049 from anntzer/help-typo
Fix typo in output of sphinx-build -h.
2017-09-17 22:47:25 +09:00
Craig Rodrigues
8b28cf4728 hashlib.sha1() must take bytes, not unicode 2017-09-15 14:45:56 -07:00
Takayuki SHIMIZUKAWA
7bda952e4a add Sylius to EXAMPLES
https://groups.google.com/d/msg/sphinx-users/MACgWve2r9M/e2RUk2z2AwAJ
2017-09-13 17:39:31 +09:00
Peter Cock
99503bdb6c Sort modules for highlighting
With this change the output will be in a predictable order on
older versions of Python (where the dictionary is not sorted
by default).

This is helpful for debugging and interpreting the progress
from the terminal.
2017-09-12 15:02:14 +01:00
jfbu
8542e29b40 Fix flake8 line too long violation in latex.py 2017-09-11 20:35:25 +02:00
jfbu
f453fe7bf0 Fix #4044 (extra row height in PDF output from empty multicell) 2017-09-11 20:18:35 +02:00
shimizukawa
0e39d92c92 ignore 'doc/locale' directory to avoid mis-committing 2017-09-10 12:13:20 +09:00
Takuya Noguchi
3e94878871 Add support for docutils 0.14 2017-09-10 09:23:09 +09:00
Antony Lee
ddd23d31f1 Fix typo in output of sphinx-build -h. 2017-09-08 22:56:39 -07:00
Jeroen Demeyer
f4c8115a7e Turn any environment unpickling error into IOError 2017-09-08 11:42:35 +02:00
Jakob Lykke Andersen
c43c781a03 Docs, add missing `member` role for C domain
Fixes sphinx-doc/sphinx#4038
2017-09-07 21:26:36 +02:00
Jakob Lykke Andersen
c0f84295b6 C++, fix linking in function pointers.
Fixes sphinx-doc/sphinx#4041
2017-09-07 13:20:31 +02:00
Takeshi KOMIYA
6ae9fd92ac Merge pull request #3971 from tk0miya/3969_allow_private_instance_vars
Fix #3969: private instance attributes causes AttributeError
2017-09-07 00:09:44 +09:00
Takeshi KOMIYA
a9b5fe3624 Merge branch 'stable' into 3969_allow_private_instance_vars 2017-09-06 23:52:33 +09:00
Takeshi KOMIYA
2f8a342839 Merge pull request #4039 from tk0miya/4006_crash_on_parallel_build
Fix #4006: Fix crash on parallel build
2017-09-06 00:42:47 +09:00
Takeshi KOMIYA
0cb57f19a0 Fix #4006: Fix crash on parallel build 2017-09-05 01:37:33 +09:00
Takeshi KOMIYA
ad41e0b25e Update CHANGES for PR #3972 2017-09-04 22:46:05 +09:00
Takeshi KOMIYA
fb24ea3720 Merge pull request #3972 from bmwiedemann/epubsort
epub: Sort manifest entries by filename
2017-09-04 22:45:24 +09:00
Takeshi KOMIYA
62830b4d75 Merge pull request #4036 from anntzer/doc-setuptools-defaults
Fix documented default values for setuptools integration.
2017-09-04 22:34:17 +09:00
Antony Lee
cfa03b9771 Fix documented default values for setuptools integration.
The defaults were obtained by reading the implementation in
`setup_command.py`, notably `_guess_source_dir` and `finalize_options`.
2017-09-01 22:30:04 -07:00
Jakob Lykke Andersen
ff06cb837b Fix C++ multiline signatures
Fixes sphinx-doc/sphinx#3877
2017-08-31 17:01:58 +02:00
Jakob Lykke Andersen
29b1d2f906 Merge pull request #3894 from Andne/cpp-typeorconcept
Improve support for C++ references with intersphinx
2017-08-31 16:58:45 +02:00
Takeshi KOMIYA
79e90d6cdb Update CHANGES for PR #4026 2017-08-28 22:47:07 +09:00
Takeshi KOMIYA
fa5cb856a4 Merge pull request #4026 from jrtc27/patch-1
nature: Fix macOS Safari scrollbar color
2017-08-28 22:46:35 +09:00
Takeshi KOMIYA
cb0220de1a Merge pull request #3949 from rneatherway/unicode-regex
Update regex to fix character class range
2017-08-28 21:03:16 +09:00
Takeshi KOMIYA
6fdea58b7f Update CHANGES for PR #3973 2017-08-28 21:00:55 +09:00
Takeshi KOMIYA
a20c852729 Merge pull request #3973 from bmwiedemann/epubdate
epub: allow to override build date
2017-08-28 20:59:57 +09:00
James Clarke
852d96eb3d nature: Fix macOS Safari scrollbar color
macOS scrollbars overlap the contents, and the color is either black or white,
depending on the color of the body. Therefore having a black body causes the
scrollbar to appear white, and since the theme itself is light, the scrollbar
is barely visible. Fix this by setting body to have a white background-color,
matching the visible color coming from div.body.
2017-08-28 12:58:52 +01:00
Takeshi KOMIYA
ece971d586 Merge pull request #4020 from AtlasJan/stable
Update tutorial.rst
2017-08-28 20:58:08 +09:00
Takeshi KOMIYA
e34019ecbb Update CHANGES for PR #4023 2017-08-28 20:55:48 +09:00
Takeshi KOMIYA
6765c54fbc Merge pull request #4023 from anntzer/clarify-any-ambiguity
Clarify error message when any role has more than one target.
2017-08-28 20:54:44 +09:00