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

Added initial documentation and tests #17

Merged
merged 11 commits into from
Jan 17, 2020
Merged

Conversation

rasmusjp
Copy link
Member

This PR contains the initial work of documenting the Public APIs and testing the library

Added the following libraries

I've run ESLint and fixed all errors, there's still a couple left but I've changed them to warnings for now since they are not major problems.

I've also

  • Updated documentation for Content and Media delivery.
  • Moved Content and Media management to classes since @microsoft/api-extractor don`t work that great for nested objects.
  • Added tests for Content Management Client
  • Added examples for creating and updating Content and Media through the Management Client

To test the documentation run

> npm run install
> npm run build
> npm run docs
> npx markserv docs/api

The tests can be run by invoking

> npm run install
> npm run build
> npm run test

@sitereactor
Copy link
Contributor

:shipit:

@sitereactor sitereactor merged commit b521dfa into master Jan 17, 2020
@sitereactor sitereactor deleted the feature/api-documentation branch January 17, 2020 12:32
@sitereactor sitereactor mentioned this pull request Jan 17, 2020
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.

None yet

2 participants