Website: https://personium.io
Builded website repository: https://github.com/personium/personium.github.io
path | content |
---|---|
src/ | en docs source |
website/blog/ | blog source |
website/build/ | build output |
website/i18n/ja.json | ja translation for title, sidebar_label and others |
website/static/ | static files for website |
website/translated_docs/ja/ | ja docs source |
website/siteConfig.js | Docusaurus config file |
website/sidebars.json | Sidebars config file |
Personium docs are using Docusaurus. Before update, see it's docs.
Install and configure your local environment.
Only need to perfrom this once.
$ cd website
$ yarn
Modify files and launch local web server to verify the changes.
$ cd website
$ yarn start
Until making stable version, updated docs can be seen in next
version like
https://localhost:3000/new-docs/en/next/README/
Update website/static/
Update website/blog/
Update following.
Main contents:
language | path |
---|---|
en | src/ |
ja | website/translated_docs/ja/ |
Sidebars:
website/sidebars.json
Sidebars label and title:
language | path |
---|---|
en | src/*.md header's title & sidebar_label |
ja | website/i18n/ja.json |
Update following.
language | path |
---|---|
en | src/apiref/ |
ja | website/translated_docs/ja/apiref/ |