All Projects → pronamic → wp-documentor

pronamic / wp-documentor

Licence: GPL-2.0 License
Documentation Generator for WordPress.

Programming Languages

PHP
23972 projects - #3 most used programming language

Projects that are alternatives of or similar to wp-documentor

phpdoc-vuepress
🎨 Template for generating your PHP API documentation in a pretty VuePress format
Stars: ✭ 19 (-32.14%)
Mutual labels:  phpdoc, phpdocumentor, docblock
Phpdocumentor
Documentation Generator for PHP
Stars: ✭ 3,341 (+11832.14%)
Mutual labels:  phpdocumentor, docblock, docblocks
Skeleton
A ready-to-use CodeIgniter skeleton with tons of new features and a whole new concept of hooks (actions and filters) as well as a ready-to-use and application-free themes and plugins system. Facebook Page: http://bit.ly/2oHzpxC | Facebook Group: http://bit.ly/2o3KOrA. Help me carry on making more free stuff → http://bit.ly/2ppNujE ←
Stars: ✭ 74 (+164.29%)
Mutual labels:  hooks, filters
Decoda
A lightweight lexical string parser for BBCode styled markup.
Stars: ✭ 190 (+578.57%)
Mutual labels:  hooks, filters
revery-graphql-hooks
A library for easy handling of GraphQL with hooks for Revery
Stars: ✭ 34 (+21.43%)
Mutual labels:  hooks
RT7-example
Code for the React Table 7 article
Stars: ✭ 32 (+14.29%)
Mutual labels:  hooks
Actions-OP
Autobuild openwrt using github actions | 自动编译你的专属openwrt固件
Stars: ✭ 19 (-32.14%)
Mutual labels:  actions
React-Combine-Provider
combine react providers in ease
Stars: ✭ 29 (+3.57%)
Mutual labels:  hooks
react-movies-finder
React Movies finder is a React app to search movies and series using redux, redux-thunk, React Hooks, and Material UI
Stars: ✭ 27 (-3.57%)
Mutual labels:  hooks
webpack-stats-diff-action
Github action to print Webpack stat diffs in your pull-requests.
Stars: ✭ 29 (+3.57%)
Mutual labels:  actions
github-run-tests-action
mabl Github Actions implementation
Stars: ✭ 39 (+39.29%)
Mutual labels:  actions
npm-update-check-action
npm new package version check action for GitHub Actions.
Stars: ✭ 17 (-39.29%)
Mutual labels:  actions
hookr
PHP action and filter hook system
Stars: ✭ 39 (+39.29%)
Mutual labels:  hooks
deno-action
Github action for setup Deno
Stars: ✭ 24 (-14.29%)
Mutual labels:  actions
gh-pages-action
A GitHub Action to deploy a static site on GitHub Pages.
Stars: ✭ 26 (-7.14%)
Mutual labels:  actions
Ananas
An easy image editor integration for your Android apps.
Stars: ✭ 186 (+564.29%)
Mutual labels:  filters
Oxide.Patcher
IL patcher for use with adding Oxide support to .NET games
Stars: ✭ 27 (-3.57%)
Mutual labels:  hooks
graphire
An unopinionated react graph visualization library.
Stars: ✭ 256 (+814.29%)
Mutual labels:  hooks
react-native-aria
A library of React Hooks for React-Native (Android/iOS/web) to provide accessible UI primitives for a design system.
Stars: ✭ 164 (+485.71%)
Mutual labels:  hooks
action
📦📊 GitHub Action to reports on the size of your npm package
Stars: ✭ 36 (+28.57%)
Mutual labels:  actions

Pronamic WordPress Documentor

Pronamic WordPress Documentor

Pronamic WordPress Documentor is a tool to automatically extract data about the actions and filters of your WordPress theme or plugin.

Latest Stable Version Total Downloads Latest Unstable Version License

Table of contents

Getting Started

Installation

To start documenting your WordPress filters and actions, require Pronamic WordPress Documentor in Composer:

composer require pronamic/wp-documentor --dev

First Run

To let Pronamic WordPress Documentor analyse your codebase, you have to use the parse command and point it to the right directory:

vendor/bin/wp-documentor parse src

Command Line Usage

--format=FORMAT

The format in which you want to export the hooks.

Format Description
default Symfony console table.
hookster Hookster JSON.
markdown Markdown.
phpdocumentor-rst RestructuredText for phpDocumentor.

Example: --format=markdown

--template=FILE

Custom PHP template, see for examples the templates folder.

Example: --template=templates/markdown.php

--type=TYPE

Specify whether you want to export actions or filters.

Example: --type=actions or --type=filters

--output=FILE

Write output to file.

Example: --output=docs/hooks.md

--memory-limit=VALUE

Specifies the memory limit in the same format php.ini accepts.

Example: --memory-limit=-1

--exclude=GLOB

Exclude the specified folders/files.

Example: --exclude=vendor --exclude=wordpress

--ignore-vcs-ignored

If the search directory contains a .gitignore file, you can reuse those rules to exclude files and directories from the results with this option.

Example: --ignore-vcs-ignored

--prefix=PREFIX

Only parse hooks starting with the specified prefixes.

Example: --prefix=my_theme --prefix=my_plugin

Examples

vendor/bin/wp-documentor parse ./tests/source
vendor/bin/wp-documentor parse ./tests/source --format=hookster --type=actions --output=tests/docs/hookster-actions.json
vendor/bin/wp-documentor parse ./tests/source --format=hookster --type=filters --output=tests/docs/hookster-filters.json
vendor/bin/wp-documentor parse ./tests/source --format=markdown --output=tests/docs/hooks.md
vendor/bin/wp-documentor parse ./tests/source --format=phpdocumentor-rst --type=actions --output=tests/docs/phpdocumentor-actions.rst
vendor/bin/wp-documentor parse ./tests/source --format=phpdocumentor-rst --type=filters --output=tests/docs/phpdocumentor-filters.rst

Ouput Examples

Alternatives

Here is a list of alternatives that we found. However, none of these satisfied our requirements.

If you know other similar projects, feel free to edit this section!

Inspiration from https://github.com/TypistTech/imposter-plugin#alternatives

Links

Pronamic - Work with us

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].