Skip to main content

Site structure

documents

Inheriting sphinx markdown

It is inherited from the previous sphinx and previous hugo markdown articles.

/docs/**/*.md

pages

/

React

/src/pages/index.ts

/showcase/

VRM-enabled applications

React

/src/pages/showcase/index.tsx /src/data/tags.tsx /src/data/users.tsx

customize

The language switching menu has been modified.

Swizzling | Docusaurus

https://github.com/vrm-c/vrm.dev/blob/master/src/theme/NavbarItem/LocaleDropdownNavbarItem/index.js

meta

info

check English translation

title

hard coding

  • /src/pages/index.tsx
`${metaTitle} | ${config.title} `;
  • /docusaurus.config.ts

(template)

description

hard coding

  • /src/pages/index.tsx

image

https://docusaurus.io/docs/api/themes/configuration#meta-image

docusaurus.config.js
epport default {
themeConfig: {
image: 'img/docusaurus.png',
}
}