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

Update docs workflow and plugin + remove static docs #247

Merged
merged 1 commit into from
Jul 3, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading