WordPress / WordPress/phpdoc-parser

Import only specific type of stuff

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

Nobody has claimed this yet.

question
Dominant language
PHP
Stars
239
Forks
81
Avg merge
16h 29m
Merged PRs (30d)
8

Description

I was wondering if it is possible to import only functions and hooks.
In that way this plugin can be used from plugin developers that want to document their stuff.
Actually for that I removed the lines 320-327 on https://github.com/WordPress/phpdoc-parser/blob/master/lib/class-importer.php#L320

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.

Research direction

Start in lib/class-importer.php around lines 320-327, where the current import behavior is identified. Determine how the importer could select only functions and hooks for plugin developers documenting their work, and verify that the resulting import excludes other types.

Written by the indexing model from the issue text.

Assessment

Tech stack
php
Domain
documentation
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.