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.
- Install node.js and yarn
- Clone this repository to your local environment
- If you are behind company proxy, follow instructions from this site to configure your lcoal environment properly.
- Configure the environment using pre-defined configurations.
$ cd website
$ yarn
Modify files and launch local web server to verify the changes.
- Modify source files
- Check Website locally
$ 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/
- Git commit & git push to your forked repository
- Make a pull request
Website (https://personium.io)
Update website/static/
News (https://personium.io/blog/)
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/ |