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

Lack of Documentation #14

Closed
flexchar opened this issue Jan 6, 2020 · 5 comments
Closed

Lack of Documentation #14

flexchar opened this issue Jan 6, 2020 · 5 comments

Comments

@flexchar
Copy link
Contributor

flexchar commented Jan 6, 2020

No offense but guys you don't have any documentation. List of method signatures on the README file are nearly pointless without actual examples or at least method definitions.

@sitereactor
Copy link
Contributor

Hi @flexchar we do have a fair amount of documentation on our.umbraco.com/documentation/ but I do realize that its not actually linked to from anywhere in this repository. We will get that updated.

You can find API Documentation for all endpoints in both the Content Delivery and Content Management APIs here:
https://our.umbraco.com/documentation/Umbraco-Heartcore/API-Documentation/

But what you are asking for is usage documentation for the client library itself, right?

@flexchar
Copy link
Contributor Author

flexchar commented Jan 7, 2020

I have seen these resources. However I don't find them particularly useful if I am onto using the official client. Which I believe should have at least method definitions for parameters.

Ideally examples on how to use particular method and what data to provide. Now it is merely a list of signatures on your client.

I will shamelessly share (I am not affiliated but happy customer) Sanity Client as an example. Sanity is another powerful headless CMS. https://www.npmjs.com/package/@sanity/client

If you would have docs like that, it would ease the process by a lot. :)

@flexchar
Copy link
Contributor Author

If you have tests, please publish the code. That would on its own provide quite decent insight 💡

@sitereactor
Copy link
Contributor

Thanks for the feedback!
We have scheduled some initial work around getting better docs in place for this nodejs client library, so we should soon be able to publish some better docs.

I will update this thread when the first iteration is published.

@sitereactor
Copy link
Contributor

@flexchar This has now been addressed by #17 which was just merged. The README file is updated with details. For now you will need to generate the documentation from the repository, but we are working on getting it added to the Umbraco Heartcore documentation on https://our.umbraco.com/documentation/Umbraco-Heartcore/

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

No branches or pull requests

2 participants