Convert all pages in a specific type of WordPress handbook into markdown files.
$ npm i -g wp-handbook-converterIf you want to run the command without installing the package, use this: $ npx wp-handbook-converter
-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 (defaulten/)-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
Get Core Contributor Handbook
$ wp-handbook-converter --team coreGet Meetup Organizer Handbook
$ wp-handbook-converter --team community --handbook meetup-handbookGet theme Handbook
$ wp-handbook-converter --handbook theme-handbook --sub-domain developerGet plugin Handbook
$ wp-handbook-converter --handbook plugin-handbook --sub-domain developerThis project uses Prettier for code formatting. You can check for linting errors by running:
npm run lintYou can automatically fix linting errors by running:
npm run lint:fix