Commit Graph

9993 Commits

Author SHA1 Message Date
Pauli Virtanen
d5bea6b85a autosummary: catch all exceptions when importing modules
Module imports may raise any exceptions, including SystemExit, which
need to be caught.
2017-11-02 23:04:43 +01:00
Takeshi KOMIYA
f46c91b652 Merge branch 'stable' 2017-11-02 00:49:10 +09:00
Takeshi KOMIYA
c4e364ee63 Rename tests directory; roots/test-doctest -> roots/test-ext-doctest 2017-11-02 00:03:29 +09:00
Takeshi KOMIYA
79df05b36d Revert "Add :confval:smart_quotes to disable smart quotes through `conf.py` (refs: #4142)"
This reverts commit bfd39c12b2.
2017-11-01 22:43:40 +09:00
Takeshi KOMIYA
26db2675b4
Merge pull request #4208 from tk0miya/4206_label_loses_paragraph_break
Fix #4206: latex: reST label between paragraphs loses paragraph break
2017-11-01 22:23:39 +09:00
Takeshi KOMIYA
29c62c64f5 Fix #4206: latex: reST label between paragraphs loses paragraph break 2017-11-01 14:33:22 +09:00
jfbu
9701c236d4 Trim docs/config.rst now that new config setting smart_quotes exists 2017-10-31 20:31:56 +01:00
jfbu
4b3d41c855 Fix typo in doc/config.rst 2017-10-31 20:30:32 +01:00
Takeshi KOMIYA
e03ec5b9fb confirm selected language supports smart_quotes or not (refs: #4112) 2017-11-01 00:10:33 +09:00
Takeshi KOMIYA
7fab902561 Move UIDs assigning to sphinx.versioning 2017-10-31 23:50:12 +09:00
Takeshi KOMIYA
e2be2ca77f Move env.warn_and_replace() to SphinxInput class 2017-10-31 23:05:16 +09:00
Takeshi KOMIYA
f7dd8e94e2 Add default_role contextmanager to enable default-role temporarily 2017-10-31 23:05:13 +09:00
Takeshi KOMIYA
1200ab48e1 Refactor parsing by docutils 2017-10-31 23:05:10 +09:00
Takeshi KOMIYA
d23f29f301 Refactor publishment 2017-10-31 23:05:07 +09:00
Takeshi KOMIYA
07220140ac Add BuildEnvironment.prepare_settings() 2017-10-31 23:05:04 +09:00
Takeshi KOMIYA
c05c4d1910 Add BuildEnvironment.write_doctree() 2017-10-31 23:04:08 +09:00
Takeshi KOMIYA
c3fffc521b Reduce warnings on testing 2017-10-31 22:57:28 +09:00
Takeshi KOMIYA
bbe3f8fe0c Update CHANGES 2017-10-31 10:52:47 +09:00
Takeshi KOMIYA
c44e041469
Merge pull request #4197 from dlech/kbd
Closes #3160: Use <kbd> tag for :kbd: role in html writers
2017-10-31 10:44:35 +09:00
Takeshi KOMIYA
9ac68edced
Merge pull request #4178 from tk0miya/deprecate_string_for_html_sidebars
a single string value for ``html_sidebars`` will be deprecated in 2.0
2017-10-31 10:37:04 +09:00
David Lechner
831f89a687 Closes #3160: Use <kbd> tag for :kbd: role in html writers 2017-10-30 10:23:55 -05:00
Takeshi KOMIYA
83c266aa2e using a string value for `html_sidebars` will be removed in 2.0 2017-10-30 13:41:57 +09:00
Takeshi KOMIYA
215be8e5bd
Merge pull request #4177 from tk0miya/improve_theme_sidebars
HTML themes can set up default sidebars through ``theme.conf``
2017-10-30 13:36:10 +09:00
Takeshi KOMIYA
d7d2e823fc sphinx.config.ENUM allows to validate items of lists or tuples 2017-10-29 22:23:15 +09:00
jfbu
6274ea7ec8 Replace a few `\undefined by \@undefined` in LaTeX styles
This prevents against unlikely event user via template or
``latex_elements`` keys insert some custom definition of ``\undefined``
macro before sphinx.sty gets loaded.

For background of this LaTeX issue, cf

<http://tug.org/pipermail/tex-live/2017-October/040739.html>

For extra safe, Sphinx could use ``\sphinx@undefined`` rather.

	modified:   footnotehyper-sphinx.sty
	modified:   sphinx.sty
2017-10-27 10:57:46 +02:00
Takeshi KOMIYA
bfd39c12b2 Add :confval:smart_quotes to disable smart quotes through `conf.py` (refs: #4142) 2017-10-27 00:45:06 +09:00
lucdanton
9aac2420d3 C++: remove function concepts. 2017-10-26 08:15:09 +02:00
Takeshi KOMIYA
c0aa0ce2d8 Add hints for html_sidebars 2017-10-26 00:04:23 +09:00
Takeshi KOMIYA
6288eac1ec Provide default settings for alabaster 2017-10-26 00:02:08 +09:00
Takeshi KOMIYA
47049ce5f6 Merge branch 'master' into improve_theme_sidebars 2017-10-25 23:53:44 +09:00
Takeshi KOMIYA
e45b03dd50 Update CHANGES for PR #4181 2017-10-25 23:51:41 +09:00
Takeshi KOMIYA
f8c8a0e6c7 Merge pull request #4181 from mitya57/sort-dicts
inspect: Sort dictionary keys when possible
2017-10-25 23:48:20 +09:00
Dmitry Shachnev
eb934cb665 Add a test for the previous change 2017-10-23 23:12:10 +03:00
Dmitry Shachnev
49e486ff47 inspect: Sort dictionary keys when possible
This should help for reproducible builds and for finding items in large
dictionaries.
2017-10-23 20:28:14 +03:00
Takeshi KOMIYA
92cdbb99f2 Merge pull request #4180 from tk0miya/3919_logging_namespace
Fix #3919: become silent if logging settings are cleared
2017-10-24 01:55:52 +09:00
Takeshi KOMIYA
5ae72bdd28 Fix flake8 violation 2017-10-23 23:25:50 +09:00
Takeshi KOMIYA
e3baf213f5 Merge branch 'stable' 2017-10-23 23:04:32 +09:00
Takeshi KOMIYA
47c869c89a Fix flake8 and style-check violations 2017-10-23 23:01:18 +09:00
Takeshi KOMIYA
7e7b389eed Merge branch 'stable' 2017-10-23 12:23:58 +09:00
Takeshi KOMIYA
314831d332 Bump version 2017-10-23 12:22:42 +09:00
Takeshi KOMIYA
33fd46b2a5 Bump to 1.6.5 final 2017-10-23 12:19:56 +09:00
Takeshi KOMIYA
90352cf940 Fix #3919: become silent if logging settings are cleared 2017-10-23 00:59:24 +09:00
Takeshi KOMIYA
ad2610a0bc Fix mypy violation 2017-10-22 20:50:20 +09:00
Takeshi KOMIYA
cfadf17379 Fix #4132: Failed to convert reST parser error to warning 2017-10-22 20:34:07 +09:00
jfbu
6b4a0123fa Fix the fix of #4090 (sorry) 2017-10-22 13:28:46 +02:00
jfbu
5e86c1c934 Fix #4090: extra LaTeX macros via `latex_additional_files` 2017-10-22 13:24:03 +02:00
jfbu
90e3425ed7 Fix #4149: Documentation: Help choosing latex_engine 2017-10-22 11:45:28 +02:00
Takeshi KOMIYA
81b3a81bcb Merge pull request #4173 from eric-wieser/patch-2
quickstart: fix return type of term_decode
2017-10-22 15:34:01 +09:00
Takeshi KOMIYA
b78f3090a0 HTML themes can set up default sidebars through `theme.conf` 2017-10-22 15:14:02 +09:00
Takeshi KOMIYA
ed3683a56e Merge pull request #4176 from tk0miya/3739_module_is_ignored_inside_pyobject
Fix #3739: ``:module:`` option is ignored at content of pyobjects
2017-10-21 21:52:11 +09:00