Commit Graph

12964 Commits

Author SHA1 Message Date
Takeshi KOMIYA
cd13a90511
Merge pull request #6079 from tk0miya/refactor_role
docs: Add SphinxRole and ReferenceRole
2019-02-16 02:23:59 +09:00
Takeshi KOMIYA
5fe2e94921
Merge pull request #6078 from tk0miya/fix_test
Fix a test
2019-02-16 02:16:04 +09:00
Takeshi KOMIYA
1660269d01 Fix a test 2019-02-16 01:55:58 +09:00
Takeshi KOMIYA
065ece6f4c docs: Add SphinxRole and ReferenceRole 2019-02-16 01:55:46 +09:00
Takeshi KOMIYA
c892a5abeb refactor: Rename the first argument of roles to name
In docutils' document, it is called as name.  So our base class
should call it as "name" also.
2019-02-16 01:55:46 +09:00
Takeshi KOMIYA
66afbec979
Merge pull request #6077 from tk0miya/refactor_role4
Fix :pep: and :rfc: roles are broken
2019-02-16 01:55:19 +09:00
Takeshi KOMIYA
cb49a6b091 Fix :pep: and :rfc: roles are broken 2019-02-16 01:47:52 +09:00
Takeshi KOMIYA
aeed3d89bf
Merge pull request #6076 from tk0miya/refactor_roles3
Replace :pep: and :rfc: roles by class based implementation
2019-02-16 00:54:06 +09:00
Takeshi KOMIYA
9cb40436ed Replace :pep: and :rfc: roles by class based implementation 2019-02-16 00:34:24 +09:00
Takeshi KOMIYA
1cf8ece5cc
Merge pull request #6075 from tk0miya/refactor_roles
Replace :index: role by class based implementation
2019-02-16 00:26:35 +09:00
Takeshi KOMIYA
a6d345f95d Replace :index: role by class based implementation 2019-02-16 00:05:13 +09:00
Takeshi KOMIYA
424c438c52
Merge pull request #6073 from tk0miya/separate_htmlhelp
Separate htmlhelp to sphinxcontrib package
2019-02-15 21:28:58 +09:00
Takeshi KOMIYA
686486498c Closes #1148: autodoc: Add autodecorator directive for decorators 2019-02-15 02:14:38 +09:00
Takeshi KOMIYA
3b49f9fe3d Separate htmlhelp to sphinxcontrib package 2019-02-15 01:44:32 +09:00
Takeshi KOMIYA
cd542fb2af
Merge pull request #6061 from tk0miya/reduce_warnings_of_rootcase
test: Reduce warnings on building test-root
2019-02-14 22:24:27 +09:00
Takeshi KOMIYA
c50b130357
Merge pull request #6059 from tk0miya/omit_other_settings
refactor: test: Remove unused settings from conf.py
2019-02-14 22:23:56 +09:00
Stephen Finucane
5c061ff266 docs: Address review comments
helloworld:
- Return version metadata from extension
- Use 'reST' instead of 'rST'
- Don't use single backticks

todo:
- Return version metadata from extension
- Link to events section of API guide, rather than entire document
- Include name of phases in when describing build phases
- Use more method cross-references where possible
- Fix typo in usage example

recipe:
- Return version metadata from extension
- Rework code to simplify things
- Remove docstrings from 'generate' functions, which are simply
  duplicates of the original docstring
- Rename 'rcp' directive to 'recipe', the 'reref' role to 'ref', and a
  whole lot of variables to something more grokable
- Fix typos in both documentation and code

I've also fixed up the docstrings for some of the 'domain' functions to
make them render a little nicer (they took me a while to figure out).

Signed-off-by: Stephen Finucane <stephen@that.guru>
2019-02-14 10:31:45 +00:00
Takeshi KOMIYA
9afe93d8f6 refactor: test: Remove unused settings from conf.py 2019-02-14 02:21:07 +09:00
Takeshi KOMIYA
891178e8ed test: Reduce warnings on building test-root
Note: all warnings are tested on test-warnings.
2019-02-14 02:20:55 +09:00
Takeshi KOMIYA
973fbb81e4
Merge pull request #6072 from tk0miya/fix_master
Fix test_ext_autosectionlabel conflicts with HTML5 writer
2019-02-14 02:20:29 +09:00
Takeshi KOMIYA
3e7113c4c6 Fix test_ext_autosectionlabel conflicts with HTML5 writer 2019-02-14 02:13:14 +09:00
Takeshi KOMIYA
550c88f98c
Merge pull request #6064 from tk0miya/5636_add_autosummary_mock_imports
Closes #5635: autosummary: Add autosummary_mock_imports to mock external libraries
2019-02-14 01:13:04 +09:00
Takeshi KOMIYA
cfffb6b7e5
Merge pull request #6070 from tk0miya/fix_typo
Fix typo
2019-02-14 01:12:25 +09:00
Takeshi KOMIYA
1dfddb52ff
Merge pull request #6063 from tk0miya/4261_autosectionlabel_max_depth
Add autosectionlabel_max_depth config option
2019-02-14 01:12:05 +09:00
Takeshi KOMIYA
549a763195
Merge pull request #6025 from tk0miya/refactor_roles2
Introduce SphinxRole class as a base class of roles
2019-02-14 01:09:28 +09:00
Takeshi KOMIYA
4adcb408ea Fix #6019: imgconverter: Including multipage PDF fails 2019-02-14 01:03:22 +09:00
Takeshi KOMIYA
c8d172b340 Fix typo 2019-02-14 00:56:48 +09:00
Takeshi KOMIYA
e00ec8d7f9
Merge pull request #6069 from tk0miya/docutils-stubs-0.0.21
Fix mypy violations
2019-02-14 00:56:21 +09:00
Takeshi KOMIYA
b9b6930e28 Fix mypy violations 2019-02-14 00:37:37 +09:00
Takeshi KOMIYA
5365349780 Closes #4148: quickstart: some questions are removed 2019-02-12 00:28:14 +09:00
Takeshi KOMIYA
73b8d6ff33 Closes #5636: autosummary: Add autosummary_mock_imports to mock external libraries 2019-02-11 23:19:25 +09:00
Takeshi KOMIYA
6bdac80b5f
Merge pull request #5927 from tk0miya/refactor_html5
HTML builder outputs HTML5 by default
2019-02-11 18:41:53 +09:00
Takeshi KOMIYA
ac399b3b4e refactor tests for autosectionlabel 2019-02-11 18:34:04 +09:00
Takeshi KOMIYA
2d44232e34 Fix autosectionlabel_maxdepth is 0 origin 2019-02-11 18:33:42 +09:00
Takeshi KOMIYA
9f3feb6315 docs: autosectionlabel_maxdepth 2019-02-11 18:21:41 +09:00
Takeshi KOMIYA
4250b197c5 autosectionlabel: Rename confval to autosectionlabel_maxdepth 2019-02-11 18:21:41 +09:00
Takeshi KOMIYA
d548bf98f5 autosectionlabel: Rename node_get_depth() to get_node_depth() 2019-02-11 18:07:30 +09:00
Takeshi KOMIYA
7770940af8 Merge branch 'master' into 4261_autosectionlabel_max_depth 2019-02-11 17:53:50 +09:00
Takeshi KOMIYA
12e65061f5 Update basic.css for HTML5 writer 2019-02-11 17:46:56 +09:00
Takeshi KOMIYA
a3cdd465ec HTML builder outputs HTML5 by default 2019-02-11 17:46:56 +09:00
Takeshi KOMIYA
a90a19aa0d
Merge pull request #6060 from tk0miya/drop_py2_2
refactor sphinx.util.pycompat
2019-02-11 17:39:42 +09:00
Takeshi KOMIYA
f8e2e8b0cd
Merge pull request #6062 from tk0miya/use_CourierNew
docs: Use "Courier New" font to code blocks
2019-02-11 17:38:43 +09:00
Takeshi KOMIYA
469e8afef7 docs: Use "Courier New" font to code blocks 2019-02-11 16:48:55 +09:00
Takeshi KOMIYA
ae13f943db Fix import order 2019-02-11 16:41:19 +09:00
Takeshi KOMIYA
2efc1065c0 Deprecate sphinx.util.pycompat:sys_encoding 2019-02-11 16:41:19 +09:00
Takeshi KOMIYA
b25deb259e refactor: Move NoneType to sphinx.util.typing 2019-02-11 16:41:19 +09:00
Takeshi KOMIYA
d40ce68c7b refactor: Move terminal_safe() to sphinx.util.console 2019-02-11 16:41:19 +09:00
Takeshi KOMIYA
644d555837 Don't import pycompat in sphinx.application (not used) 2019-02-11 16:41:19 +09:00
Takeshi KOMIYA
9785d5685a
Merge pull request #6055 from tk0miya/progress_message2
refactoring with progress_message()
2019-02-11 15:54:21 +09:00
Takeshi KOMIYA
a0158187bf
Merge pull request #6058 from tk0miya/refactor_epub3
Skip escaping navpoint because it's HTML safe
2019-02-11 14:50:35 +09:00