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

Add documentation and host it at readthedocs.org #531

Merged
merged 1 commit into from
Sep 7, 2022

Conversation

francoisfreitag
Copy link
Collaborator

@francoisfreitag francoisfreitag commented Sep 1, 2022

The documentation is built with Sphinx, and hosted on readthedocs.org.
The README was stripped to its bare minimum, and now points to the documentation.
Code excerpt are verified with doctest.

Fixes #52
Fixes #152
Refs #224

@francoisfreitag francoisfreitag marked this pull request as draft September 1, 2022 13:33
@francoisfreitag francoisfreitag force-pushed the doc branch 5 times, most recently from 0c1204f to 771902d Compare September 1, 2022 13:53
@francoisfreitag francoisfreitag mentioned this pull request Sep 1, 2022
5 tasks
@francoisfreitag francoisfreitag changed the title Doc Add documentation and host it a readthedocs.org Sep 1, 2022
@francoisfreitag francoisfreitag changed the title Add documentation and host it a readthedocs.org Add documentation and host it at readthedocs.org Sep 1, 2022
@francoisfreitag
Copy link
Collaborator Author

francoisfreitag commented Sep 1, 2022

Can see the builds on my fork, e.g. https://django-phonenumber-field--1.org.readthedocs.build/en/1/

This PR includes the changes from #529, because I had already written the documentation for it. If #529 end up being controversial, I’ll pull its changes out of this PR.

@francoisfreitag francoisfreitag marked this pull request as ready for review September 1, 2022 14:04
@francoisfreitag francoisfreitag force-pushed the doc branch 3 times, most recently from 99cedae to de6eca7 Compare September 4, 2022 19:33
Copy link
Owner

@stefanfoulis stefanfoulis left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

❤️

Documentation is hosted on readthedocs.org, it’s free for public
open-source project and a popular choice.
The Sphinx readthedocs theme was picked for the same reasons.

The code examples are verified with doctest.

Most documentation for the fields live in the code directly, in an
attempt to keep them in sync.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Proper documentation Extra documentation for the use of the widget
2 participants