Skip to content

Commit

Permalink
Merge pull request #29 from casper-ecosystem/dev/docs-refactor
Browse files Browse the repository at this point in the history
ECO-982 Readme docs url updated
  • Loading branch information
hoffmannjan authored Apr 15, 2021
2 parents a930ecd + 7d2783b commit 2ef49ce
Show file tree
Hide file tree
Showing 5 changed files with 14 additions and 7 deletions.
5 changes: 2 additions & 3 deletions .github/workflows/ci-casper-client-sdk.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,11 +35,10 @@ jobs:
npm test
npm run docs
- name: Deploy Docs 🚀
if: ${{ github.event_name == 'push' }}
uses: JamesIves/[email protected]
with:
TOKEN: ${{ secrets.GITHUB_TOKEN }}
BRANCH: gh-pages # The branch the action should deploy to.
FOLDER: docs/code # The folder that the typedoc generates files.
FOLDER: docs/ # The folder that the typedoc generates files.
CLEAN: true # Automatically remove deleted files from the deploy branch
TARGET_FOLDER: docs/code # The folder that we serve our docs files from

2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,6 @@ node_modules
/dist/
.eslintcache

docs/

.DS_Store
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,12 @@ All notable changes to casper-client-sdk.

The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).

## 1.0.40

### Changed

- New url for docs.

## 1.0.39

### Fixed
Expand Down
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,9 @@
npm install casper-client-sdk --save
```

## Document
## Documentation

You could preview it at [https://casper-ecosystem.github.io/casper-client-sdk-docs/code](https://casper-ecosystem.github.io/casper-client-sdk-docs/code).
Documentation generated from code is available [here](https://casper-ecosystem.github.io/casper-client-sdk/)

## Tests

Expand Down
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "casper-client-sdk",
"version": "1.0.39",
"version": "1.0.40",
"license": "Apache 2.0",
"description": "SDK to interact with the Casper blockchain",
"main": "dist/lib.node.js",
Expand All @@ -15,7 +15,7 @@
"clean": "rm -rf ./dist",
"~build": "tsc --watch",
"test": "TS_NODE_FILES=true mocha -r ts-node/register test/**/*.test.ts",
"docs": "typedoc --out docs/code/ src"
"docs": "typedoc --out docs/ src"
},
"keywords": [
"Casper",
Expand Down

0 comments on commit 2ef49ce

Please sign in to comment.