Skip to content
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: 4 additions & 2 deletions .github/workflows/deploy-to-gh-pages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,8 +38,10 @@ jobs:
sed -i 's/defaultLocale: '\''zh'\''/defaultLocale: '\''en'\''/' docusaurus.config.js

# Uncomment and update Algolia search path for GitHub Pages deployment
sed -i '/replaceSearchResultPathname: {/,/},/ s/^ \/\/ / /' docusaurus.config.js
sed -i 's|from: '\''/docs/'\''|from: '\''/en/'\''|' docusaurus.config.js
sed -i '/{ type: '\''localeDropdown'\'', position: '\''right'\'' }/d' docusaurus.config.js
sed -i -e "s/defaultLocale: 'zh'/defaultLocale: 'en'/" -e "s/locales: \['zh', 'en'\]/locales: \['en'\]/" -e 's|coscene.cn|coscene.io|g' docusaurus.config.js
find docs blog src i18n -type f \( -name "*.md" -o -name "*.mdx" -o -name "*.js" -o -name "*.ts" -name "*.tsx" -o -name "*.json" \) -exec sed -i -e 's|https://coscene.cn|https://portal.coscene.io|g' {} +
find docs blog src i18n -type f \( -name "*.md" -o -name "*.mdx" -o -name "*.js" -o -name "*.ts" -name "*.tsx" -o -name "*.json" \) -exec sed -i -e 's|coscene.cn|coscene.io|g' {} +

pnpm build
echo "docs.coscene.io" > ./build/CNAME
Expand Down
10 changes: 0 additions & 10 deletions docs/client-apps/_category_.json

This file was deleted.

9 changes: 0 additions & 9 deletions docs/client-apps/_coStudio/1-intro-to-studio.md

This file was deleted.

23 changes: 0 additions & 23 deletions docs/client-apps/_coStudio/2-install-studio.md

This file was deleted.

17 changes: 0 additions & 17 deletions docs/client-apps/_coStudio/3-login-to-studio.md

This file was deleted.

23 changes: 0 additions & 23 deletions docs/client-apps/_coStudio/4-config-studio.md

This file was deleted.

29 changes: 0 additions & 29 deletions docs/client-apps/_coStudio/5-upload-file.md

This file was deleted.

33 changes: 0 additions & 33 deletions docs/client-apps/_coStudio/6-modify.md

This file was deleted.

8 changes: 0 additions & 8 deletions docs/client-apps/_coStudio/_category_.json

This file was deleted.

5 changes: 1 addition & 4 deletions docusaurus.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -100,10 +100,7 @@ const config = {
label: '文档',
},
{ to: '/changelog', label: '更新历史', position: 'left' },
{
type: 'localeDropdown',
position: 'right',
},
{ type: 'localeDropdown', position: 'right' },
{ href: 'https://www.coscene.cn', label: '官方网站', position: 'right' },
{ href: 'https://github.com/coscene-io', label: 'GitHub', position: 'right' },
{
Expand Down

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.