Skip to content

Commit

Permalink
META: Add note on docstring source locations
Browse files Browse the repository at this point in the history
  • Loading branch information
ebolyen committed Jul 2, 2024
1 parent 3f69339 commit 61fb69b
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions book/docs/developer-documentation.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,3 +7,9 @@ Contributions from others are welcomed and acknowledged via the project's [GitHu
At the moment, while we're still laying the groundwork, we're accepting only [specific contributions](https://github.com/caporaso-lab/developing-with-qiime2/labels/help%20wanted).

If you have suggestions or feedback [we'd love to hear from you](https://github.com/caporaso-lab/developing-with-qiime2/issues).


## Finding docstring sources

For API documentation, the source of documentation for code entities will be defined by their respective docstrings.
In many cases, the linkcode extension will provide a link (via ``[source]``) to the source code of these entities. However in certain cases, (such as plugin types), autodoc can only find docstrings at the provided module path (and linkcode is unable to resolve a source). This means that these docstrings will be found in ``qiime2/plugin/__init__.py`` (or wherever the module provided to autodoc indicates).

0 comments on commit 61fb69b

Please sign in to comment.