wp-handbook-converter

1.0.0 • Public • Published

wp-handbook-converter

Build Status npm version

Description

Convert all pages in a specific type of WordPress handbook into markdown files.

Install

$ npm i -g wp-handbook-converter

# Or

$ yarn global add wp-handbook-converter

If you want to run the command without installing the package, use this: $ npx wp-handbook-converter

wp-handbook-converter command options

  • -t, --team <team> Specify team name.
  • -b, --handbook <handbook> Specify handbook name. (Default "handbook")
  • -s, --sub-domain <sub-domain> Specify subdomain name. e.g. "developer" for developer.w.org, "w.org" for w.org (Default "make")
  • -o, --output-dir <output-dir> Specify the directory to save files (default en/)
  • -r, --regenerate <regenerate> If this option is supplied, the directory you specified as output directory will once deleted, and it will regenerate all the files in the directory

Example

Get Core Contributor Handbook

$ wp-handbook-converter --team core

Get Meetup Organizer Handbook

$ wp-handbook-converter --team community --handbook meetup-handbook

Get theme Handbook

$ wp-handbook-converter --handbook theme-handbook --sub-domain developer

Get plugin Handbook

$ wp-handbook-converter --handbook plugin-handbook --sub-domain developer

Readme

Keywords

none

Package Sidebar

Install

npm i wp-handbook-converter

Weekly Downloads

2

Version

1.0.0

License

MIT

Unpacked Size

11.9 kB

Total Files

5

Last publish

Collaborators

  • mirucon