- Node.js >= v8.0.0
- Yarn
toio-spec adopted Docusaurus as a website generator.
<TBD>
toio-spec/
|- .github/ # github related files (GitHub Action's script).
|- docs/ # All technical documents are here as markdown text.
|- website/ # is for the website and follows the way of Docusaurus.
|
|- .gitignore
|- .prettierrc # prettier configuration
|- .textlintrc # textlint configuration
|- CODE_OF_CONDUCT.md
|- CONTRIBUTING.md
|- LICENSE # describes license information for this repository.
|- README.md
|- package.json
|- prh.yml # Configuration file of 'textlint-rule-prh'
`- yarn.lock
toio-spec is Japanese website and currently only have Japanese contents.
Docusaurus supports multi language documents and English is default one.
To serve Japanese website with Docusaurus, we put some Japanese contents under website/pages/en
.
We are planning to improve this with Docusaurus v2.
cd <project root>
yarn
to install dependencycd website && yarn
to install dependency for website
To check the documents as a website, execute the following command in the website
directory.
yarn start
We use TextLint for linting our documents. Please execute the following command in the project root.
yarn lint
We adopted GitHub Flow. (Only release process is customized.)
- simple workflow
- main branch is always stable and releasable
- human readable branch name
- merge main branch via PR
By contributing to toio-spec, you agree that your contributions will be licensed as follows:
- CC BY 4.0 for the documents (mainly under
docs/
directory) - CC BY-ND 4.0 for the image files (mainly under
docs/assets
andwebsite/static/img
) - MIT license for the other contributions
Please see LICENSE file for details.