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

add build-pages package & modify #include #18

Merged
merged 2 commits into from
Nov 30, 2019
Merged

add build-pages package & modify #include #18

merged 2 commits into from
Nov 30, 2019

Conversation

tsutaj
Copy link
Contributor

@tsutaj tsutaj commented Nov 29, 2019

  • build-pages.py を実装しました
    • 他の既存のどのファイルが変更あってもよいように、既存ファイル (特に test.sh) はまだ内部で使用していません (今後使う可能性はあります)
    • タグは @command ... の形も #define COMMAND "..." 形も両方対応させました
    • 対応している拡張子は .(cpp|hpp|cc) および .test.(cpp|hpp|cc) です
    • cache をどうするかについてはまだ議論中のようなので、verify 済みであるかどうかを判定するパートの実装はまだしていません (verify 済みかの判定は cache に依存する予定なので)
    • 仕様でわからないところあったら聞いてください!
  • example にあるファイルの #include まわりを直しました
    • 相対パスがあっていないようです・・・?

@tsutaj
Copy link
Contributor Author

tsutaj commented Nov 29, 2019

python3 build-pages.py と実行すると、このリポジトリ内にあるファイルが Markdown および HTML になる、はずです

@tsutaj
Copy link
Contributor Author

tsutaj commented Nov 29, 2019

コピーボタンの balloon 部の実装はこれを使っているので、収録するときはライセンス表記が必要そう https://urin.github.io/jquery.balloon.js/

@tsutaj
Copy link
Contributor Author

tsutaj commented Nov 29, 2019

カテゴリ機能足しました (@category が同じもの同士で見出しを分けて一覧を作ります、@category は特に指定がない場合ディレクトリ名になります)

GitHub Pages (Jekyll) の場合、絵文字は _config.yml にて以下のように設定すれば表示されます

plugins:
  - jemoji

demo: https://tsutaj.github.io/cpp_library/index.html

@kmyk
Copy link
Member

kmyk commented Nov 30, 2019

👍 👍 👍
動作確認はしてないですがとりあえずマージします

@kmyk kmyk merged commit a0ccd25 into online-judge-tools:master Nov 30, 2019
@kmyk
Copy link
Member

kmyk commented Nov 30, 2019

コメント

@kmyk kmyk mentioned this pull request Nov 30, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants