https://github.com/tatyam-prime/ICPC_notebook
https://github.com/tatyam-prime/ICPC_notebook
Last synced: 4 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/tatyam-prime/ICPC_notebook
- Owner: tatyam-prime
- License: unlicense
- Created: 2024-02-14T01:12:27.000Z (about 1 year ago)
- Default Branch: main
- Last Pushed: 2024-09-16T01:52:31.000Z (5 months ago)
- Last Synced: 2024-09-16T03:03:07.079Z (5 months ago)
- Language: HTML
- Homepage: https://tatyam-prime.github.io/ICPC_notebook/
- Size: 10.4 MB
- Stars: 15
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# ICPC_notebook
[](https://github.com/tatyam-prime/ICPC_notebook/actions) [](https://tatyam-prime.github.io/ICPC_notebook/)
- CSS 組版で、ファイルを置くだけで PDF が簡単に作れる、ICPC 用ライブラリのすごいテンプレート
- かつ、みんなでつくる最強の ICPC 用ライブラリ (予定)
- [ライブラリのドキュメント](https://tatyam-prime.github.io/ICPC_notebook/)
- [ライブラリをまとめたページ](https://tatyam-prime.github.io/ICPC_notebook/notebook.html)
- [ライブラリをまとめた PDF](https://tatyam-prime.github.io/ICPC_notebook/notebook.pdf)## private なコピーを作るには
1. 新規 private repository を作る
2. repository の Settings -> Actions -> Workflow permissions を Read and Write に設定
3. `git clone https://github.com/tatyam-prime/ICPC_notebook.git && cd ICPC_notebook`
4. `git remote set-url origin {your_private_repository_url}`
5. `git commit -m "test" --allow-empty && git push`
6. workflow が動くことを確認
7. [README.txt](README.txt) をいい感じに修正## 内容を変更するには
1. [src/\*/\*](src/) の中身を変更する
2. [build/build.js](build/build.js) の設定項目を変更する
3. commit & push## 手元で動かすには
### 事前にインストールするもの
- node.js (v18 以上)
- npm
- `brew install node` /
- clang-format
- `brew install clang-format` / `sudo apt install clang-format`
- vivliostyle
- `npm install -g @vivliostyle/cli`
- その他依存関係
- `npm install`
- (使うなら) oj-verify
- `pip3 install online-judge-verify-helper`### PDF を生成する
1. `make build`
### oj-verify で verify
1. `make verify`
### oj-verify ページを生成
1. `make serve`