Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 16 additions & 0 deletions .npmignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
# Documentation site (deployed separately to Cloudflare Workers)
docs/

# Source files
src/
tsconfig.json
Copy link
Copy Markdown

Choose a reason for hiding this comment

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

medium

While not incorrect, ignoring src/ and tsconfig.json here is redundant because the files field in package.json is already configured to only include the build and template directories. For consistency and to have a single source of truth for what's included in the package, you might consider relying solely on the files field.


# Development
*.log
.DS_Store
node_modules/

# Git
.git/
.github/
.gitignore
46 changes: 46 additions & 0 deletions docs/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,46 @@
# create-mcp-tools Documentation Site

このディレクトリには、create-mcp-toolsの静的ドキュメントサイトが含まれています。

## デプロイ方法

### Cloudflare Workersへのデプロイ

1. Cloudflare Workersアカウントを作成(まだの場合)

2. Wranglerをインストール:
```bash
npm install -g wrangler
```

3. Cloudflareにログイン:
```bash
wrangler login
```

4. `wrangler.toml`を編集して、`routes`のzone_nameを自分のドメインに変更

5. デプロイ:
```bash
cd docs
wrangler deploy
```

### ローカルでのプレビュー

```bash
cd docs
wrangler dev
Comment thread
hideokamoto marked this conversation as resolved.
Outdated
```

ブラウザで `http://localhost:8787` を開くとサイトをプレビューできます。

## ファイル構成

- `index.html` - メインのランディングページ
- `wrangler.toml` - Cloudflare Workers設定ファイル
- `README.md` - このファイル

## 注意事項

このディレクトリはnpmパッケージには含まれません。`package.json`の`files`フィールドで除外されています。
Loading