Skip to content

Conversation

@oprypin
Copy link
Contributor

@oprypin oprypin commented Aug 14, 2022

  • Move plugin events docs into source code + refactor
    • Create real (no-op) methods for each event in the base class.
    • Refactor event dispatcher to not check for methods' existence, instead just call them.
    • Move documentation from Markdown into docstrings of these methods.
    • Activate the 'mkdocstrings' plugin.
    • Use 'mkdocstrings' to insert documentation from those docstrings into the site.
  • Add type annotations for plugin events, include them in the docs
  • Drop py36 integration tests because mkdocstrings is >=3.7

* Create real (no-op) methods for each event in the base class.
* Refactor event dispatcher to not check for methods' existence, instead just call them.
* Move documentation from Markdown into docstrings of these methods.
* Activate the 'mkdocstrings' plugin.
* Use 'mkdocstrings' to insert documentation from those docstrings into the site.
@oprypin oprypin merged commit 70f39d4 into master Aug 15, 2022
@oprypin oprypin deleted the docplug branch August 15, 2022 12:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants