-
-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'main' into dependabot/maven/org.apache.maven.plugins-ma…
…ven-surefire-plugin-3.3.0
- Loading branch information
Showing
29 changed files
with
3,620 additions
and
263 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,85 @@ | ||
|
||
import type { DefaultTheme } from 'vitepress' | ||
|
||
|
||
const guideGroupItems: DefaultTheme.NavItem[] = [ | ||
{ | ||
text: 'Introduction', | ||
link: '/guide/introduction' | ||
}, | ||
{ | ||
text: 'Installation', | ||
link: '/guide/installation' | ||
}, | ||
{ | ||
text: 'Basic Usage', | ||
link: '/guide/basic-usage' | ||
} | ||
] | ||
|
||
const examplesItems: DefaultTheme.NavItem[] = [ | ||
{ | ||
text: 'Translator', | ||
link: '/examples/#translator' | ||
}, | ||
{ | ||
text: 'Detect', | ||
link: '/examples/#detect' | ||
}, | ||
{ | ||
text: 'Translate JSON', | ||
link: '/examples/#json' | ||
} | ||
] | ||
|
||
const essentialItems: DefaultTheme.NavItem[] = [ | ||
{ | ||
text: 'Completable Futures', | ||
link: '/essential/completable-futures' | ||
}, | ||
{ | ||
text: 'Optionals', | ||
link: '/essential/optionals' | ||
}, | ||
{ | ||
text: 'Error Handling', | ||
link: '/essential/error-handling' | ||
}, | ||
{ | ||
text: 'Logging', | ||
link: '/essential/logging' | ||
} | ||
] | ||
|
||
const azureItems: DefaultTheme.NavItem[] = [ | ||
{ | ||
text: 'Azure Subscription', | ||
link: '/guide/azure-subscription' | ||
}, | ||
{ | ||
text: 'Available Languages', | ||
link: '/azure-reference/languages' | ||
}, | ||
{ | ||
text: 'Error Reference', | ||
link: '/error-reference/' | ||
} | ||
] | ||
|
||
const advancedItems: DefaultTheme.NavItem[] = [ | ||
{ | ||
text: 'Threading', | ||
link: '/advanced/threading' | ||
}, | ||
{ | ||
text: 'Caching', | ||
link: '/advanced/caching' | ||
} | ||
] | ||
export const sidebar: DefaultTheme.Sidebar = [ | ||
{ text: 'Guide', items: guideGroupItems }, | ||
{ text: 'Essential Knowledge', collapsed: true, items: essentialItems }, | ||
{ text: 'Examples', collapsed: true, items: examplesItems }, | ||
{ text: 'Advanced Usage', collapsed: true, items: advancedItems }, | ||
{ text: 'Azure Reference', collapsed: true, items: azureItems }, | ||
] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,13 +1,13 @@ | ||
{ | ||
"name": "at4j-docs", | ||
"version": "1.0.0", | ||
"version": "1.2.0", | ||
"description": "Azure Translator for Java docs", | ||
"scripts": { | ||
"dev": "vitepress dev", | ||
"build": "vitepress build", | ||
"preview": "vitepress preview" | ||
}, | ||
"dependencies": { | ||
"vitepress-carbon": "^1.3.1" | ||
"vitepress-carbon": "^1.3.2" | ||
} | ||
} |
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.