Hacktoberfest 2026: the issues maintainers tagged for October, open and beginner-friendly. Browse Hacktoberfest issues

Add a hook generator

Open
#15 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
5/5
Estimated time
Over a week
Newbie friendliness
35/100
Issue type
Feature
Clarity
Mostly clear
Activity status
Stale
Tech stack
php

Research direction

Start by reading generate-hook-docs.php to understand how the current script discovers source files and generates hook documentation. Define the scope for capturing all source files and producing separate pages for individual files, actions, and filters; done means the generator creates the intended documentation pages from the source code.

Written by the indexing model from the issue text.

Description

Currently we are using an old script that doesn't capture all files from our source code.
You can find the current script in https://github.com/woocommerce/code-reference/blob/trunk/generate-hook-docs.php

We could take this opportunity to create a documentation for hooks generating several pages for individual files and types like actions and filters.

Dominant language
Twig
Stars
17
Forks
12
Avg merge
3h 58m
Merged PRs (30d)
3

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from woocommerce/code-reference

All issues in woocommerce/code-reference

Similar issues

More Documentation issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.