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

Enriching the examples section on readthedocs #443

Open
3 of 15 tasks
jacadzaca opened this issue Oct 9, 2022 · 5 comments
Open
3 of 15 tasks

Enriching the examples section on readthedocs #443

jacadzaca opened this issue Oct 9, 2022 · 5 comments
Labels
doc good first issue hacktoberfest Issues for participation in the hacktoberfest https://hacktoberfest.com/

Comments

@jacadzaca
Copy link
Collaborator

jacadzaca commented Oct 9, 2022

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

@niccokunzmann niccokunzmann added good first issue hacktoberfest Issues for participation in the hacktoberfest https://hacktoberfest.com/ labels Oct 9, 2022
@niccokunzmann
Copy link
Member

niccokunzmann commented Oct 9, 2022

Comment removed because the issue is edited.
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.

@abe-101
Copy link
Collaborator

abe-101 commented Dec 19, 2022

Having used this library for a recent project of mine I feel the need for this initiative 😄
and I'm happy to help out

@abe-101
Copy link
Collaborator

abe-101 commented Dec 19, 2022

Is there a specific strategy or structure we want with the examples in the docs?
Or do we want to add any useful (but random) example?

@jacadzaca
Copy link
Collaborator Author

Well, the way I'd go about this issue would be to create a separate Examples section on the website and start putting the examples listed here under different headings. I'd focus on the stuff like #267, #421 or #425 first, random but useful examples (like #85) would also be put up.

@niccokunzmann
Copy link
Member

See also #626

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
doc good first issue hacktoberfest Issues for participation in the hacktoberfest https://hacktoberfest.com/
Projects
None yet
Development

No branches or pull requests

3 participants