1
1
mirror of https://github.com/kokonect-link/cherrypick synced 2024-11-01 23:55:58 +09:00
cherrypick/CONTRIBUTING.md

75 lines
1.8 KiB
Markdown
Raw Normal View History

2017-03-31 01:11:38 +09:00
# Contribution guide
2018-09-01 18:02:04 +09:00
:v: Thanks for your contributions :v:
2017-03-26 21:32:19 +09:00
2018-09-01 18:02:04 +09:00
## Issues
Feature suggestions and bug reports are filed in https://github.com/syuilo/misskey/issues .
Before creating a new issue, please search existing issues to avoid duplication.
If you find the existing issue, please add your reaction or comment to the issue.
2017-03-26 21:32:19 +09:00
2018-09-01 18:02:04 +09:00
## Localization (l10n)
2018-09-01 18:15:25 +09:00
Please use [Crowdin](https://crowdin.com/project/misskey) for localization.
2017-03-26 21:32:19 +09:00
2018-09-01 18:15:25 +09:00
![Crowdin](https://d322cqt584bo4o.cloudfront.net/misskey/localized.svg)
2017-03-26 21:32:19 +09:00
2018-11-10 00:47:36 +09:00
## Internationalization (i18n)
Misskey uses [vue-i18n](https://github.com/kazupon/vue-i18n).
2018-09-01 18:02:04 +09:00
## Documentation
* Documents for contributors are located in `/docs`.
* Documents for instance admins are located in `/docs`.
* Documents for end users are located in `src/docs`.
2017-03-26 21:32:19 +09:00
2018-09-01 18:02:04 +09:00
## Test
* Test codes are located in `/test`.
## Continuous integration
2018-11-05 10:52:07 +09:00
Misskey uses CircleCI for automated test.
Configuration files are located in `/.circleci`.
2018-12-20 03:01:02 +09:00
## Glossary
### AP
2018-12-20 03:02:19 +09:00
Stands for _**A**ctivity**P**ub_.
2018-12-20 03:01:02 +09:00
### MFM
2018-12-20 03:02:19 +09:00
Stands for _**M**isskey **F**lavored **M**arkdown_.
2018-12-20 03:01:02 +09:00
### Mk
2018-12-20 03:02:19 +09:00
Stands for _**M**iss**k**ey_.
2018-12-20 03:44:19 +09:00
### SW
Stands for _**S**ervice**W**orker_.
2019-01-24 19:52:00 +09:00
### Nyaize
な を にゃ にすること
#### Denyaize
Nyaizeを解除すること
2019-02-07 14:54:14 +09:00
## Code style
### Don't use `export default`
Bad:
``` ts
export default function(foo: string): string {
```
Good:
``` ts
export function something(foo: string): string {
```
2019-02-08 04:08:25 +09:00
## Directory structure
```
src ... ソースコード
2019-02-08 04:33:15 +09:00
@types ... 外部ライブラリなどの型定義
2019-02-08 04:08:25 +09:00
prelude ... Misskeyに関係ないかつ副作用なし
misc ... 副作用なしのユーティリティ処理
service ... 副作用ありの共通処理
queue ... ジョブキューとジョブ
server ... Webサーバー
client ... クライアント
mfm ... MFM
test ... テスト
```