5
0
mirror of https://github.com/wailsapp/wails.git synced 2025-05-02 00:21:50 +08:00

fix(website): fix link (#1785)

This commit is contained in:
Misite Bao 2022-08-24 04:22:48 +08:00 committed by GitHub
parent 18dae3c5f0
commit 5f7a413cf3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 117 additions and 71 deletions

View File

@ -146,7 +146,7 @@ const config = {
position: "right",
dropdownItemsAfter: [
{
to: "/contributing/documenting",
to: "/community-guide#documenting",
label: "Help Us Translate ❤",
},
],

View File

@ -299,5 +299,117 @@
"theme.CodeBlock.wordWrapToggle": {
"message": "Toggle word wrap",
"description": "The title attribute for toggle word wrapping button of code block lines"
},
"theme.admonition.note": {
"message": "note",
"description": "The default label used for the Note admonition (:::note)"
},
"theme.admonition.tip": {
"message": "tip",
"description": "The default label used for the Tip admonition (:::tip)"
},
"theme.admonition.danger": {
"message": "danger",
"description": "The default label used for the Danger admonition (:::danger)"
},
"theme.admonition.info": {
"message": "info",
"description": "The default label used for the Info admonition (:::info)"
},
"theme.admonition.caution": {
"message": "caution",
"description": "The default label used for the Caution admonition (:::caution)"
},
"theme.SearchModal.searchBox.resetButtonTitle": {
"message": "Clear the query",
"description": "The label and ARIA label for search box reset button"
},
"theme.SearchModal.searchBox.cancelButtonText": {
"message": "Cancel",
"description": "The label and ARIA label for search box cancel button"
},
"theme.SearchModal.startScreen.recentSearchesTitle": {
"message": "Recent",
"description": "The title for recent searches"
},
"theme.SearchModal.startScreen.noRecentSearchesText": {
"message": "No recent searches",
"description": "The text when no recent searches"
},
"theme.SearchModal.startScreen.saveRecentSearchButtonTitle": {
"message": "Save this search",
"description": "The label for save recent search button"
},
"theme.SearchModal.startScreen.removeRecentSearchButtonTitle": {
"message": "Remove this search from history",
"description": "The label for remove recent search button"
},
"theme.SearchModal.startScreen.favoriteSearchesTitle": {
"message": "Favorite",
"description": "The title for favorite searches"
},
"theme.SearchModal.startScreen.removeFavoriteSearchButtonTitle": {
"message": "Remove this search from favorites",
"description": "The label for remove favorite search button"
},
"theme.SearchModal.errorScreen.titleText": {
"message": "Unable to fetch results",
"description": "The title for error screen of search modal"
},
"theme.SearchModal.errorScreen.helpText": {
"message": "You might want to check your network connection.",
"description": "The help text for error screen of search modal"
},
"theme.SearchModal.footer.selectText": {
"message": "to select",
"description": "The explanatory text of the action for the enter key"
},
"theme.SearchModal.footer.selectKeyAriaLabel": {
"message": "Enter key",
"description": "The ARIA label for the Enter key button that makes the selection"
},
"theme.SearchModal.footer.navigateText": {
"message": "to navigate",
"description": "The explanatory text of the action for the Arrow up and Arrow down key"
},
"theme.SearchModal.footer.navigateUpKeyAriaLabel": {
"message": "Arrow up",
"description": "The ARIA label for the Arrow up key button that makes the navigation"
},
"theme.SearchModal.footer.navigateDownKeyAriaLabel": {
"message": "Arrow down",
"description": "The ARIA label for the Arrow down key button that makes the navigation"
},
"theme.SearchModal.footer.closeText": {
"message": "to close",
"description": "The explanatory text of the action for Escape key"
},
"theme.SearchModal.footer.closeKeyAriaLabel": {
"message": "Escape key",
"description": "The ARIA label for the Escape key button that close the modal"
},
"theme.SearchModal.footer.searchByText": {
"message": "Search by",
"description": "The text explain that the search is making by Algolia"
},
"theme.SearchModal.noResultsScreen.noResultsText": {
"message": "No results for",
"description": "The text explains that there are no results for the following search"
},
"theme.SearchModal.noResultsScreen.suggestedQueryText": {
"message": "Try searching for",
"description": "The text for the suggested query when no results are found for the following search"
},
"theme.SearchModal.noResultsScreen.reportMissingResultsText": {
"message": "Believe this query should return results?",
"description": "The text for the question where the user thinks there are missing results"
},
"theme.SearchModal.noResultsScreen.reportMissingResultsLinkText": {
"message": "Let us know.",
"description": "The text for the link to report missing results"
},
"theme.SearchModal.placeholder": {
"message": "Search docs",
"description": "The placeholder of the input of the DocSearch pop-up modal"
}
}

View File

@ -31,36 +31,8 @@
"message": "Tutorials",
"description": "The label for category Tutorials in sidebar docs"
},
"sidebar.docs.category.Contributing": {
"sidebar.docs.link.Contributing": {
"message": "Contributing",
"description": "The label for category Contributing in sidebar docs"
},
"sidebar.docs.link.Ways of contributing": {
"message": "Ways of contributing",
"description": "The label for link Ways of contributing in sidebar docs, linking to /contributing/ways-of-contributing"
},
"sidebar.docs.link.Setting up a Development Environment": {
"message": "Setting up a Development Environment",
"description": "The label for link Setting up a Development Environment in sidebar docs, linking to /contributing/setting-up-a-dev-environment"
},
"sidebar.docs.link.Developing New Features": {
"message": "Developing New Features",
"description": "The label for link Developing New Features in sidebar docs, linking to /contributing/developing-new-features"
},
"sidebar.docs.link.Fixing Bugs": {
"message": "Fixing Bugs",
"description": "The label for link Fixing Bugs in sidebar docs, linking to /contributing/fixing-bugs"
},
"sidebar.docs.link.Testing": {
"message": "Testing",
"description": "The label for link Testing in sidebar docs, linking to /contributing/testing"
},
"sidebar.docs.link.Documenting": {
"message": "Documenting",
"description": "The label for link Documenting in sidebar docs, linking to /contributing/documenting"
},
"sidebar.docs.link.Helping Others": {
"message": "Helping Others",
"description": "The label for link Helping Others in sidebar docs, linking to /contributing/helping-others"
"description": "The label for link Contributing in sidebar docs, linking to /community-guide#ways-of-contributing"
}
}

View File

@ -17,47 +17,9 @@ const sidebars = {
docs: [
{ type: "autogenerated", dirName: "." },
{
type: "category",
type: "link",
label: "Contributing",
collapsible: true,
collapsed: false,
items: [
{
type: "link",
label: "Ways of contributing",
href: "/contributing/ways-of-contributing",
},
{
type: "link",
label: "Setting up a Development Environment",
href: "/contributing/setting-up-a-dev-environment",
},
{
type: "link",
label: "Developing New Features",
href: "/contributing/developing-new-features",
},
{
type: "link",
label: "Fixing Bugs",
href: "/contributing/fixing-bugs",
},
{
type: "link",
label: "Testing",
href: "/contributing/testing",
},
{
type: "link",
label: "Documenting",
href: "/contributing/documenting",
},
{
type: "link",
label: "Helping Others",
href: "/contributing/helping-others",
},
],
href: "/community-guide#ways-of-contributing",
},
],