Skip to content
New issue

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

[Documentation]: add workflow to test that code in documentation runs #503

Open
2 tasks done
stephprince opened this issue Sep 4, 2024 · 1 comment
Open
2 tasks done
Assignees
Labels
topic: docs issues related to documentation

Comments

@stephprince
Copy link
Contributor

What would you like changed or added to the documentation and why?

It would be helpful to add a workflow that tests that all the code in the documentation runs successfully.

I'm not sure the best way to do this - maybe using sphinx doctest?

Do you have any interest in helping write or edit the documentation?

Yes.

Code of Conduct

@stephprince stephprince added the topic: docs issues related to documentation label Sep 4, 2024
@stephprince stephprince self-assigned this Sep 4, 2024
@CodyCBakerPhD
Copy link
Contributor

Doctest is what we use on NeuroConv - example: https://github.com/catalystneuro/neuroconv/blob/main/docs/conversion_examples_gallery/behavior/audio.rst?plain=1

PyNWB does a fancier notebook type approach with Python files - example: https://github.com/NeurodataWithoutBorders/pynwb/blob/dev/docs/gallery/domain/ophys.py

Which takes a lot more setup but might stylistically work better. Whichever you prefer

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
topic: docs issues related to documentation
Projects
None yet
Development

No branches or pull requests

2 participants