https://github.com/syuilo/misskey
- Install Node.js
- make a new folder
git init
git remote add origin https://github.com/joinmisskey/joinmisskey.github.io.git
git checkout src
npm install
npm install gulp -g
git worktree add docs master; git worktree add pages/ja pages/ja;
gulp prebuild-files
Run whenever you append images.
If you work on a forked repository, you never have to run this command, probably.gulp
gulp local-server
First, folk this repository, set yours as 'origin' on git and set this one as 'upstream'.
cd pages/ja
git checkout -b pages/<languagecode>
git checkout pages/ja
cd ../..
git worktree add pages/<languagecode> pages/<languagecode>
cd pages/<languagecode>
git push --set-upstream origin pages/<languagecode>
cd ../..
- Add the language in these files:
README.md
(l13),.config/lang.json
,theme/pug/includes/_includes_head.pug
. - Commit these changes to your folk.
- Make new issue to ask aqz or syuilo to add a new language.
We will make branch
pages/<languagecode>
- Make pull requests of 2 branches,
pages/<languagecode>
andsrc
.
pages/**/*: Only translation
scripts/**/*: based on source of misskey, under AGPLv3
the others: "maqz" system, under CC0