This repository has been archived by the owner on Apr 21, 2022. It is now read-only.
Add flag for setting output location of multi command docs #65
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.
Ran into this issue when trying to use a markdown doc renderer like ignite. Since oclif forces multi docs to get saved to the root of the
docs/
dir, I figured it might be nice if that could be overridden.Even if you're not using a markdown renderer, it's useful to be able to change the folder structure, especially if your project has handwritten docs mixed in the
docs/
dir.In this PR, I made it changeable via the
--dir
flag. Not sure if that's a great name for it, so lmk if you'd like me to change it. Since the flag only applies to multi docs, it might make more sense to use a flag that has the word multi in it.