Takeshi KOMIYA
045630ec85
Deprecate sphinx.util.inspect:safe_getmembers()
2020-01-25 23:21:33 +09:00
Takeshi KOMIYA
5397664d42
Add a new extension: sphinx.ext.autodoc.typehints
2020-01-25 17:56:39 +09:00
Takeshi KOMIYA
2e22e96061
Add new event: :event:object-description-transform
2020-01-25 17:12:41 +09:00
Jakob Lykke Andersen
c084c3f124
Implement scoping for productionlist
...
Fixes sphinx-doc/sphinx#3077
2020-01-22 22:32:30 +01:00
Takeshi KOMIYA
347e301727
Merge branch '2.0'
2020-01-19 22:47:02 +09:00
Takeshi KOMIYA
38ef16945e
Merge pull request #7021 from tk0miya/6754_docs_for_nodes_in_confpy
...
Warn about dangers of inheriting nodes in conf.py (2)
2020-01-13 15:03:41 +09:00
Takeshi KOMIYA
aafaa92237
doc: Use attention for notes about nodes in conf.py
2020-01-13 14:51:04 +09:00
Takeshi KOMIYA
74a5f350a1
Add new event: autodoc-before-process-signature
2020-01-13 13:16:59 +09:00
Takeshi KOMIYA
f169560395
Merge pull request #6979 from tk0miya/6830_autodoc_private
...
Close #6830 : autodoc: consider a member private if docstring contains :private:
2020-01-11 15:14:52 +09:00
Takeshi KOMIYA
cad1f86dd8
Merge branch '2.0'
2020-01-11 02:56:58 +09:00
Takeshi KOMIYA
6fa592f111
Merge pull request #7002 from tk0miya/refactor_Signature2
...
refactor: Add sphinx.util.inspect.signature()
2020-01-11 01:24:09 +09:00
Jesse Tan
7c1b673076
Add LaTeX styling hook for :kbd: role
2020-01-09 16:35:40 +01:00
Takeshi KOMIYA
5867416612
refactor: Add sphinx.util.inspect.signature()
...
As a successor of sphinx.util.inspect.Singnature, this adds
signature() function behaves like `inspect.signature()`. It is
very similar to way of python's inspect module.
In addition, this also adds stringify_annotation() helper to
sphinx.util.inspect module. With these two functions, we can move
to python's Signature object to represent function signatures
perfectly. It's natural design for python developers than ever.
2020-01-09 00:32:07 +09:00
Takeshi KOMIYA
af2a3c0dde
Merge branch '2.0'
2020-01-08 01:37:53 +09:00
Ralf Gommers
659c66ad98
Update documentation of download role for addition of hash in subdir
...
This was changed in gh-5377, but that forget the (now slightly
misleading) documentation.
Discovered in https://github.com/numpy/numpy.org/pull/14 , where
we were relying on download links being stable.
2020-01-07 13:06:16 +01:00
Takeshi KOMIYA
05daa3c7ce
Add sphinx.util.typing:stringify() to represent annotations as string
2020-01-05 01:13:27 +09:00
Takeshi KOMIYA
b968bb91e9
Close #6830 : autodoc: consider a member private if docstring has "private" metadata
2020-01-04 13:28:07 +09:00
Takeshi KOMIYA
7123f4038a
Fix #6559 : Wrong node-ids are generated in glossary directive
2020-01-02 22:03:39 +09:00
Takeshi KOMIYA
0319faf8f1
Merge branch '2.0'
2020-01-01 14:40:39 +09:00
Takeshi KOMIYA
2f36d792f3
Update CHANGES for PR #5230
2020-01-01 12:59:20 +09:00
Takeshi KOMIYA
e628afd5cd
Merge branch '2.0'
2020-01-01 11:39:46 +09:00
Takeshi KOMIYA
7851550cd8
doc: Fix ambiguous confval entries and references
2019-12-29 23:23:46 +09:00
Takeshi KOMIYA
c358e04b09
Close #6558 : glossary: emit a warning for duplicated glossary entry
2019-12-29 22:31:36 +09:00
Takeshi KOMIYA
8dc3315ce5
Deprecate sphinx.roles:Index and make a copy to sphinx.domains.index
2019-12-29 19:12:58 +09:00
Takeshi KOMIYA
4f83793fd0
Move sphinx.directives.other:Index to sphinx.domains.index
2019-12-29 18:21:26 +09:00
Takeshi KOMIYA
9656b6d4dd
Merge pull request #6967 from tk0miya/6966_graphviz_class
...
Close #6966 : graphviz: Support ``:class:`` option
2019-12-29 00:25:05 +09:00
Takeshi KOMIYA
ff9e5e6dbd
doc: Sort deprecated list alphabetically
2019-12-28 19:37:43 +09:00
Takeshi KOMIYA
3ddbd73f49
refactor: latex: Deprecate settings.* attributes based on latex_documents
2019-12-27 22:46:16 +09:00
Takeshi KOMIYA
18e25d680d
Close #6966 : graphviz: Support `:class:
` option
2019-12-27 22:38:10 +09:00
Takeshi KOMIYA
c8074b4a5d
Deprecate sphinx.util:detect_encoding() and ModuleAnalyzer.encoding
2019-12-27 22:08:32 +09:00
Takeshi KOMIYA
7581ee1084
Deprecate sphinx.util:get_module_source()
2019-12-27 01:57:39 +09:00
Takeshi KOMIYA
1fc4e8c251
Merge branch '2.0'
2019-12-25 22:44:12 +09:00
Takeshi KOMIYA
de9ee3e70a
doc: Fix sphinx.ext.duration will be added since 2.4.0
2019-12-25 22:43:56 +09:00
Takeshi KOMIYA
5640cf879f
Merge branch '2.0'
2019-12-22 18:47:30 +09:00
Takeshi KOMIYA
6d6fe9da0d
Add IndexDomain
2019-12-22 17:20:35 +09:00
Takeshi KOMIYA
e83bb29789
Merge pull request #6873 from tk0miya/5923_autodoc_inherited_members_can_ignore_specific_superclass
...
Close #5923 : autodoc: allow not to document inherited members of specific super class
2019-12-22 16:30:56 +09:00
Takeshi KOMIYA
a209002b81
doc: Add examples for :inherited-members:
2019-12-22 16:05:45 +09:00
Takeshi KOMIYA
d47f38e22d
Merge branch '2.0'
2019-12-21 12:21:49 +09:00
Takeshi KOMIYA
00c30679cf
Deprecate sphinx.io.FiletypeNotFoundError and get_filetype()
2019-12-16 01:45:02 +09:00
Takeshi KOMIYA
9b958f9525
Merge pull request #6925 from jdufresne/text-js
...
Remove redundant type="text/javascript" from <script> elements
2019-12-16 01:29:46 +09:00
Jon Dufresne
e6915baae8
Remove redundant type="text/javascript" from <script> elements
...
In HTML5, <script> elements default to MIME type text/javascript. The
HTML5 living standard and MDN recommend against including the attribute.
From https://developer.mozilla.org/en-US/docs/Web/HTML/Element/script#attr-type
> The HTML5 specification urges authors to omit the attribute rather
> than provide a redundant MIME type.
From https://html.spec.whatwg.org/#the-script-element
> Authors should omit the type attribute instead of redundantly setting
> it.
2019-12-15 07:52:40 -08:00
Takeshi KOMIYA
29687a29f1
Close #6446 : Add sphinx.ext.durations to inspect durations of build
2019-12-16 00:47:23 +09:00
Takeshi KOMIYA
712c20a3d9
Merge branch '2.0'
2019-12-16 00:05:35 +09:00
jfbu
30b26dd6a1
LaTeX: avoid quotes and TeX ligature replacements in PDF output
...
Refs: #6890
The comma character is not TeX-escaped because it is frequent in general
text and escaping it would make the LaTeX output larger for only dealing
with the problem of the LaTeX-ligature of ,, into a single character.
And one there is problem with the commas in options to Verbatim from
PygmentsBridge.
The hyphen character is escaped (not in ids and URIs!) to
\sphinxhyphen{} for both Unicode and non-Unicode engines. This is needed
to work around hyperref transforming -- and --- from section titles into
EN DASH resp. EM DASH in PDF bookmarks.
https://github.com/latex3/hyperref/issues/112
Note to expert LaTeX users: if Sphinx latex user with xelatex has
- turned off Smart Quotes for some reason,
- but does want TeX ligatures and thus overrode Sphinx
latex_elements['fontenc'] default (since #6888 ) to this effect,
then this should be added to LaTeX preamble:
\def\sphinxhyphen#1{-}% (\protected is now not needed)
\let\sphinxhyphenforbookmarks\sphinxhyphen
2019-12-15 14:19:50 +01:00
Damien Ayers
1a54a7229c
Fix documentation typo
...
(cherry picked from commit 937c684960
)
2019-12-13 23:27:04 +01:00
Damien Ayers
937c684960
Fix documentation typo
2019-12-13 12:33:02 +11:00
jfbu
2199a127e8
Typo (refs #6491 )
2019-12-09 22:57:45 +01:00
Olle Hynén Ulfsjöö
e35507ffd0
Add sphinxcontrib-beamer to list of extensions.
...
Change-Id: I943e42508cc8ca4e20c65803c1bca225195ddd0e
2019-12-09 11:06:23 +01:00
Takeshi KOMIYA
7ec567b6d0
Merge branch '2.0'
2019-12-09 00:13:42 +09:00
Takeshi KOMIYA
9e40f2a603
doc: rewrite options for code-block by directive:option directive
2019-12-08 21:33:06 +09:00
Takeshi KOMIYA
d82e0bb5a5
doc: rewrite options for highlight by directive:option directive
2019-12-08 21:33:06 +09:00
jfbu
73a2228c87
Update 'fontenc' latex_elements key documentation
2019-12-07 12:27:21 +01:00
Takeshi KOMIYA
fb9adbf0be
Merge pull request #6870 from stsewd/update-docs-intersphinx-with-basic-auth
...
Update docs about intersphinx and basic auth support
2019-12-03 01:42:37 +09:00
Takeshi KOMIYA
7292ab7eef
Merge branch '2.2.2' into 2.0
2019-12-03 01:19:02 +09:00
Santos Gallegos
46c68302be
Be more specific about the type of login
2019-12-02 11:07:17 -05:00
Takeshi KOMIYA
7c79a6b8d1
Close #5923 : autodoc: allow not to document inherited members of specific super class
2019-12-01 12:51:28 +09:00
Takeshi KOMIYA
15c266c445
Merge branch '2.0'
2019-11-30 21:52:42 +09:00
Takeshi KOMIYA
82a6048f12
Fix typo
2019-11-28 23:31:08 +09:00
Santos Gallegos
f7c1e9190a
Linter
2019-11-27 15:38:26 -05:00
Santos Gallegos
a72d8f6808
Update docs about intersphinx and basic auth support
...
This was added in #2089 but the docs don't mention it.
2019-11-27 15:23:52 -05:00
Takeshi KOMIYA
1cc1481771
Merge pull request #6866 from tk0miya/napoleon_doc_fix
...
doc: URL of numpydoc has changed
2019-11-27 01:25:33 +09:00
Takeshi KOMIYA
82b2b1752a
doc: URL of numpydoc has changed
2019-11-27 00:12:32 +09:00
Takeshi KOMIYA
9bd64e4e2a
Merge pull request #6862 from tk0miya/6854_update_supported_languages_list
...
Update supported languages (refs: #6854 )
2019-11-27 00:04:22 +09:00
jfbu
dc53404d48
Fix markup issue in our docs
2019-11-26 14:22:17 +01:00
jfbu
d398959230
Fix typo in docs
2019-11-26 14:11:40 +01:00
Takeshi KOMIYA
995dfa4e73
Merge pull request #6816 from jonashaag/linkcheck-auth
...
Add linkcheck_auth option
2019-11-26 01:29:30 +09:00
Takeshi KOMIYA
1faf14d411
Update supported languages (refs: #6854 )
2019-11-26 01:22:14 +09:00
Takeshi KOMIYA
6de29cdb84
Merge pull request #6854 from jfbu/doc_mention_Greek_as_supported_language
...
DOC: add Greek to list of supported languages
2019-11-26 00:56:34 +09:00
Jonas Haag
df2f80c755
Add linkcheck_auth option
2019-11-25 09:53:45 +01:00
jfbu
70f087990b
DOC: add Greek to list of supported languages
2019-11-22 19:15:59 +01:00
Takeshi KOMIYA
c65243325c
Merge branch '2.0' into 6798_autosummary_emits_skip_member_event
2019-11-21 00:45:57 +09:00
Takeshi KOMIYA
cba9ff9ce2
Merge pull request #6841 from tk0miya/4186_uplatex
...
Fix #4186 : LaTeX: Support upLaTeX as a new latex_engine (experimental)
2019-11-21 00:42:21 +09:00
Sylvestre Ledru
3aef93c4a3
Fix the URL to https://pygments.org/docs/lexers.html
2019-11-20 14:49:15 +01:00
Takeshi KOMIYA
c6f0eb215a
Fix #4186 : LaTeX: Support upLaTeX as a new latex_engine (experimental)
2019-11-17 17:37:48 +09:00
Takeshi KOMIYA
6644830941
Merge branch '2.0'
2019-11-17 14:24:04 +09:00
Joe
1fd7176f89
Fix link to pygments lexer
2019-11-16 18:11:14 -08:00
Takeshi KOMIYA
f3469bcc8f
Make escape() and hlescape() as public APIs of texescape
2019-11-16 19:42:06 +09:00
Takeshi KOMIYA
5f559fbb98
Deprecate sphinx.util.texescape.tex_escape_map
2019-11-16 18:34:48 +09:00
Takeshi KOMIYA
66c3dd3adb
Close #6798 : autosummary: emit `autodoc-skip-member
` event on generating stub file
2019-11-16 18:19:31 +09:00
Takeshi KOMIYA
8f554c465d
Merge pull request #6802 from tk0miya/6781_gettext_template
...
gettext: Use template file to generate message catalog
2019-11-15 02:33:09 +09:00
Takeshi KOMIYA
399f773d9d
gettext: Use template file to generate message catalog
2019-11-08 00:36:57 +09:00
jfbu
a550c7075f
LaTeX: Allow linebreaks at \ (in literals, code-blocks, parsed-literal)
...
Default configuration is to allow the linebreak after the backslash.
It is possible at user side via 'preamble' key and some LaTeX code
to allow the linebreak before the backslash, but each of inline-literal,
code-block, and parsed-literal has its more or less cumbersome way for
that.
Closes : #6000 , #6001
This commit handles only the \ character, which had been left aside
by accident so far. Inline-literals could break at more characters
but this is not yet done in this commit. In this context, in future
it could be useful to modify sphinx.util.texescape to use mark-up
such as \sphinxtextbackslash rather than naked \textbackslash and
similarly for some other characters. This could then be used to
allow linebreaks even in regular text paragraphs.
2019-11-06 18:59:09 +01:00
Takeshi KOMIYA
b4cd34c8f4
Merge branch '2.0' into 1331_useragent
2019-11-05 22:58:33 +09:00
Takeshi KOMIYA
4ec563fcff
Close #6762 : latex: Allow to load additonal LaTeX packages
2019-11-05 22:25:41 +09:00
Tetsuo Koyama
7fbd9c02d0
🎨 Fixed issue #6789
2019-11-04 20:28:24 +09:00
Takeshi KOMIYA
32763520a3
Close #1331 : Change default User-Agent header
2019-10-27 02:05:33 +09:00
Takayuki SHIMIZUKAWA
4edd69566e
fix long line for doclinter
2019-10-26 17:21:57 +09:00
Takayuki SHIMIZUKAWA
c57325d776
doc: remove required version of the external libraries
2019-10-26 16:08:41 +09:00
Takayuki SHIMIZUKAWA
71334def42
doc: avoid font-size when :mod: role in headings
2019-10-26 15:35:06 +09:00
Sviatoslav Sydorenko
842fbfa1e8
Warn about dangers of inheriting nodes in conf.py
...
Closes #6751
2019-10-22 14:54:57 +02:00
Takeshi KOMIYA
a6a2a59ab0
Merge branch '2.0'
2019-10-20 13:43:30 +09:00
Takeshi KOMIYA
cb22be80c2
Merge branch '2.2.1' into 2.0
2019-10-20 13:42:10 +09:00
Takeshi KOMIYA
a950df1908
Close #6729 : HTML theme: agogo theme now supports rightsidebar option
2019-10-14 14:26:33 +09:00
Takeshi KOMIYA
0000e7fd4a
Merge pull request #6682 from Jacob-Stevens-Haas/patch-1
...
Get rid of comma in sphinx-apidoc documentation
2019-10-12 22:51:01 +09:00
Takeshi KOMIYA
7faeb793e2
Close #6658 : Add CODE_OF_CONDUCT ( #6661 )
...
* Close #6658 : Add CODE_OF_CONDUCT
* #6658 refine CoC
* Base on Django CoC: https://www.djangoproject.com/conduct/
* Simplify: we are a smaller project and can be more concise
* Add to ToC
* Link from README
* Link from index page
2019-10-06 16:41:37 +02:00
Takeshi KOMIYA
e8925e78ca
Merge branch '2.0'
2019-10-06 18:41:32 +09:00
jfbu
7be68b7c4b
Add latexpdf support for Greek as main language (via xelatex use)
...
Closes : #6710
2019-10-01 10:27:43 +02:00
Jacob Stevens-Haas
9d239a64fc
Get rid of comma in sphinx-apidoc documentation
...
#6674
Nixing the comma in `EXCLUDE PATTERN, ...` because it's not supposed to be there. See the issue for the research.
2019-09-01 17:08:13 -07:00
Takeshi KOMIYA
21cd1c2ef5
refactor: SphinxStandaloneReader should not hold an application object
2019-08-20 21:45:50 +09:00
Takeshi KOMIYA
01f8dad160
Merge branch '2.0'
2019-08-19 00:37:30 +09:00
ExplorerLog
edff2824e9
Update configuration.rst
...
Add a comma
2019-08-16 16:29:29 +08:00
jfbu
4ae5414ee5
Update our docs for imgmath_latex (refs: #6610 )
2019-08-03 12:00:24 +02:00
jfbu
47cd262b3e
Merge branch '2.0'
2019-08-01 18:30:48 +02:00
jfbu
7c59e44eaa
Fix version changed info in our document for imgmath
2019-08-01 18:24:28 +02:00
jfbu
da3763170e
Reorganize documentation of the imgmath configuration variables
2019-08-01 17:52:28 +02:00
jfbu
505ff622c2
More robust code for getting saved "depth" of svg inline math snippet
2019-08-01 17:52:28 +02:00
jfbu
1adf12bfa7
Make imgmath_use_preview work also for svg output
2019-08-01 17:52:28 +02:00
Timotheus Kampik
0662a3ecd6
#6503 document meta directive ( #6562 )
...
#6503 document meta directive
The `meta` directive has partly Sphinx-specific behavior
and hence needs to be documented
2019-07-08 22:48:41 +02:00
woutdenolf
9dc9b8754d
Merge with master and address code review
2019-07-08 08:29:23 +02:00
Takeshi KOMIYA
1c152d249c
Merge branch '2.0'
2019-07-07 18:50:58 +09:00
Takeshi KOMIYA
4af90fcf75
Fix #247 : autosummary: Add autosummary_generate_option to overwrite old stub file
2019-07-07 16:18:49 +09:00
Takeshi KOMIYA
10883c2824
docs: Update FAQ for github pages
2019-07-07 16:08:54 +09:00
Dull Bananas
e24709c2df
Clarify Windows installation
2019-07-05 18:41:22 -07:00
Takeshi KOMIYA
c18dcf08f9
Merge branch '2.0'
2019-06-30 01:08:48 +09:00
Takeshi KOMIYA
828beb12e0
doc: Update document for :annotation: option (refs: #6495 )
2019-06-29 18:43:30 +09:00
Takeshi KOMIYA
b325a1de2b
Merge branch '2.0'
2019-06-21 12:47:02 +09:00
Takeshi KOMIYA
a0b4d09b1b
Close #5602 : apidoc: Add `--templatedir
` option
2019-06-16 13:39:21 +09:00
Takeshi KOMIYA
564d23be7a
Merge pull request #6467 from tk0miya/refactor_math
...
refactor: Add data accessors to MathDomain
2019-06-15 23:48:57 +09:00
Takeshi KOMIYA
5d42659e33
Merge branch '2.0'
2019-06-15 23:39:44 +09:00
Takeshi KOMIYA
d2f0c83568
Merge pull request #6433 from tk0miya/refactor_todo2
...
refactor todo extension with Domain
2019-06-15 23:12:03 +09:00
Takeshi KOMIYA
9b0f415e21
refactor: Add data accessors to MathDomain
2019-06-15 23:05:45 +09:00
Takeshi KOMIYA
05c1c4c33a
Merge pull request #6430 from tk0miya/5124_graphviz_layout_option
...
Close #5124 : graphviz: :graphviz_dot: option is renamed to :layout:
2019-06-15 16:46:48 +09:00
Takeshi KOMIYA
f6dfab33d2
Merge branch '2.0' into refactor_todo2
2019-06-15 16:45:17 +09:00
Takeshi KOMIYA
649ebea438
autosummary: deprecate info and warn arguments for generate_autosummary_docs()
2019-06-10 13:45:28 +09:00
Takeshi KOMIYA
8fd817d174
refactor: todo: Add TodoListProcessor to expand todolist nodes
2019-06-03 00:17:29 +09:00
Takeshi KOMIYA
9abb4820b1
refactor: todo: Add TodoDomain to collect todo nodes
2019-06-02 23:41:39 +09:00
woutdenolf
ec8656bd27
[autosummary] remove recursion limit and module/package separation
2019-06-02 16:26:40 +02:00
Takeshi KOMIYA
ce2f9c2b94
Close #5124 : graphviz: :graphviz_dot: option is renamed to :layout:
2019-06-02 21:33:34 +09:00
Takeshi KOMIYA
c4f44bdd22
Merge branch '2.0'
2019-06-02 21:17:38 +09:00
Takeshi KOMIYA
1303ea7cdf
docs: Use directive:option in extensions/graphviz
2019-06-02 18:18:55 +09:00
Takeshi KOMIYA
5da74898c3
Merge branch '2.0'
2019-06-02 01:09:09 +09:00
Takeshi KOMIYA
4c19ab7058
Merge commit '54d5fcfaebc3364044761d30c0fed6bd4d3052c3'
2019-06-02 01:02:54 +09:00
Takeshi KOMIYA
91fceb4b5f
Merge branch '2.0.2' into 2.0
2019-06-02 00:58:46 +09:00
woutdenolf
4fb58b2146
[autosummary] doclint violation
2019-06-01 13:08:23 +02:00
woutdenolf
140ae00baa
Merge branch 'master' into feature-autosummary-packages
2019-06-01 12:42:28 +02:00
Takeshi KOMIYA
54d5fcfaeb
Merge pull request #6416 from tk0miya/2310_force_highlighting
...
Add :force: option to code directives
2019-06-01 14:17:53 +09:00
Takeshi KOMIYA
e001d358d0
Add :force: option to code directives
2019-06-01 13:42:57 +09:00
Takeshi KOMIYA
c6d840d95a
doc: Change wording for contents directive (refs: #6265 )
2019-06-01 11:27:38 +09:00
Takeshi KOMIYA
ce3c5735cd
Merge branch '2.0'
2019-06-01 01:45:47 +09:00
Takeshi KOMIYA
1769280348
Merge pull request #6420 from tk0miya/6405_wrong_link
...
Fix #6405 : docs: wrong link
2019-06-01 01:42:52 +09:00
Takeshi KOMIYA
c74296fa50
Fix #6405 : docs: wrong link
2019-06-01 01:24:57 +09:00
Takeshi KOMIYA
2afba22cee
Merge pull request #6397 from tk0miya/6361_autodoc_typehints
...
Close #6361 : autodoc: Add autodoc_typehints to suppress typehints from signature
2019-06-01 01:07:37 +09:00
gilch
e7239053b7
Grammar corrections
2019-05-29 19:41:45 -06:00
Takeshi KOMIYA
d6063ff35b
doc: Fold lines by 80 columns
2019-05-30 01:07:05 +09:00
Takeshi KOMIYA
eb76799a89
doc: Fold lines by 80 columns
2019-05-29 10:43:59 +09:00
Takeshi KOMIYA
b9d7239d90
Merge branch '2.0'
2019-05-29 00:51:25 +09:00
Takeshi KOMIYA
9b2423c5bb
doclinter: restrict by 90 columns
2019-05-26 10:53:53 +09:00
Takeshi KOMIYA
0ea380eddd
Close #6361 : autodoc: Add autodoc_typehints to suppress typehints from signature
2019-05-26 00:35:24 +09:00
Takeshi KOMIYA
38aacdffdb
Merge pull request #6392 from tk0miya/6348_hieroglyph
...
doc: Remove hieroglyph temporarily (refs: #6348 )
2019-05-23 10:54:28 +09:00
Takeshi KOMIYA
1e221da332
doc: Remove hieroglyph temporarily (refs: #6348 )
2019-05-23 10:32:18 +09:00
Takeshi KOMIYA
44f03e2c75
docs: Update URL of writethedocs
2019-05-21 22:16:15 +09:00
Takeshi KOMIYA
3105feec80
doc: Update with rst:directive:option directive
2019-05-20 00:26:28 +09:00
Takeshi KOMIYA
557d8d140e
Merge pull request #6365 from tk0miya/refactor_py_domain
...
Add :abstractmethod: option to py:method directive and support abstractmethod by autodoc
2019-05-19 23:46:34 +09:00
woutdenolf
1a67b87910
Merge branch 'master' into feature-autosummary-packages
2019-05-18 14:42:34 +02:00
Takeshi KOMIYA
279223065b
Merge branch '2.0' into master
2019-05-17 01:24:45 +09:00
Gibson Fahnestock
6f7cb4da94
autosectionlabel: add type for suppress_warnings
...
This sets the subtype to the filename, which means that you can suppress
warnings for individual paths.
For example for the following warning:
```
path/to/file.rst:5547: WARNING: duplicate label path/to/file:label, other instance in /path/to/file.rst
```
You would add this to `config.py` to suppress all warnings:
```python
extensions = [
'sphinx.ext.autosectionlabel',
]
autosectionlabel_prefix_document = True
suppress_warnings = [
'autosectionlabel.*',
]
```
To suppress warnings for the individual file path you would do:
```python
suppress_warnings = [
'autosectionlabel.path/to/file',
]
```
Fixes: https://github.com/sphinx-doc/sphinx/issues/6371
2019-05-15 19:30:46 +01:00
Adrián Chaves
e84ba7f78a
Support coverage_ignore_pyobjects in the coverage builder
2019-05-15 12:23:05 +02:00
Takeshi KOMIYA
c81ae00430
Merge pull request #6369 from tk0miya/refactor_apidoc_module_join
...
refactor: apidoc: Replace makename() by module_join()
2019-05-15 00:36:21 +09:00
Takeshi KOMIYA
7c8b1ad900
refactor: apidoc: Replace makename() by module_join()
2019-05-15 00:18:00 +09:00
Takeshi KOMIYA
64eacb30a8
Fix modname of HTMLHelpBuilder
2019-05-15 00:08:27 +09:00
Takeshi KOMIYA
358e582490
Add :abstractmethod: option to py:method directive (refs: #6138 )
2019-05-15 00:00:51 +09:00
Brian Skinn
0dbdae3159
Add %O% option to make.bat templates; update docs
...
The make.bat_t and make.bat.new_t templates now pass %O% as well as
%SPHINXOPTS% to `sphinx-build`, in parity with Makefile.new_t.
The sphinx-build documentation page was updated to explicitly note
$(O) and %O% as shortcut variables.
Closes #6323 , per the comment thread discussion.
2019-05-13 10:44:27 -04:00
Takeshi KOMIYA
f63abac2ca
Merge branch '2.0'
2019-05-13 22:03:26 +09:00
Takeshi KOMIYA
416426dfb7
Merge pull request #6356 from tk0miya/foldlines
...
Add utils/doclinter.py; a documenter linter for Sphinx
2019-05-13 14:39:01 +09:00
Takeshi KOMIYA
ca605c7437
Add :type: option for rst:directive:option directive
2019-05-13 14:14:14 +09:00
Takeshi KOMIYA
4307dec3ac
Add rst:directive:option directive
2019-05-13 13:55:56 +09:00
Takeshi KOMIYA
fa00458f4f
docs: Fold lines by 80 chars
2019-05-12 17:57:38 +09:00
Takeshi KOMIYA
a142a654fc
Add :property: option to py:method directive
2019-05-12 15:53:39 +09:00
Takeshi KOMIYA
37a5736a1f
Merge branch '2.0'
2019-05-06 21:09:43 +09:00
Takeshi KOMIYA
fa560ebf95
apidoc: Deprecate unused functions
2019-05-04 18:42:22 +09:00
Takeshi KOMIYA
b0d070c857
Merge pull request #6333 from juh2/patch-1
...
adding German book about Sphinx
2019-05-03 23:19:21 +09:00
SuryaGrandhi
1f77b95de6
Removing broken links
...
Using sphinx with Read the Docs, the Getting Started link has been updated.
2019-05-03 15:26:40 +05:30
juh
6be9556904
adding German book about Sphinx
...
Adding a link to the authors bookpage.
2019-05-02 11:49:23 +02:00
jfbu
48ad83d061
Reorganize documentation of the imgmath configuration variables
2019-04-24 12:30:18 +02:00
jfbu
ea28bd9fb0
More robust code for getting saved "depth" of svg inline math snippet
2019-04-24 11:56:19 +02:00
Jon Dufresne
ee23a29b3c
Deprecate EpubBuilder.esc() in favor of stdlib html.escape()
...
Available since Python 3.2.
https://docs.python.org/3/library/html.html#html.escape
2019-04-23 19:34:55 -07:00
jfbu
3edcff7952
Make imgmath_use_preview work also for svg output
2019-04-23 15:13:21 +02:00
jfbu
65ac90773d
Merge branch '2.0'
2019-04-23 14:48:17 +02:00
Takeshi KOMIYA
e0abb10792
Fix #4777 : Add :async: option to py:function and py:method directives
2019-04-23 01:40:37 +09:00
Takeshi KOMIYA
a285220778
Merge branch '2.0' into refactor_py_domain2
2019-04-23 01:16:42 +09:00
Takeshi KOMIYA
e9e8fd264b
Merge pull request #6308 from tk0miya/imgmath_template
...
imgmath: Use template file for LaTeX
2019-04-19 13:13:37 +09:00
jfbu
6009140f22
Fix a dvisvgm link in docs and add preview-latex link
2019-04-17 10:07:30 +02:00
Takeshi KOMIYA
06f86b0639
Make EventManager portable
...
So far, we need to bypass application object for modules to emit
a event. This make EventManager portable and easy to pass event
emitter. This brings modules less coupled with application object.
2019-04-16 14:06:36 +09:00
Takeshi KOMIYA
15bc5a32bb
Merge pull request #6260 from tk0miya/refactor_events
...
Make EventManager portable
2019-04-16 14:04:54 +09:00
Takeshi KOMIYA
aabeb71123
imgmath: Use template file for LaTeX
2019-04-16 01:38:31 +09:00
Alex Sergeev
98691baf85
Address comments
2019-04-14 10:47:50 -10:00
Takeshi KOMIYA
efc3405c6f
Merge branch '2.0'
2019-04-14 19:35:33 +09:00
Alex Sergeev
4bad5bd419
Address feedback
2019-04-13 20:54:20 -10:00
Takeshi KOMIYA
331594e2ca
Add :classmethod: and :staticmethod: options to py:method directive
2019-04-13 23:14:59 +09:00
Takeshi KOMIYA
6af3896103
Add PyFunction and PyVariable; directives for python functions and variables
2019-04-13 20:26:07 +09:00
jfbu
a46d4c9bca
Improve documentation formatting for Sphinx LaTeX environments
2019-04-12 19:30:31 +02:00
jfbu
f8f4ce8bce
Better format documentation of \sphinx... LaTeX macros
2019-04-12 19:21:34 +02:00
jfbu
9ecd42574d
Documentation of smartquotes_excludes (and smartquotes_action)
2019-04-12 18:34:10 +02:00
Takeshi KOMIYA
b0b3f5a677
deprecate PyClassmember class
2019-04-07 22:41:10 +09:00
Takeshi KOMIYA
df05d9254d
Merge branch '2.0'
2019-04-07 19:29:52 +09:00
woutdenolf
6e0b0517c0
[autosummary] address code review
2019-04-07 12:00:57 +02:00
woutdenolf
4004dd5635
Merge branch 'master' into feature-autosummary-packages
2019-04-07 10:32:57 +02:00
Takeshi KOMIYA
9e2aba54d3
Make EventManager portable
...
So far, we need to bypass application object for modules to emit
a event. This make EventManager portable and easy to pass event
emitter. This brings modules less coupled with application object.
2019-04-06 15:36:50 +09:00
Takeshi KOMIYA
c840cb744c
Merge branch '2.0' into refactor_citations
2019-04-06 14:23:04 +09:00
Takeshi KOMIYA
452e5dcf21
Deprecate StandardDomain.process_*()
2019-04-06 14:14:18 +09:00
Takeshi KOMIYA
338941a49a
Fix #6213 : ifconfig: contents after headings are not shown
2019-04-05 02:34:23 +09:00
Takeshi KOMIYA
005913630f
Add missing versionadded for autosummary_mock_imports
2019-04-04 23:49:43 +09:00
Takeshi KOMIYA
6cb263b9c8
Merge pull request #6212 from tsanikgr/feature/autosummary_imported_members
...
Allow setting imported_members for autosummary in conf.py
2019-04-04 23:04:36 +09:00
tsanikgr
eb03b1406f
Simplify docs
2019-04-03 17:31:16 +01:00
Takeshi KOMIYA
885d35e374
Add CitationDomain for citation processing
2019-03-30 23:12:08 +09:00
Takeshi KOMIYA
87c6335b46
Move transforms for citations to sphinx.domains.citation
2019-03-30 20:31:10 +09:00
Takeshi KOMIYA
61098a0ae2
Drop features and APIs deprecated in 1.8
2019-03-30 14:50:37 +09:00
Takeshi KOMIYA
a6ef53083c
Merge pull request #6215 from rkdarst/mathjax-doc-clarification
...
Clarify MathJax extension usage
2019-03-30 00:52:39 +09:00
Richard Darst
277588f2f9
Clarify MathJax extension usage: edits from review
2019-03-29 16:40:18 +02:00
Richard Darst
dd0246c6dc
Clarify MathJax extension usage
...
- We recently hit an issue where we expected the MathJax extension to
work with the default MathJax markup. Obviously that shouldn't be
the case (since then other formats couldn't use the math), but it
can't hurt to include a hint.
- Link from the math HTML extension page to the relevant
roles/directives.
- Also make it explicit that MathJax has a default, and that it's an
external resource that will be dynamically linked.
2019-03-27 18:10:09 +02:00
tsanikgr
bec116a3b6
#5877 : Allow setting imported_members for autosummary in conf.py
2019-03-27 14:19:16 +00:00
Takeshi KOMIYA
a990f9ff72
Add ObjectDescription.get_field_type_map()
...
Conceal caching mechanism of Field classes to ObjectDescription class.
This deprecates DocFieldTransformer.preprocess_field_types().
2019-03-23 17:27:22 +09:00
Michael Goerz
4e27cc465a
Fix docs of inheritance-diagram "parts" option
...
The documentation now correctly describes the behavior of the ``parts``
option in an inheritance-diagram directive: it gives the number of parts
that are *kept* not dropped. The option now also accepts negative
values, which drops parts from the left (which is the what the
documentation incorrectly claimed the option would do for positive
values)
As a form of testing of the new functionality, the documentation for the
inheritance_diagram extension now includes a section "Examples" that
demonstrate the different possibilities. This would fail to build
without the patch.
Closes #4872
2019-03-19 01:19:29 +09:00
Takeshi KOMIYA
e6cc18cc59
Merge pull request #6164 from goerz/inheritance_diagram
...
Fix docs of inheritance-diagram "parts" option
2019-03-19 01:18:07 +09:00
Jon Dufresne
22afc77c48
Python-3-only clean ups discovered by pyupgrade
...
https://github.com/asottile/pyupgrade
> A tool to automatically upgrade syntax for newer versions of the
> language.
- Drop u str prefix
- Drop base object inheritance
- Drop args to super()
- Use set literals
- Use dict comprehension
- Use set comprehension
2019-03-19 01:09:48 +09:00
Jon Dufresne
f210475489
Python-3-only clean ups discovered by pyupgrade
...
https://github.com/asottile/pyupgrade
> A tool to automatically upgrade syntax for newer versions of the
> language.
- Drop u str prefix
- Drop base object inheritance
- Drop args to super()
- Use set literals
- Use dict comprehension
- Use set comprehension
2019-03-17 12:58:03 -07:00
Takeshi KOMIYA
86d5d2113e
Deprecate imports for compatibility
2019-03-17 18:30:50 +09:00
Takeshi KOMIYA
b5959ca230
Add SphinxPostTransform class ( #6154 )
...
* Add SphinxPostTransform
* Apply SphinxPostTransform to latex transforms
2019-03-17 18:27:00 +09:00
Michael Goerz
1f136215c1
Fix docs of inheritance-diagram "parts" option
...
The documentation now correctly describes the behavior of the ``parts``
option in an inheritance-diagram directive: it gives the number of parts
that are *kept* not dropped. The option now also accepts negative
values, which drops parts from the left (which is the what the
documentation incorrectly claimed the option would do for positive
values)
As a form of testing of the new functionality, the documentation for the
inheritance_diagram extension now includes a section "Examples" that
demonstrate the different possibilities. This would fail to build
without the patch.
Closes #4872
2019-03-10 18:37:05 -04:00
Takeshi KOMIYA
2606002bb4
Merge pull request #6125 from tk0miya/doc-enhance_extension_dev_i18n
...
doc: Enhance documentation about internalization of external extension (refs: #5991 )
2019-03-10 01:16:06 +09:00
Jakob Lykke Andersen
59b6a5e622
Merge pull request #6142 from anntzer/doctypo
...
Fix doc typo.
2019-03-09 11:51:24 +01:00
Takeshi KOMIYA
d4ac7217a8
Move list of deprecated API to extdev/deprecated.rst
2019-03-09 19:32:24 +09:00
Antony Lee
386ec9cd9a
Fix doc typo.
2019-03-07 14:17:41 +01:00
Takeshi KOMIYA
ba86f4ea78
Merge branch '2.0'
2019-03-07 01:23:26 +09:00
Takeshi KOMIYA
4ca5924d49
Merge pull request #6129 from tk0miya/refactor_util.nodes
...
Refactor util.nodes
2019-03-07 01:20:06 +09:00
Takeshi KOMIYA
b58d0e88ce
Merge pull request #6121 from tk0miya/refactor_NoUri
...
refactor: move NoUri to sphinx.errors
2019-03-03 16:09:35 +09:00
Takeshi KOMIYA
10869289ef
docs: JS domain does not support reset current module
2019-03-03 14:56:38 +09:00
Takeshi KOMIYA
259c2bb8a6
refactor: Rename find_source_node() to get_node_source()
2019-03-03 14:42:23 +09:00
Takeshi KOMIYA
b3b5a595a9
docs: Update docs for i18n
2019-03-02 19:45:42 +09:00
Takeshi KOMIYA
4b15b6659f
Move ext-i18n section to extdev/i18n.rst
2019-03-02 19:04:24 +09:00
Takeshi KOMIYA
ea1eec75dc
Merge branch 'master' into doc-enhance_extension_dev_i18n
2019-03-02 19:00:25 +09:00
Takeshi KOMIYA
01f46111c5
Merge branch '2.0'
2019-03-02 18:38:24 +09:00
Takeshi KOMIYA
0d7bc86e7b
refactor: move NoUri to sphinx.errors
2019-03-02 16:21:44 +09:00
Takeshi KOMIYA
8d0d75fea7
Merge pull request #6110 from tk0miya/refactor_catalog
...
Refactor catalog detection and compilation
2019-02-27 23:36:14 +09:00
Takeshi KOMIYA
fb8838ee53
refactor: Use CatalogRepository instead of find_catalog_source_file()
2019-02-27 22:47:08 +09:00
Takeshi KOMIYA
5f8f902b63
Rename find_catalog() to docname_to_domain()
2019-02-27 21:44:16 +09:00
Takeshi KOMIYA
af51e9825a
refactor: Move implementation of mock to sphinx.ext.autodoc.mock
2019-02-27 21:42:23 +09:00
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
woutdenolf
33e7b76c32
Merge branch 'master' into feature-autosummary-packages
2019-02-24 12:16:52 +01:00
woutdenolf
cb51216cac
[autosummary] modify docs
2019-02-24 12:12:33 +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