-
-
Notifications
You must be signed in to change notification settings - Fork 3
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. Weβll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Blah 2.0.0 #19
Merged
Merged
Blah 2.0.0 #19
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Also, use one-by-one to avoid callback hells.
π’ 2.0.0 π I wrote a blog post about this release. Check it out. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
β π β π β π β π β π β π β π β π β π β π β π β π β π β
Blah 2.0.0
This little shiny tool just got better! In this new release I implemented a lot of new features.
First of all, the command line arguments are parsed using
clp
- this allows to automatically generate help content forblah --help
(orblah -h
):So, after installing blah (
npm i blah -g
), everything starts with reading the help content. In this new release I introduced three levels of templates:Project Templates
These are stored in the
.blah
directory of a project. They have the greatest priority when generating documentation. To init the.blah
directory you have to run:$ blah -i # or $ blah --init
This will create the
.blah
directory copying templates from~/.blah-templates
or default templates.This level of templates is mainly designed for having project related notes in the readme file.
User Templates
They are stored in the
~/.blah-templates
folder. If the project templates are missing, thenblah
tries to use the user templates. These are designed for automating the docs generating for projects.Default templates
They are stored in the
lib/templates
folder of this very project. If user templates are missing, then these default templates will be used.β π β π β π β π β π β π β π β π β π β π β π β π β π β
Generating docs
blah -r
and let the magic happen. β¨.gitignore
, doblah -g
.LICENSE
file, doblah -l MIT
(this will create a copy of the MIT license).CONTRIBUTING.md
, runblah -c
.DOCUMENTATION.md
doblah -d lib/index.js
(or any other input file)blah -b major
(or any of the following:major
,minor
,patch
)This update involved a lot of work. The following packages were added/updated:
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
by @mde[email protected]
[email protected]
by @cbou[email protected]
by @AvianFlu[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
Before merging, @cbou should release the new version of
markdox
with some fixes:I already started to use this new version in generating the documentation for the subdependencies and it works like a charm! π«
Fixes #10, #11, #12, #13, #14, #15, #16, #17, #18. π₯