Takeshi KOMIYA
19b52c6eaa
Replace :autolink: roles by class based implementation
2019-02-27 16:02:49 +09:00
Takeshi KOMIYA
ceef713e79
docs: Remove a term "new" from config values
2019-02-27 01:18:57 +09:00
Timotheus Kampik
4628264551
Merge pull request #6101 from TimKam/36-docs-google-search
...
#36 add Google Search how-to to FAQ
2019-02-26 15:07:34 +01:00
Timotheus Kampik
a814a2c191
#36 work in review feedback
2019-02-26 14:59:02 +01:00
Takeshi KOMIYA
51db9358fc
Merge pull request #6048 from stephenfin/doc-rework-tutorials
...
Doc rework (development guide, part 1)
2019-02-26 22:51:55 +09:00
Stephen Finucane
17596b5f3c
docs: Remove unused imports
...
These were causing flake8 failures.
Signed-off-by: Stephen Finucane <stephen@that.guru >
2019-02-25 11:03:59 +00:00
Timotheus Kampik
d5aa1c6ccc
#36 add Google Search how-to to FAQ
2019-02-24 23:03:49 +01:00
Takeshi KOMIYA
9548b06d02
docs: Add a tip about $REQUESTS_CA_BUNDLE
2019-02-24 20:03:21 +09:00
Stephen Finucane
a35040c454
docs: Address further review comments
...
todo:
- Subclass SphinxDirective instead of Directive
recipe:
- Remove unnecessary '__init__' methods
Signed-off-by: Stephen Finucane <stephen@that.guru >
2019-02-18 13:46:30 +00:00
Takeshi KOMIYA
1ca210aab1
Separate json and pickle to sphinxcontrib package
2019-02-17 22:31:50 +09:00
Takeshi KOMIYA
5437ab61e9
Merge pull request #6074 from tk0miya/1148_autodecorator
...
Closes #1148 : autodoc: Add autodecorator directive for decorators
2019-02-16 21:45:36 +09:00
Takeshi KOMIYA
1ece29597e
Merge branch 'master' into simplify_conf.py
2019-02-16 21:25:21 +09:00
Takeshi KOMIYA
3ec032fa39
Replace :file: and :samp: roles by class based implementation
2019-02-16 12:37:46 +09:00
Takeshi KOMIYA
ea4d8ca08d
Replace :guilabel: and :menuselection: roles by class based implementation
2019-02-16 02:30:28 +09:00
Takeshi KOMIYA
065ece6f4c
docs: Add SphinxRole and ReferenceRole
2019-02-16 01:55:46 +09:00
Takeshi KOMIYA
9cb40436ed
Replace :pep: and :rfc: roles by class based implementation
2019-02-16 00:34:24 +09:00
Takeshi KOMIYA
a6d345f95d
Replace :index: role by class based implementation
2019-02-16 00:05:13 +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
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
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
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
73b8d6ff33
Closes #5636 : autosummary: Add autosummary_mock_imports to mock external libraries
2019-02-11 23:19:25 +09:00
Takeshi KOMIYA
9f3feb6315
docs: autosectionlabel_maxdepth
2019-02-11 18:21:41 +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
469e8afef7
docs: Use "Courier New" font to code blocks
2019-02-11 16:48:55 +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
e0ca116057
docs: Update location of builders
2019-02-11 13:46:32 +09:00
Takeshi KOMIYA
057ef31182
Fix typo
2019-02-11 13:25:24 +09:00
Takeshi KOMIYA
54be6ae494
Merge pull request #6053 from tk0miya/5459_autodoc_default_options_accepts_True
...
Closes #5459 : autodoc: autodoc_default_options accepts True as a value
2019-02-11 12:48:43 +09:00
Takeshi KOMIYA
37ce1eb3b3
docs: githubpage now supports CNAME file
2019-02-11 12:46:35 +09:00
Takeshi KOMIYA
b0148c6921
Closes #5459 : autodoc: autodoc_default_options accepts True as a value
2019-02-11 02:03:09 +09:00
Stephen Finucane
b1ebdcd3c6
doc: Add "recipe" tutorial
...
This is based on a post from opensource.com [1] and demonstrates how one
can use indexes for cross-referencing and domains to group these indexes
along with domains and roles. The source code was taken from [2] after
getting the license changed [3].
[1] https://opensource.com/article/18/11/building-custom-workflows-sphinx
[2] https://github.com/ofosos/sphinxrecipes
[3] https://github.com/ofosos/sphinxrecipes/issues/1
Signed-off-by: Stephen Finucane <stephen@that.guru >
2019-02-09 17:58:30 +00:00
Stephen Finucane
93081e2fce
doc: Use 'literalinclude' directive for examples
...
This avoid duplication and could conceivably let us test this stuff in
code later on.
Signed-off-by: Stephen Finucane <stephen@that.guru >
2019-02-09 17:58:30 +00:00
Stephen Finucane
513d99c316
docs: Rework "todo" tutorial
...
Adopt the same format as was recently added in the "hello world"
tutorial, making this more of a walkthrough as expected from tutorials.
Signed-off-by: Stephen Finucane <stephen@that.guru >
2019-02-09 17:58:30 +00:00
Stephen Finucane
7bce985ac9
docs: Rework the "helloworld" tutorial
...
Nothing to drastic going on here, but this format works better for other
tutorials we're adding.
Signed-off-by: Stephen Finucane <stephen@that.guru >
2019-02-09 17:58:30 +00:00
Takeshi KOMIYA
319adefa9f
epub: `epub_title defaults to the project` option
2019-02-09 15:00:27 +09:00
Takeshi KOMIYA
ac70a4dd91
Replace :abbr: role by class based implementation
2019-02-06 01:20:58 +09:00
Takeshi KOMIYA
ff80d2f538
Merge pull request #5983 from tk0miya/separate_applehelp
...
Separate applehelp to sphinxcontrib package
2019-02-06 01:14:02 +09:00
Takeshi KOMIYA
c4397318d3
Separate applehelp to sphinxcontrib package
2019-02-06 00:44:37 +09:00
Takeshi KOMIYA
20edbe9500
Merge pull request #6015 from tk0miya/1851_omit_argument_for_code-block
...
Close #1851 : Allow to omit an argument for code-block directive
2019-02-06 00:24:17 +09:00
Takeshi KOMIYA
2e910d50f3
Merge pull request #6013 from tk0miya/update_manpage
...
doc: Remove --epub option from man page for sphinx-build
2019-02-04 01:53:21 +09:00
Takeshi KOMIYA
6ca669295c
Close #1851 : Allow to omit an argument for code-block directive
2019-02-04 01:50:44 +09:00
Takeshi KOMIYA
e0e3ba4d91
doc: Fix indentation
2019-02-04 01:31:30 +09:00
Takeshi KOMIYA
e02526b056
doc: Remove --epub option from man page for sphinx-build
2019-02-04 00:29:53 +09:00