Skip to content

Commit

Permalink
docs(v2): i18n doc + polish (#4014)
Browse files Browse the repository at this point in the history
* add some initial i18n doc

* i18n doc progress

* i18n tutorial progress

* i18n tutorial progress

* polish Crowdin docs

* i18n sidebar in guides

* polish crowdin doc

* update Crowdin doc a bit

* fix annoying relative link to global site resource in template (breaks i18n tutorial)

* template: use simpler export for homepage

* add markdown page example

* rename mdx.md to interactiveDoc.mdx

* update bootstrap/facebook templates too

* sync init template package scripts

* add slug frontmatter doc

* improve i18n doc

* complete i18n doc

* temporarily enable the localeDropdown

* doc typo

* improve the i18n doc

* Add Git i18n doc

* add missing "--" for npm run options (unfortunately they don't get stripped by npm2yarn, and are required foor npm)

* improve a bit the Crowdin doc
  • Loading branch information
slorber committed Jan 19, 2021
1 parent ed54c59 commit 61cd834
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions src/pages/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ function Feature({imageUrl, title, description}) {
);
}

function Home() {
export default function Home() {
const context = useDocusaurusContext();
const {siteConfig = {}} = context;
return (
Expand Down Expand Up @@ -93,5 +93,3 @@ function Home() {
</Layout>
);
}

export default Home;

0 comments on commit 61cd834

Please sign in to comment.