Skip to content

Commit

Permalink
update docs lang env
Browse files Browse the repository at this point in the history
  • Loading branch information
shhdgit committed Apr 13, 2022
1 parent 32928f5 commit 28df37b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .env
Original file line number Diff line number Diff line change
@@ -1 +1 @@
LANG=zh
DOCS_LANG=zh
2 changes: 1 addition & 1 deletion docusaurus.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ const config = {
/** @type {import('@docusaurus/preset-classic').Options} */
({
docs: {
path: `docs/${process.env.LANG}`,
path: `docs/${process.env.DOCS_LANG}`,
sidebarPath: require.resolve("./sidebars.js"),
// Please change this to your repo.
editUrl: "https://github.com/shhdgit/clinic-docs/blob/main",
Expand Down

0 comments on commit 28df37b

Please sign in to comment.