master doc: add inheritance links and other changes

* README.md:
* Change indentation to reflect class hierarchy.
* Link to new doc/hierarchy.md which shows full class hierarchy.
* Add single sentence with link to parent class at the top of class doc.
* doc/addon.md:
* Replace `Addon` with `Addon<T>`.
* Show templating in prototypes.
* Move `InstanceWrap<T>` method documentation to its own file, because
it is shared with `ObjectWRap<T>`, and link to said new file.
* doc/array.md: Create the file from the `Array`-related contents of
doc/basic_types.md.
* Remove doc/basic_types.md, splitting its contents per-class into
individual files.
* Add doc/hierarchy.md, with full class hierarchy.
* Add doc/instance_wrap.md for documenting `InstanceMethod`,
`InstanceAccessor`, and `InstanceValue`.
* Create doc/name.md from doc/basic_types.md, documenting `Napi::Name`.
* doc/object_wrap.md:
* Add templating notation `Napi::ObjectWrap<T>`.
* Show templating in prototypes.
* Wrap file to 80 columns.
* Remove methods provided by `InstanceWrap<T>` and link to
doc/instance_wrap.md.
* doc/value.md:
* Merge documentation from doc/basic_types.md.
* Add namespacing.
* Sort methods alphabetically.

Signed-off-by: Gabriel Schulhof <gabriel.schulhof@intel.com>
Fixes: https://github.com/nodejs/node-addon-api/issues/796
PR-URL: https://github.com/nodejs/node-addon-api/pull/798
Reviewed-By: Michael Dawson <michael_dawson@ca.ibm.com>
Reviewed-By: Nicola Del Gobbo <nicoladelgobbo@gmail.com>

Gabriel Schulhof authored and committed

Push event #11 passed

  • Ran for
  • Total time