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

docs: official document navigation exception #1902

Merged
merged 1 commit into from
Feb 7, 2025
Merged

docs: official document navigation exception #1902

merged 1 commit into from
Feb 7, 2025

Conversation

wang1212
Copy link
Member

@wang1212 wang1212 commented Feb 7, 2025

🤔 This is a ...

  • New feature
  • Bug fix
  • Site / Document optimization
  • TypeScript definition update
  • Refactoring
  • Performance improvement
  • Code style optimization
  • Test Case
  • Branch merge
  • Other (about what?)

🔗 Related issue link

#1901

💡 Background and solution

📝 Changelog

Language Changelog
🇺🇸 English
🇨🇳 Chinese

☑️ Self Check before Merge

  • Doc is updated/provided or not needed
  • Demo is updated/provided or not needed
  • TypeScript definition is updated/provided or not needed
  • Changelog is provided or not needed

Copy link

Walkthrough

This pull request addresses navigation issues in the official documentation by updating the slugs for various sections. The changes aim to improve the user experience by ensuring that links direct users to the correct pages.

Changes

Files Summary
site/.dumirc.ts Updated navigation slugs for 'guide', 'api', and 'plugins' sections to point to more specific paths, enhancing document navigation.

@@ -62,14 +62,14 @@ export default defineConfig({
},
navs: [
{
slug: 'docs/guide',
slug: 'docs/guide/getting-started',

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Updated the slug from 'docs/guide' to 'docs/guide/getting-started' to ensure correct navigation.

title: {
zh: '教程',
en: 'Tutorials',
},
},
{
slug: 'docs/api',
slug: 'docs/api/canvas/intro',

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Updated the slug from 'docs/api' to 'docs/api/canvas/intro' to ensure correct navigation.

@@ -83,7 +83,7 @@ export default defineConfig({
},
},
{
slug: 'docs/plugins',
slug: 'docs/plugins/intro',

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Updated the slug from 'docs/plugins' to 'docs/plugins/intro' to ensure correct navigation.

@wang1212 wang1212 merged commit 95bbcf7 into master Feb 7, 2025
3 checks passed
@wang1212 wang1212 deleted the fix/docs branch February 7, 2025 03:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant