Skip to content

feat: GitHub Copilotの指示を追加#68

Merged
saitogo555 merged 5 commits into
mainfrom
edit-IT
May 23, 2025
Merged

feat: GitHub Copilotの指示を追加#68
saitogo555 merged 5 commits into
mainfrom
edit-IT

Conversation

@ootomonaiso

Copy link
Copy Markdown
Collaborator
  • GitHub Copilotに関するプロジェクトの概要、コーディング規約、補完方針を含む新しいドキュメントを作成しました。
  • docusaurus.config.jsのカテゴリ追加方法、themeConfigのitems登録方法、footerのlinks登録方法についての具体的な指示を記載しました。

- GitHub Copilotに関するプロジェクトの概要、コーディング規約、補完方針を含む新しいドキュメントを作成しました。
- docusaurus.config.jsのカテゴリ追加方法、themeConfigのitems登録方法、footerのlinks登録方法についての具体的な指示を記載しました。
@ootomonaiso ootomonaiso requested a review from saitogo555 as a code owner May 23, 2025 12:20
Copilotの補完に関する指示を更新し、ファイル名を正しい拡張子に変更しました。
@saitogo555 saitogo555 requested a review from Copilot May 23, 2025 12:21

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Pull Request Overview

Adds a new Copilot instructions document outlining project overview, coding conventions, and specific guidance for registering categories in Docusaurus configuration.

  • Introduces .github/copilot-instructions.md with Copilot completion guidelines.
  • Provides step-by-step examples for modifying docusaurus.config.ts/js, theme items, and footer links.
  • Specifies project tech stack and build/deployment details.

Comment thread .github/copilot-instructions.md Outdated
Copilot は以下の方針に従って補完してください:

### docusaurus.config.tsの補完
#### 新しくカテゴリを作成した場合、``docusaurus.config.js``にカテゴリを追加してください。

Copilot AI May 23, 2025

Copy link

Choose a reason for hiding this comment

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

Heading mentions docusaurus.config.ts but the snippet refers to .js. Align the file extension in the instructions (either use .ts throughout or clarify both options).

Suggested change
#### 新しくカテゴリを作成した場合、``docusaurus.config.js``にカテゴリを追加してください。
#### 新しくカテゴリを作成した場合、``docusaurus.config.ts``にカテゴリを追加してください。

Copilot uses AI. Check for mistakes.
Comment thread .github/copilot-instructions.md Outdated
path: '新規作成したフォルダ名',
routeBasePath: '新規作成したフォルダ名',
sidebarPath: require.resolve('./sidebars.js'),
editUrl: 'https://github.com/ootomonaiso/ootomonaiso_strage',

Copilot AI May 23, 2025

Copy link

Choose a reason for hiding this comment

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

The repository name ootomonaiso_strage looks like a typo; consider correcting it to ootomonaiso_storage or the actual repo name.

Suggested change
editUrl: 'https://github.com/ootomonaiso/ootomonaiso_strage',
editUrl: 'https://github.com/ootomonaiso/ootomonaiso_storage',

Copilot uses AI. Check for mistakes.
Comment thread .github/copilot-instructions.md Outdated

## Coding Conventions
- 使用言語: TypeScript, markdown
- フレームワーク: React18.0によって記述されたDocusaurus3.0.0

Copilot AI May 23, 2025

Copy link

Choose a reason for hiding this comment

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

[nitpick] The phrasing is a bit unclear—consider rewording to something like フレームワーク: Docusaurus 3.0.0 (React 18.0 上に構築) for clarity.

Suggested change
- フレームワーク: React18.0によって記述されたDocusaurus3.0.0
- フレームワーク: Docusaurus 3.0.0 (React 18.0 上に構築)

Copilot uses AI. Check for mistakes.
- Docusaurusのフレームワーク表記を修正
- docusaurus.config.jsをdocusaurus.config.tsに変更
- コードブロックの言語をJavaScriptからTypeScriptに変更
- editUrlを正しいリポジトリのURLに更新
@saitogo555 saitogo555 requested a review from Copilot May 23, 2025 12:27

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Pull Request Overview

This PR introduces a new document detailing GitHub Copilot’s instructions, project overview, coding conventions, and specific configuration guidelines for docusaurus.config.ts, themeConfig, and footer links.

  • Adds a comprehensive Markdown document for GitHub Copilot instructions.
  • Provides clear examples for registering new categories in Docusaurus configuration files.

Comment thread .github/copilot-instructions.md
@saitogo555 saitogo555 merged commit 65cc330 into main May 23, 2025
1 check 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.

3 participants