Skip to content

Commit

Permalink
refactor: delete zh (#34)
Browse files Browse the repository at this point in the history
close #34
  • Loading branch information
aahna-ashina committed Jan 31, 2024
1 parent 1e99bea commit 6bde235
Show file tree
Hide file tree
Showing 18 changed files with 0 additions and 577 deletions.
9 changes: 0 additions & 9 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,15 +16,6 @@ $ yarn start

This command starts a local development server and opens up a browser window. Most changes are reflected live without having to restart the server.

### i18n

If you want to start the local development server using a different locale than the default, you can specify the locale in a parameter like this:
```
npm run start -- --locale zh
```

You will then be able to access that locale by appending it to the URL: http://localhost:3000/zh/

### Build

```
Expand Down
9 changes: 0 additions & 9 deletions docusaurus.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -17,11 +17,6 @@ const config = {
projectName: 'wiki', // Usually your repo name.
trailingSlash: true,

i18n: {
defaultLocale: 'en',
locales: ['en', 'zh'],
},

presets: [
[
'@docusaurus/preset-classic',
Expand Down Expand Up @@ -52,10 +47,6 @@ const config = {
src: 'img/icon.svg',
},
items: [
{
type: 'localeDropdown',
position: 'left',
},
{
href: 'https://nation3.org',
label: 'Main site',
Expand Down
186 changes: 0 additions & 186 deletions i18n/zh/code.json

This file was deleted.

14 changes: 0 additions & 14 deletions i18n/zh/docusaurus-plugin-content-docs/current.json

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.

6 changes: 0 additions & 6 deletions i18n/zh/docusaurus-plugin-content-docs/current/DAO/audits.md

This file was deleted.

54 changes: 0 additions & 54 deletions i18n/zh/docusaurus-plugin-content-docs/current/DAO/governance.md

This file was deleted.

Loading

0 comments on commit 6bde235

Please sign in to comment.