1.16.0 • Published 9 months ago

@wmfs/tymly-doc-generator v1.16.0

Weekly downloads
-
License
MIT
Repository
github
Last release
9 months ago

tymly-doc-generator

Tymly Package npm (scoped) CircleCI

A package to help us generate tymly-docs as Markdown files

Tymly-doc-generator (with the aid of the Tymly-gatherer package) generates a series of Markdown files that describe the contents of any Tymly shaped repo

Install

$ npm install @wmfs/tymly-doc-generator

TESTING

  • If a TYMLY_MONOREPO_PATH environment variable is set, then the generation tests will generate locally.
  • If TYMLY_MONOREPO_PATH isn't set, then only Standard.js tests will be performed.
VariableDescription
TYMLY_MONOREPO_PATHMANDATORY: Where the root tymly dir can be found (inside this should be the blueprints, plugins, packages etc. dirs). So something like C:/development/tymly`.
DEBUGOptional: Supply if you want to see what's going on, e.g. tymly-gatherer,tymly-doc-generator
TYMLY_DOCS_OUTPUT_PATHWhere the docs dir is going to be written (note the docs dir itself will be written). So to target the tymly-website project, you should set it to something like C:/development/tymly-website. NOTE: Some sub-directories (e.g. /docs/reference) will be deleted on generation, so make sure to get this one right! :smiley:
TYMLY_DOCS_SKIP_GATHERINGOptional: Only supplying true will change behaviour. If you do this then the gathering phase will be omitted (relying instead on a previously-generated $TYMLY_DOCS_OUTPUT_PATH/gathered-info.json file... so you'll need to have generated with no skipping at least once before trying this).

Generating

With the environment variables set...

npm run generate

Testing

$ npm run test

License

MIT

1.15.0

9 months ago

1.16.0

9 months ago

1.14.0

1 year ago

1.13.0

1 year ago

1.12.0

1 year ago

1.11.0

1 year ago

1.9.0

1 year ago

1.8.0

1 year ago

1.7.0

1 year ago

1.10.0

1 year ago

1.6.0

2 years ago

1.5.0

2 years ago

1.4.0

2 years ago

1.3.0

2 years ago

1.2.1

2 years ago

1.2.0

3 years ago

1.1.0

3 years ago

1.0.1

3 years ago