This website is built using Docusaurus 2, a modern static website generator.
1、saasus-dev-envリポジトリのディレクトリへ移動
cd saasus-dev-env
2、saasus-platform-documentリポジトリをcloneする
git clone git@github.com:Anti-Pattern-Inc/saasus-platform-document.git
3、リポジトリに移動
cd saasus-platform-document
4、apiのymlファイルをコピーしてくる
sh copy.sh
5、コンテナを立ち上げる
docker-compose up -d
6、コンテナへ入って、npm installを実行
docker exec -it {コンテナID} bash
/usr/src/app# npm install
7、開発サーバー立ち上げ、localhost:3000でアクセスできる
npm run start -- --host 0.0.0.0
※ この手順は、変更内容を自動で反映させたい場合に利用してください
Roo Codeのプロンプトで
i18n/ja/docusaurus-plugin-content-docs/current/
配下で新規作成、修正されているファイルを対象として
英語版とバージョン1.11(英語、日本語)に反映して
方法は以下を参考にして
.clinerules/document-management-guide.md
とすることで、修正内容を最新バージョンと英語版に反映させることが出来ます
$ npm run build
This command generates static content into the build directory and can be served using any static contents hosting service.
Using SSH:
$ USE_SSH=true npm run deploy
Not using SSH:
$ GIT_USER=<Your GitHub username> npm run deploy
If you are using GitHub pages for hosting, this command is a convenient way to build the website and push to the gh-pages branch.