Skip to content

Commit

Permalink
Merge pull request #1052 from aeternity/feature/build-docs-automatically
Browse files Browse the repository at this point in the history
Build docs automatically using Travis
  • Loading branch information
mradkov authored Oct 26, 2020
2 parents 139ff8a + 7c935a2 commit 6475357
Show file tree
Hide file tree
Showing 54 changed files with 25 additions and 6,533 deletions.
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@ node_modules
.tern-project
.dir-locals.el
/dist
/docs/api*
/docs/examples
/.envrc
/yarn-error.log
.idea
Expand Down
10 changes: 10 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,16 @@ jobs:
- npm run build
- npm run test:unit
- npm run report-coverage
- npm run docs:docco
- npm run docs:api
deploy:
- provider: pages
skip_cleanup: true
github_token: $GITHUB_TOKEN
keep_history: true
local_dir: docs
on:
branch: develop
- stage: Integration tests
name: Channel, accounts
script:
Expand Down
9 changes: 7 additions & 2 deletions docs/README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,7 @@
# Guides
# JavaScript SDK Documentation

## ⚠️ Disclaimer
We're doing our best to keep the documentation up to date, but [please let us know if you see some out-of-date file](https://github.com/aeternity/aepp-sdk-js/issues/new). Thanks!

## Intro
There are three different ways of incorporating aepp-sdk-js into your project, depending on the particular scenario:
Expand Down Expand Up @@ -55,5 +58,7 @@ You can use this URL with any releasee on [npmjs](https://www.npmjs.com/package/
- [How to build Wallet app/extension](guides/how-to-build-an-wallet-app-or-extension.md)
- [How to build Aepp](guides/how-to-build-aepp-using-new-wallet-api.md)

## [API Reference](api.md)

## Examples
Check out our [Examples](../examples/README.md) for more.
Check out our [Examples](examples/README.md) for more.
45 changes: 0 additions & 45 deletions docs/api.md

This file was deleted.

2 changes: 0 additions & 2 deletions docs/api/README.md

This file was deleted.

117 changes: 0 additions & 117 deletions docs/api/account.md

This file was deleted.

24 changes: 0 additions & 24 deletions docs/api/account/memory.md

This file was deleted.

50 changes: 0 additions & 50 deletions docs/api/account/selector.md

This file was deleted.

106 changes: 0 additions & 106 deletions docs/api/accounts.md

This file was deleted.

Loading

0 comments on commit 6475357

Please sign in to comment.