deluge/docs/source
Calum Lind 62a4052178
[Docs] Remove custom mock to fix autodoc typing errors
If a libtorrent return type was specified e.g.

   def get_lt_status(self) -> 'lt.torrent_status'

Even as a string autodoc_typehints module would raise and error:

    Handler <function process_docstring at 0x7f6c16c8ec10> for event 'autodoc-process-docstring' threw an exception (exception: getattr(): attribute name must be string)

This was a result of using a custom mock in Sphinx autodoc config and
this Mock object name or qualname returns an object instead of str.

Testing with putting modules in autodoc_mock_imports again showed no
issues so removing custom mock

Ref: https://github.com/tox-dev/sphinx-autodoc-typehints/issues/220
2022-02-15 11:49:54 +00:00
..
contributing [Docs] Replace recommonmark with MyST parser 2021-12-12 18:16:21 +00:00
devguide Upgrade codebase with pyupgrade (>=py3.6) 2021-12-29 21:51:07 +00:00
how-to [Docs] Replace recommonmark with MyST parser 2021-12-12 18:16:21 +00:00
intro [Docs] Add Flatpak install links 2021-12-12 18:39:41 +00:00
modules [Docs] Reorganise and add sections from wiki 2018-11-01 17:38:10 +00:00
reference [Docs] Add spellchecking with pyenchant 2019-06-15 21:06:27 +01:00
releases [Docs] Replace recommonmark with MyST parser 2021-12-12 18:16:21 +00:00
changelog.md [Docs] Fix changlog symlink and markdown issue 2019-11-12 15:37:12 +00:00
conf.py [Docs] Remove custom mock to fix autodoc typing errors 2022-02-15 11:49:54 +00:00
depends.md [Docs] Update install guide 2021-12-12 18:27:05 +00:00
index.rst [Docs] Add release notes and update pages 2019-06-08 16:42:25 +01:00