Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Sphinxのドキュメントを追加 #78

Merged
merged 3 commits into from Aug 7, 2021
Merged

Conversation

drillan
Copy link
Contributor

@drillan drillan commented Aug 7, 2021

以下、Read The Docs側の手順です

Read The Docsにアクセスします

これから登録する場合はGitHubアカウントがおすすめです

https://readthedocs.org

image

「プロジェクトを取り込む」をクリックします

image

「リポジトリをimport」画面で、対象のリポジトリ( MtkN1/pybotters )の右に表示されている「+」をクリックします

image

mainブランチにマージされている場合は「次へ」をクリックします、ブランチを変更する場合には「デフォルトブランチ」にブランチ名を入力します

image

自動的にビルドが開始します、「ビルド」をクリックするとビルド状況が確認できます

image

ビルドが成功していたら、「開く」をクリックすると、デプロイされたドキュメントが表示されます

image

image

@drillan
Copy link
Contributor Author

drillan commented Aug 7, 2021

プロジェクトの情報は docs/conf.py の内容を適宜変更してください

# -- Project information -----------------------------------------------------

project = 'pybotters'
copyright = '2021, MtkN1XBt'
author = 'MtkN1XBt'

@drillan
Copy link
Contributor Author

drillan commented Aug 7, 2021

テーマはよく使われているRead The Docsを利用しています
ほかにもさまざまなテーマが使えます

https://sphinx-themes.org

テーマを変更する場合には docs/conf.pyhtml_theme を変更します

html_theme = 'sphinx_rtd_theme'

@drillan
Copy link
Contributor Author

drillan commented Aug 7, 2021

ローカル環境でHTMLをビルドする場合には下記のコマンドを実行します

cd docs
pip install -r requirements.txt
make html

ビルドが完了すると、 _build/html/index.html からHTMLが確認できます

@MtkN1 MtkN1 self-assigned this Aug 7, 2021
@MtkN1 MtkN1 added the documentation Improvements or additions to documentation label Aug 7, 2021
@MtkN1
Copy link
Member

MtkN1 commented Aug 7, 2021

確認しました。分かりやすい手順までありがとうございます!
Sphinx是非活用させて頂きます🙌

@MtkN1 MtkN1 merged commit 67d8a3c into pybotters:develop Aug 7, 2021
@MtkN1 MtkN1 mentioned this pull request Aug 15, 2021
MtkN1 added a commit that referenced this pull request Aug 15, 2021
✨v0.6.0リリース

## Issues
✅ 対応取引所の追加(Phemex、Coincheck) #52
✅ GMO コインの DataStore を実装する #60
✅ リリース表記をPreview版にする #73
✅ FTXDataStore の orders チャネルにおける close されたオーダーの取り扱いについて #75
✅ DataStoreInterfaceのクラス名を変更する #79
## Pull requests
✅ GMO コイン用の DataStore を一部実装する #74
✅ DataStore のレコード削除メソッドのサンプル実装 #76
✅ DataStore の wait メソッドが変更されたデータを返す実装 #77
✅ Sphinxのドキュメントを追加 #78
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants