Hooks generator does not get all the PHP files to scan
まだ誰も着手していません。
評価
- 難易度
- 3/5
- 見積もり時間
- 1〜2日
- 初心者へのやさしさ
- 45/100
- issue の種類
- バグ
- 明瞭さ
- おおむね明確
- 活発さ
- 停滞
- 技術スタック
- php
- 領域
- documentation, tooling
調査の方向性
参照されている generate-hook-docs.php スクリプトから始め、リンク先の google-listings-and-ads PR コメントにある詳細な説明を確認します。2 階層を超えるパスを含むディレクトリに対してジェネレーターを再実行し、すべての PHP ファイルとそのフックが生成されたドキュメントに含まれていることを確認します。
索引モデルが issue の本文から書いたものです。
説明
Context
At Ventures team we would like to generate a hooks document for our internal use and we found there is an awesome script in this repo that just do the things we want. Here's our PR woocommerce/google-listings-and-ads#1573, it basically copy most of the code from the script and then modify a bit to suit what we need.
The Problem
We found the script does not capture all the PHP files in the directory, the TLDR reason is the script cannot work in the case where there are more than two levels of paths. Please see the detailed explanation in our PR's comment: https://github.com/woocommerce/google-listings-and-ads/pull/1573#issuecomment-1173318631.
It also relates to #15.
Our solution may not fulfil the needs in this repo, also if there's any better ways to generate hooks documents (like using PHPDoc?) in your mind, we're happy to hear and learn about.
- 主要言語
- Twig
- スター
- 17
- フォーク
- 12
- 平均マージ
- 3時間 58分
- マージ済み PR(30日)
- 3
コントリビューションガイド
このリポジトリのコントリビューションガイドは索引されていません
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
woocommerce/code-reference のほかの issue
-
難易度 4/5 3〜5日 初心者へのやさしさ 42/100
woocommerce/code-reference#19 · リアクション 1 件 ·
-
Add a hook generator オープン
難易度 5/5 1週間以上 初心者へのやさしさ 35/100
-
難易度 4/5 3〜5日 初心者へのやさしさ 25/100
woocommerce/code-reference の issue をすべて見る
似ている issue
-
Link Checker Report オープンautomated issue report
難易度 2/5 1〜3時間 初心者へのやさしさ 75/100
-
Humanity AI オープン
難易度 1/5 1時間未満 初心者へのやさしさ 90/100
numfocus/project-fundraising#166 ·
-
area:proxy bug security severity:low track:open-source
難易度 2/5 1〜3時間 初心者へのやさしさ 70/100