-
-
Notifications
You must be signed in to change notification settings - Fork 170
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
Enriching the examples section on readthedocs #443
Comments
I think, adding the examples to a file for them or creating a file for them then allows running Python's doctest on them. So anyone who creates a pull request with an example of how to use icalendar will receive help so that the code is run by the test cases.
I do not have an overview over different kinds of examples that are already there. We do not want to duplicate code if not necessary and also make sure that the existing examples get tested and are where a beginner expects to see them. I would like to see examples in the future also of how to read icalendar files and how to use the command line. |
This runs doctest on .py and rst files. See #443
Having used this library for a recent project of mine I feel the need for this initiative 😄 |
Is there a specific strategy or structure we want with the examples in the docs? |
See also #626 |
The project can be improved with useful examples. The
usage.rst
file contains examples already. However, more examples will improve the clarity. Please use one of the issues mentioned below to extract an example and make a pull request.Issues/tests that contain possible examples:
See Also
doctest
so we can make sure that they are actually working.The text was updated successfully, but these errors were encountered: