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 from docs.mollie.com #195

Merged
merged 3 commits into from
Jan 29, 2021
Merged

Conversation

Pimm
Copy link
Collaborator

@Pimm Pimm commented Jan 25, 2021

I copied documentation from docs.mollie.com into the source code using my new experimental tool atsee.

Before this pull request, this library had some of the documentation on docs.mollie.com copied into the source code by hand, while some methods/properties were "naked": lacking any documentation.

Naked methods/properties are unfortunate, as developers might have to take a trip out of their IDE to look something up. However, copying over documentation by hand has the risk of the copy in the source code becoming outdated. (Copying over things by hand is not being a particularly fun chore, either).

This might be a healthy compromise. The copied-over documentation should improve the user experience, while the automation of the copying process makes it easy to keep the source code in sync with docs.mollie.com.

@Pimm Pimm marked this pull request as ready for review January 28, 2021 12:58
Copy link
Collaborator

@edorivai edorivai left a comment

Choose a reason for hiding this comment

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

This is really good stuff!

I am currently experimenting with a tool which finds the documentation on docs.mollie.com referenced by @see-lines in the source code, and then injects that documentation.
@Pimm Pimm merged commit 05078d6 into master Jan 29, 2021
@Pimm Pimm deleted the pimm/documentation-copy branch January 29, 2021 17:55
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.

2 participants