Skip to content

Commit

Permalink
Update docs workflow and plugin + remove static docs
Browse files Browse the repository at this point in the history
  • Loading branch information
Juuddi authored and rileystephens28 committed Jul 3, 2024
1 parent a60a93e commit 421a6d6
Show file tree
Hide file tree
Showing 17 changed files with 4 additions and 885 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/prerelease.yml
Original file line number Diff line number Diff line change
Expand Up @@ -77,10 +77,10 @@ jobs:
- name: generate docs content
run: npx typedoc

- name: Copy generated documentation
- name: Copy generated documentation
run: |
mkdir -p docs-repo/docs/content
cp -r docs/content/* quais-docs/content/
mkdir -p quais-docs/sdk/content
cp -r docs/content/* quais-docs/sdk/content/
cd quais-docs/scripts
node updateNavigation.js
Expand Down
2 changes: 1 addition & 1 deletion docs/plugins/typedoc-plugin-navigation-output.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ export function load(app) {
}
const formattedNavigation = navigation.map((group) => ({
group: group.title,
pages: (group.children || []).map((child) => `content/${child.url.replace('.mdx', '')}`),
pages: (group.children || []).map((child) => `sdk/content/${child.url.replace('.mdx', '')}`),
}));
fs.writeFileSync('./docs/content/navigation.json', JSON.stringify(formattedNavigation, null, 2));
});
Expand Down
100 changes: 0 additions & 100 deletions docs/static/abi.mdx

This file was deleted.

40 changes: 0 additions & 40 deletions docs/static/address.mdx

This file was deleted.

21 changes: 0 additions & 21 deletions docs/static/constants.mdx

This file was deleted.

44 changes: 0 additions & 44 deletions docs/static/contract.mdx

This file was deleted.

31 changes: 0 additions & 31 deletions docs/static/cookbook/react-native.md

This file was deleted.

Loading

0 comments on commit 421a6d6

Please sign in to comment.