Commit Graph

9666 Commits

Author SHA1 Message Date
Jakob Lykke Andersen
e7ba2abfb2 Fix type annotation error 2017-11-26 20:40:04 +01:00
Jakob Lykke Andersen
6e721e98fe C++, parse more unary expressions
Last part, fixes sphinx-doc/sphinx#4114
2017-11-26 20:32:24 +01:00
Jakob Lykke Andersen
94934b2bdf C++, reintroduce expression fallback parser
Part of fixing sphinx-doc/sphinx#4114.
This reverts commit b55526f4e8.
2017-11-26 15:36:35 +01:00
Jakob Lykke Andersen
0aa9d4c87e C++, parse more types of integer literals
Fixes case 0 of sphinx-doc/sphinx#4114
2017-11-26 12:45:27 +01:00
Jakob Lykke Andersen
466241d43a C++, small cleanup after PR #4189 2017-11-25 14:37:27 +01:00
Jakob Lykke Andersen
697248aec7 Merge branch 'cxx2a-concepts' of git://github.com/mickk-on-cpp/sphinx into mickk-on-cpp-cxx2a-concepts 2017-11-20 22:31:37 +01:00
Takeshi KOMIYA
931148eadb
Merge pull request #4238 from tk0miya/refactor_env.read_doc
Refactor env.read doc
2017-11-16 10:58:36 +09:00
Takeshi KOMIYA
6c2beef4f1
Merge pull request #4236 from tk0miya/4226_apidoc_generates_oldstyle_makefile
Fix #4226: apidoc: Generate new style makefile (make-mode)
2017-11-12 18:55:08 +09:00
Takeshi KOMIYA
199256e675 Fix #4226: apidoc: Generate new style makefile (make-mode) 2017-11-12 12:26:51 +09:00
Takeshi KOMIYA
0c98d04507
Merge pull request #4233 from tk0miya/4221_napoleon_loads_autodoc_explicitly
Fix #4221: napoleon depends on autodoc, but users need to load it man…
2017-11-12 11:32:50 +09:00
Takeshi KOMIYA
a605f2b619
Merge pull request #4234 from pv/autosummary-importfix
Fix issue in usage of import_module in autosummary
2017-11-12 11:30:42 +09:00
Rob Ruana
9095ee4bc4
Merge branch 'stable' into 4221_napoleon_loads_autodoc_explicitly 2017-11-11 13:29:20 -05:00
Pauli Virtanen
189e25ac0e Fix issue in import_module returning wrong module 2017-11-11 18:00:03 +01:00
Takeshi KOMIYA
baaa0e3640 Merge branch 'stable' 2017-11-12 01:53:28 +09:00
Takeshi KOMIYA
bdebbdf873 Update CHANGES for PR #2299 2017-11-12 01:51:40 +09:00
Takeshi KOMIYA
c1555638ae
Merge pull request #2299 from scVENUS/fix_attribute_docstrings_of_imported_class
Fix #2298: automodule fails to document a class attribute.
2017-11-12 01:48:48 +09:00
Takeshi KOMIYA
4abe6cb62e Fix #4221: napoleon depends on autodoc, but users need to load it manually 2017-11-11 21:53:20 +09:00
Takeshi KOMIYA
3d8ce5a7c4 Fix mypy violations 2017-11-11 20:56:07 +09:00
Takeshi KOMIYA
507f172866 Make ShowUrlsTransform as a subclass of Transform 2017-11-11 18:35:53 +09:00
Takeshi KOMIYA
63a5eaf185
Merge pull request #4232 from sphinx-doc/4212_autosummary-importsafe
4212 autosummary importsafe
2017-11-11 18:31:14 +09:00
Takeshi KOMIYA
c3113d2e17 Update CHANGES for PR #4231 2017-11-11 18:30:32 +09:00
Takeshi KOMIYA
4e11b78f01
Merge pull request #4231 from berkerpeksag/fix-3549
Apply fixFirefoxAnchorBug only under Firefox
2017-11-11 18:28:55 +09:00
Takeshi KOMIYA
8b090c6372 Fix flake8 violation 2017-11-11 17:00:50 +09:00
Takeshi KOMIYA
2c1ac5243c Update CHANGES for PR #4212 2017-11-11 16:47:59 +09:00
Takeshi KOMIYA
71d4bc4a3e Move import_module() to sphinx.ext.autodoc.importer 2017-11-11 16:44:35 +09:00
Berker Peksag
17dc8beeaf Apply fixFirefoxAnchorBug only under Firefox
A compatibility shim for `$.browser` was added in
c608af4bab.

Fixes #3549
2017-11-11 10:03:55 +03:00
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