wp-handbook-tracker

Creates WordPress Handbook menu JSON to track changes in the handbook.

Usage no npm install needed!

<script type="module">
  import wpHandbookTracker from 'https://cdn.skypack.dev/wp-handbook-tracker';
</script>

README

wp-handbook-tracker

Build Status npm version

Install

$ npm i -g wp-handbook-tracker

# Or

$ yarn add wp-handbook-tracker

For quick run, just use $ npx wp-handbook-tracker <team>.

wp-handbook-tracker command

$ wp-handbook-tracker <team>

options

  • -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")

Example

Get Meetup Handbook

$ wp-handbook-tracker community --handbook meetup-handbook

Get theme developer Handbook

$ wp-handbook-tracker '' --handbook theme-handbook --sub-domain developer

Schema

[
  {
    "slug": "slug",
    "id": "id",
    "link": "link",
    "path": "relative_path_to_link",
    "modified": "modified_date_GMT",
    "menu_order": "menu_order",
    "parent": "parent"
  }
]