Takeshi KOMIYA
be212d98df
Remove sphinx.util.docutils.__version_info__ on 7.0
2022-05-03 02:07:47 +09:00
Takeshi KOMIYA
8e726db3de
Merge pull request #10381 from tk0miya/deprecation_for_docutils-0.13
...
Mark APIs for docutils-0.13 deprecated and remove monkey-patch for it
2022-05-03 02:06:13 +09:00
Takeshi KOMIYA
538fdb23bb
Merge pull request #10388 from soxofaan/patch-1
...
sphinx.ext.napoleon docs: fix Google style link
2022-05-03 01:53:58 +09:00
Takeshi KOMIYA
3aa7e4105a
Deprecate: html5_ready and is_html5_writer_available()
2022-05-03 01:48:17 +09:00
Adam Turner
971040b4b7
Merge branch '5.x' into fix-warnings
...
# Conflicts:
# tests/test_search.py
2022-05-02 17:05:42 +01:00
Takeshi KOMIYA
b58a584236
Merge pull request #10164 from AA-Turner/bump-docutils
...
Bump Docutils dependency
2022-05-03 01:00:51 +09:00
Adam Turner
3f8bf7acb1
Schedule removal for 7.0
2022-04-30 19:10:27 +01:00
Adam Turner
b536ffabc1
Deprecate sphinx.util.jsdump
2022-04-27 02:59:50 +01:00
Stefaan Lippens
b98b1b3419
sphinx.ext.napoleon docs: fix Google style link
2022-04-25 12:35:40 +02:00
Adam Turner
35ed39c946
Use Node.findall
2022-04-22 04:21:39 +01:00
Adam Turner
cbe0c99181
rawsource is deprecated in docutils.nodes.Text
2022-04-22 04:21:38 +01:00
Adam Turner
3420d15cb9
Bump Docutils dependency
2022-04-19 03:09:45 +01:00
Takayuki SHIMIZUKAWA
068f802df9
fix typo
...
from https://github.com/sphinx-doc/sphinx-doc-translations/pull/13
2022-04-19 04:10:39 +09:00
Takeshi KOMIYA
26e00bda0e
Merge branch '5.x' into sphinx-docs-build
2022-04-17 11:53:15 +09:00
Adam Turner
22f7a0124c
Update documentation
2022-04-16 21:12:18 +01:00
Adam Turner
ec0c13c26d
Don't use deprecated setup.py build_sphinx
2022-04-16 19:08:27 +01:00
Takeshi KOMIYA
da73960492
Merge branch '5.x' into autodoc_force_undocumented_rtype
2022-04-03 22:45:42 +09:00
Takeshi KOMIYA
fd42063725
autodoc_typehints_description_target: Rename returnvalue_and_documented_params to documented_params
2022-04-03 22:42:44 +09:00
Takeshi KOMIYA
f731bf1999
Merge branch '5.x' into autodoc_force_undocumented_rtype
2022-04-03 22:29:22 +09:00
Takeshi KOMIYA
21e3a96f09
Close #8417 : autodoc: :inherited-members: option now takes multiple classes
...
It allows to suppress inherited members of several classes on the module at
once by specifying the option to `automodule` directive
2022-04-03 20:17:41 +09:00
Takeshi KOMIYA
223b1a94f2
Merge branch '4.x'
2022-03-28 01:00:37 +09:00
Takeshi KOMIYA
b20e04968e
Merge pull request #10107 from Jean-Abou-Samra/intl-warnings
...
Implement #noqa for i18n
2022-03-27 23:00:57 +09:00
Takeshi KOMIYA
2db180da70
Merge branch '4.x'
2022-03-27 19:47:11 +09:00
Takeshi KOMIYA
f559389d14
Merge pull request #10301 from tk0miya/refactor_parserapi_doc
...
doc: Update docs for sphinx.parsers.Parser
2022-03-27 19:45:41 +09:00
Takeshi KOMIYA
e530c00b82
doc: Update docs for sphinx.parsers.Parser
2022-03-27 19:27:53 +09:00
Takeshi KOMIYA
7ae8c1ee42
Merge pull request #10300 from tk0miya/doc_URL_changed
...
doc: URL of requests has changed now
2022-03-27 16:21:03 +09:00
Takeshi KOMIYA
7ffc606e0c
doc: URL of requests has changed now
2022-03-27 16:13:15 +09:00
Takeshi KOMIYA
c6230dc4db
extlinks: Disable hardcoded links detector by default (refs: #10126 )
...
The hardcoded links detector added since 4.4.0 causes troubles in many
projects. Therefore, this disables it by default, and adds a new
configuration `extlinks_detect_hardcoded_links` to enable it explicitly.
2022-03-27 15:22:11 +09:00
Takeshi KOMIYA
fbdfade068
doc: Use :pep: role to refer PEP documents
2022-03-27 01:46:22 +09:00
Hugo van Kemenade
a432bf8c10
Update PEP links in docs
2022-03-24 12:34:05 +02:00
Takeshi KOMIYA
aa1bc83c2a
Merge branch '4.x'
2022-03-19 22:58:15 +09:00
Takeshi KOMIYA
4e9c1017ed
Merge pull request #10260 from hugovk/colour-env-vars
...
Enable FORCE_COLOR and NO_COLOR for terminal colouring
2022-03-17 00:38:57 +09:00
Hugo van Kemenade
cdf9456699
Document NO_COLOR and FORCE_COLOR environment variables
2022-03-13 17:43:22 +02:00
Takeshi KOMIYA
7b55447b7e
Update versionadded to 4.5
2022-03-06 18:47:17 +09:00
Takeshi KOMIYA
fa63db8dc6
Update versionadded to 4.5
2022-03-06 18:47:11 +09:00
Takeshi KOMIYA
08f5d97a82
Fix #10223 : doc: Add descriptions of :module: option for python directives
2022-03-06 16:10:40 +09:00
Carlton Gibson
3de086fb35
Fixed typo.
...
Should read `…an info field list…`, rather than ``…a info field list…`.
2022-02-23 20:29:50 +01:00
Takeshi KOMIYA
f72cd83e4d
Merge branch '4.x'
2022-02-19 16:08:05 +09:00
Jean Abou Samra
94d78d8747
Close #3985 : Implement #noqa for i18n
...
When cross-references in the original paragraph and the translated
paragraph do not match, a warning is emitted. It is useful, because
it allows to catch mistakes, but it can also be an annoyance since
sometimes it is expected that the cross-references will not match.
For example, a reference that is repeated in the original text may
need to be factored out for good style in the target language.
Another example: if the translator needs to translate a universally
understood term in the source language into a term that not everyone
knows is the translation of this original term, adding a reference to
the glossary can be warranted. This allows the translated message to
start with '#noqa' in order to disable the warning.
2022-02-15 19:51:06 +01:00
Takeshi KOMIYA
1cb5a3b5fa
Merge commit '799385f5558a888d1a143bf703d06b66d6717fe4'
2022-02-16 00:25:53 +09:00
Jean Abou Samra
dfcb5d2f4c
Categorize warnings for inconsistent references in i18n
...
This allows suppressing them using the suppress_warnings configuration
variable.
2022-02-15 14:32:22 +01:00
Takeshi KOMIYA
8b23f6db12
Merge commit '07110b7557a552ecfe702bdd6a2d2f9685cb1af9'
2022-02-14 03:03:40 +09:00
Takeshi KOMIYA
d7c6fa853c
Merge commit '2be06309518d9401a42880bb5b4321dfdd1e5e90'
2022-02-14 03:02:31 +09:00
Takeshi KOMIYA
8224f6f44a
Fix #10181 : napoleon_use_ivar adds unexpected prefix to vars
...
Since 4.0, :ivar: items has not been rendered as hyperlinks. So any
modules, classes and tilda are now harmful. This removes the prefixing
filter for napoleon_use_ivar option.
refs: #5129 and #5977
2022-02-12 00:50:56 +09:00
Daniel Townsend
bcb0a03f92
setup -> set up
2022-02-10 17:44:18 +00:00
Daniel Townsend
03c8ceb85f
improve grammar in theming.rst
2022-02-08 13:05:18 +00:00
Takeshi KOMIYA
680417a10d
Merge pull request #10150 from tk0miya/10146_autodoc_default_options_should_support_no-value
...
Close #10146 : autodoc: autodoc_default_options does not support `no-value` option
2022-02-06 15:59:24 +09:00
Takeshi KOMIYA
7469096e0a
Update doc/usage/extensions/autodoc.rst
2022-02-06 15:30:54 +09:00
Noah Sprent
25c4287da5
Remove commas when describing characters for section headings
2022-02-02 10:52:06 +01:00
Adam Turner
3b01fbe2ad
Drop JavaScript Frameworks ( #10028 )
...
* Delete jQuery and underscore.js
* Move underscores.js setup to searchtools.js
* Update jQuery.url(en|de)code
* Update jQuery.getQueryParameters
* Firefox bug is no longer present
xref https://bugzilla.mozilla.org/show_bug.cgi?id=645075#c49
* Update jQuery.fn.highlightText
* Use enum instead of magic number
* Update test descriptions to remove obsolete jQuery reference
* Update Documentation.getCurrentURL
* Revert accidental fix of Documentation.getCurrentURL
* Update Documentation.initOnKeyListeners
* Update Documentation.hideSearchWords
* Update Documentation.highlightSearchWords
* Update Documentation.initDomainIndexTable
* Use arrow functions and const
* Replace $(document).ready
* Strict mode
* Move Documentation.hideSearchWords next to Documentation.highlightSearchWords
* Update translation functions in Documentation
* Replace $(document).ready in searchtools.js
* Update Scorer
* Update Search.hasIndex, Search.deferQuery, Search.stopPulse
* Prefer window.location
* Update Search.init
* Update Search.loadIndex
* Update Search.setIndex
* Update Search.startPulse
* Add _escapeRegExp
* Update Search.makeSearchSummary
* Update Search.htmlToText
* Update Search.performSearch
* Factor out _displayNextItem
* Update Search.query
* Update Search.performObjectSearch
* Update Search.performTermsSearch
* Remove underscores.js setup
* Use Sets
* Update test configuration
* Fix test failures
* Drop unused make/get URL functions
* Strict mode in searchtools.js
* Remove outmoded check for jQuery and underscore.js
* Ran prettier
prettier --print-width 120 --no-semi --quote-props as-needed --no-bracket-spacing --arrow-parens avoid --write sphinx/themes/basic/static
* Remove more references to jQuery and underscore.js
* Remove jQuery and underscore.js licences
* Update classic theme for no jQuery
* Update all other themes for no jQuery
* Restore jQuery & underscores.js to Sphinx themes
Enables a more gradual deprecation
* Added deprecation note to CHANGES
* Run prettier with defaults
* Update deprecation message to include extensions, note that sources must be copied
* oops
* Address Pradyun's feedback
* Forgot this one
* `let` doesn't work, as it is scoped to the block...
* Remove missed jQuery in sphinx13 theme
2022-01-30 20:27:12 +01:00