-
Notifications
You must be signed in to change notification settings - Fork 1
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
Input file is not defined with CLI #1
Comments
Hello. Give me a day or two and I will come back with an answer. |
FixTry this on the terminal: npx ts-doc-gen-md -i "'test.d.ts'" -o "'./test.md'" ExplanationThe values provided to the CLI are const pathInput = eval("'test.d.ts'");
const pathOutput = eval("'./test.md'"); Why things work this wayIn short, because when I was creating them I was inexperienced. The futureThe future is discontinuing ts-doc-gen-mdI have come to the conclusion that there is no need for documentation generation libraries. All I suggest you to do is to create a single fn-to-cliIf you were to import the function |
Thanks for your detailed insights! Have you tried https://github.com/TypeStrong/typedoc though? Nice for populating docs website. |
It is because I was not satisfied with
I would avoid creating a website. Instead of this:
I would just give a
In fact what |
Hello,
Yields:
undefined:1 test.d.ts ^ ReferenceError: test is not defined
Maybe I'm using the CLI wrong?
Thanks.
The text was updated successfully, but these errors were encountered: