-
Notifications
You must be signed in to change notification settings - Fork 10.3k
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
[gatsby-transformer-documentationjs] - Conflicts With Gatsby Even On Default Gatsby Starter #19194
Comments
Hi! Sorry to hear you're running into an issue. To help us best begin debugging the underlying cause, it is incredibly helpful if you're able to create a minimal reproduction. This is a simplified example of the issue that makes it clear and obvious what the issue is and how we can begin to debug it. If you're up for it, we'd very much appreciate if you could provide a minimal reproduction and we'll be able to take another look. Your current description shows the steps but you're requiring data outside of the starter and hence it's not an appropriate reproduction instruction (because we don't have that data). Thanks for using Gatsby! 💜 |
Hi @LekoArts I wasn't sure how to make a minimal reproduction because it required doing the steps inside an existing lib with JSDocs. My goal was to create some nice documentation for a small library. The repo below is a very small library only a couple of files. There is folder called Repo: https://github.com/Skillz4Killz/yuuko
Nothing fancy has been done in the repo besides the reproduction steps I posted above in the original post. |
I narrowed it down to the following TypeScript example that fails: /** Iface Foo */
interface Foo {
/** field foo */
foo: string;
}
/** Iface Bar */
interface Bar {
(
/** argument bar */
bar: Foo,
): void
} This also produces a weird document when running Looks like I guess steps to address this issue are:
Does it make sense for you? |
Hiya! This issue has gone quiet. Spooky quiet. 👻 We get a lot of issues, so we currently close issues after 30 days of inactivity. It’s been at least 20 days since the last update here. Thanks for being a part of the Gatsby community! 💪💜 |
Description
Steps to reproduce
gatsby new docs
cd docs
npm i gatsby-transformer-documentationjs
Copy the exact query from the plugins readme and add to gatsby-node.js
gatsby develop
Expected result
The website should load the default starter and console.log() everything the plugin finds.
Actual result
Errors and the gatsby develop cancels.
Environment
The text was updated successfully, but these errors were encountered: