Skip to content

docs: add repository description and update readme#276

Merged
myoshi2891 merged 2 commits into
mainfrom
dev-from-macmini
Feb 19, 2026
Merged

docs: add repository description and update readme#276
myoshi2891 merged 2 commits into
mainfrom
dev-from-macmini

Conversation

@myoshi2891

@myoshi2891 myoshi2891 commented Feb 19, 2026

Copy link
Copy Markdown
Owner

This commit includes:

  • Updated README.md with:
    • New Development Setup section.
    • Updated Technology Stack diagrams reflecting local vendor management.
  • Added repository description to package.json.
  • Updated README.md table to correctly reference local vendor scripts.
  • Updated README.md development instructions to use bun run serve.
  • Added serve script to package.json.

@netlify

netlify Bot commented Feb 19, 2026

Copy link
Copy Markdown

Deploy Preview for algorithm-datastructures-math-studies ready!

Name Link
🔨 Latest commit 2a9f2d7
🔍 Latest deploy log https://app.netlify.com/projects/algorithm-datastructures-math-studies/deploys/69973a4cffc57800084d5a9a
😎 Deploy Preview https://deploy-preview-276--algorithm-datastructures-math-studies.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

@myoshi2891

Copy link
Copy Markdown
Owner Author

@coderabbitai review

@coderabbitai

coderabbitai Bot commented Feb 19, 2026

Copy link
Copy Markdown
Contributor
✅ Actions performed

Review triggered.

Note: CodeRabbit is an incremental review system and does not re-review already reviewed commits. This command is applicable only when automatic reviews are paused.

@coderabbitai

coderabbitai Bot commented Feb 19, 2026

Copy link
Copy Markdown
Contributor
📝 Walkthrough

Walkthrough

README.md の技術スタック表の簡素化と開発セットアップセクションの追加、D1 CDN ラベルの「ローカル管理」への変更。package.json に多言語対応の説明フィールドを追加。

Changes

Cohort / File(s) Summary
Documentation Updates
README.md
文書階層表を標準化し「技術スタック」列のフォーマットを整理。D1 CDN ラベルを「ローカル管理された外部ライブラリ (Vendor)」に変更。React 18 UMD と Babel Standalone のローカルベンダー使用を明記。新たに「開発セットアップ」セクションを追加し、Bun による依存管理と Python によるアーティファクト生成の手順、前提条件、ローカルサーバー起動方法を記載。
Package Configuration
package.json
トップレベルに多言語リポジトリ説明を含む description フィールドを追加。

Estimated code review effort

🎯 2 (Simple) | ⏱️ ~8 minutes

Poem

🐰 ドキュメント整いて、
開発の道しるべ輝く。
Bun と Python、手を取り合い、
ローカルライブラリ、ベンダーの家で眠る。
説明も増えて、リポジトリ深まる。
ぴょんぴょん

🚥 Pre-merge checks | ✅ 3
✅ Passed checks (3 passed)
Check name Status Explanation
Title check ✅ Passed タイトルはREADME.mdの更新とpackage.jsonへのリポジトリ説明追加という主な変更を正確に要約しています。
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.
Description check ✅ Passed プルリクエストの説明は、チェンジセットの内容と関連しており、README.mdとpackage.jsonの更新について具体的に記述されています。

✏️ Tip: You can configure your own custom pre-merge checks in the settings.

✨ Finishing Touches
  • 📝 Generate docstrings

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

@coderabbitai coderabbitai Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Actionable comments posted: 1

Caution

Some comments are outside the diff and can’t be posted inline due to platform limitations.

⚠️ Outside diff range comments (1)
README.md (1)

384-385: ⚠️ Potential issue | 🟡 Minor

ファイル仕様表の CDN 参照がローカルベンダー管理への変更と矛盾しています。

この PR の目的はドキュメントを「ローカル管理された外部ライブラリ (Vendor)」への移行に合わせて更新することですが、ファイル命名・コード構造規約の表(行 384–385)は更新されておらず、以下の CDN 参照が残っています:

  • 行 384(README.html): <script src="...tailwindcss.com"></script> — CDN 参照
  • 行 385(README_react.html): **「React CDNを含むHTML」**と記載、かつ <script src="...react.development.js"></script> / <script src="...babel.standalone.js"></script> — CDN 参照

行 231–235 および行 294 でローカルベンダー管理への変更が行われましたが、この表が更新されていないため README 内で矛盾が生じています。

🛠️ 修正案(行 385 の例)
-| **React可視化**      | `README_react.html`  | React CDNを含むHTML:<br>`<script src="...react.development.js"></script>`<br>`<script src="...babel.standalone.js"></script>`<br>`<script type="text/babel">`内のJSXコンポーネント |
+| **React可視化**      | `README_react.html`  | ローカルベンダーを含むHTML:<br>`<script src="vendor/react.development.js"></script>`<br>`<script src="vendor/babel.standalone.js"></script>`<br>`<script type="text/babel">`内のJSXコンポーネント |
🤖 Prompt for AI Agents
Verify each finding against the current code and only fix it if needed.

In `@README.md` around lines 384 - 385, The table rows for README.html and
README_react.html still describe CDN usage; update the entries to reflect the
local vendor-managed libraries by replacing CDN references (e.g., `<script
src="...tailwindcss.com"></script>`, `<script
src="...react.development.js"></script>`, `<script
src="...babel.standalone.js"></script>`) with the local vendor paths/filenames
used in this PR and change the descriptions from "埋め込みJavaScriptを含むHTML" /
"React CDNを含むHTML" to indicate "ローカルベンダー管理のスクリプトを読み込むHTML" or similar; ensure
the filenames listed (`README.html`, `README_react.html`) and their example path
columns reflect the vendor-managed locations and update any related notes so the
table is consistent with the earlier vendor changes in this PR.
🤖 Prompt for all review comments with AI agents
Verify each finding against the current code and only fix it if needed.

Inline comments:
In `@README.md`:
- Around line 580-586: Replace the incorrect `npx http-server public`
instruction with Bun-compatible usage and the declared devDependency: either
change the README command to `bunx live-server public` (using the existing
live-server devDependency) or add a package.json script like `"dev":
"live-server public"` and update the README to run it with `bunx run dev`;
update any example commands to use `bun`/`bunx` consistently to follow the
project's Bun package manager guideline and avoid referencing undeclared
`http-server`.

---

Outside diff comments:
In `@README.md`:
- Around line 384-385: The table rows for README.html and README_react.html
still describe CDN usage; update the entries to reflect the local vendor-managed
libraries by replacing CDN references (e.g., `<script
src="...tailwindcss.com"></script>`, `<script
src="...react.development.js"></script>`, `<script
src="...babel.standalone.js"></script>`) with the local vendor paths/filenames
used in this PR and change the descriptions from "埋め込みJavaScriptを含むHTML" /
"React CDNを含むHTML" to indicate "ローカルベンダー管理のスクリプトを読み込むHTML" or similar; ensure
the filenames listed (`README.html`, `README_react.html`) and their example path
columns reflect the vendor-managed locations and update any related notes so the
table is consistent with the earlier vendor changes in this PR.

Comment thread README.md
Comment on lines +580 to +586
4. **ローカルサーバーの起動**:

```bash
npx http-server public
```

ブラウザで `http://127.0.0.1:8080` を開いて確認します。

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

⚠️ Potential issue | 🟡 Minor

npxbunx に修正し、既存の live-server devDependency を使用してください。

2点の問題があります:

  1. コーディングガイドライン違反: プロジェクトは Bun をパッケージマネージャーとして使用しています。npx の代わりに bunx を使うべきです。
  2. 依存関係の不整合: http-serverpackage.json の依存関係に含まれていませんが、live-server はすでに devDependencies に宣言されています。未宣言のパッケージ (http-server) を npx で実行するよりも、宣言済みの live-serverbunx で実行する方が一貫性があります。
🛠️ 修正案
-    npx http-server public
+    bunx live-server public

または、package.json に専用スクリプトを追加する方法もあります:

 "scripts": {
     "dev": "tsx Algorithm/ts/main.ts",
+    "serve": "live-server public",
     "test": "vitest run",

README.md:

-    npx http-server public
+    bun run serve

コーディングガイドラインより:package.json: Use Bun as the package manager; use bun install instead of npm install

🤖 Prompt for AI Agents
Verify each finding against the current code and only fix it if needed.

In `@README.md` around lines 580 - 586, Replace the incorrect `npx http-server
public` instruction with Bun-compatible usage and the declared devDependency:
either change the README command to `bunx live-server public` (using the
existing live-server devDependency) or add a package.json script like `"dev":
"live-server public"` and update the README to run it with `bunx run dev`;
update any example commands to use `bun`/`bunx` consistently to follow the
project's Bun package manager guideline and avoid referencing undeclared
`http-server`.

@myoshi2891

Copy link
Copy Markdown
Owner Author

@myoshi2891 myoshi2891 merged commit 25ed787 into main Feb 19, 2026
4 checks passed
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.

1 participant