We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
In the docstrings of the code or in Rst files in docs/ directory you can have code examples.
To make sure those examples actually work they can be reformatted into test snippets and run using a Sphinx extension (https://www.sphinx-doc.org/en/master/usage/extensions/doctest.html) or with Pytest plugin (https://github.com/Erotemic/xdoctest#using-the-pytest-interface).
For example in matchms the Sphinx build also runs the doc tests at https://github.com/matchms/matchms/blob/5497b7363af1d555b8d1ab0162e01458ac7fbf53/.github/workflows/CI_build.yml#L129
The text was updated successfully, but these errors were encountered:
done in #287
Sorry, something went wrong.
Run by doctest in CI or README.dev.md
sverhoeven
No branches or pull requests
In the docstrings of the code or in Rst files in docs/ directory you can have code examples.
To make sure those examples actually work they can be reformatted into test snippets and run using a Sphinx extension (https://www.sphinx-doc.org/en/master/usage/extensions/doctest.html) or with Pytest plugin (https://github.com/Erotemic/xdoctest#using-the-pytest-interface).
For example in matchms the Sphinx build also runs the doc tests at https://github.com/matchms/matchms/blob/5497b7363af1d555b8d1ab0162e01458ac7fbf53/.github/workflows/CI_build.yml#L129
The text was updated successfully, but these errors were encountered: