Skip to content

Commit

Permalink
Docs - Fix build (#445)
Browse files Browse the repository at this point in the history
* * Replaced imported account module stronghold example with basic example.
* Removed reference to deleted account module examples
* Added test action to catch future include issues

* testing action

* removed action as I wasn't being successful at all

* Added combined examples as suggested by @cycraig
  • Loading branch information
lucas-tortora authored Oct 21, 2021
1 parent adcc1bb commit 7ade746
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ import TabItem from '@theme/TabItem';
import CodeBlock from '@theme/CodeBlock';
import private_tangle_js from '!!raw-loader!./../../../bindings/wasm/examples/src/private_tangle.js';
import private_tangle_rs from '!!raw-loader!./../../../examples/low-level-api/private_tangle.rs';
import account_private_tangle_rs from '!!raw-loader!./../../../examples/account/private_tangle.rs';
import account_private_tangle_rs from '!!raw-loader!./../../../examples/account/config.rs';

## Example

Expand Down
2 changes: 1 addition & 1 deletion documentation/docs/decentralized_identifiers/secure.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ title: Secure DIDs
sidebar_label: Secure
---

import account_stronghold_rs from '!!raw-loader!../../../examples/account/stronghold.rs';
import account_stronghold_rs from '!!raw-loader!../../../examples/account/create_did.rs';
import CodeBlock from '@theme/CodeBlock';

TODO: Stronghold
Expand Down
2 changes: 1 addition & 1 deletion documentation/docs/decentralized_identifiers/update.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ import TabItem from '@theme/TabItem';
import CodeBlock from '@theme/CodeBlock';
import manipulate_did_js from '!!raw-loader!../../../bindings/wasm/examples/src/manipulate_did.js';
import manipulate_did_rs from '!!raw-loader!../../../examples/low-level-api/manipulate_did.rs';
import account_manipulate_did_rs from '!!raw-loader!../../../examples/account/methods.rs';
import account_manipulate_did_rs from '!!raw-loader!../../../examples/account/manipulate_did.rs';


TODO: Explain how DID Documents can be manipulated and how updates should be published.
Expand Down
2 changes: 1 addition & 1 deletion documentation/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,6 @@
"node": ">=14.14.0"
},
"dependencies": {
"iota-wiki-cli": "git+https://github.com/iota-community/iota-wiki-cli.git#v1.0.1"
"iota-wiki-cli": "git+https://github.com/iota-community/iota-wiki-cli.git#v1.4.1"
}
}

0 comments on commit 7ade746

Please sign in to comment.