-
Notifications
You must be signed in to change notification settings - Fork 22
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
Quick Start example doesn't work #288
Comments
It looks to me like the problem stems from a This part seems to work fine (first tab, "Same"): But this part causes the error (second tab, "Remote"): Somehow, the generator doesn't think the "GitHub action file" |
I can replicate the same exact behavior. Not sure what the workaround is 😢 |
Here are my suggestions: Long-TermAn actual fix for this would involve modifying the code to artificially click on the first tab, copy its contents into the DOM, then click on the second tab, etc. This would place all the content from the Short-TermA quick and dirty solution would be to modify the code to make sure the virtual browser doesn't try to click anything that's not clickable (or to just catch the error and move on). This would make the program not crash, but it would only ever show the first tab. Alternative WorkaroundYou can remove the So if you are using <Tabs>
<TabItem label="label A">{content A}</TabItem>
<TabItem label="label B">{content B}</TabItem>
...
</Tabs> into <details><summary>{label A}</summary>{content A}</details>
<details><summary>{label B}</summary>{content B}</details>
... *Previously the way I was distributing my docs for offline use was by running a build and then just zipping up the build folder. To read the docs, you unzip the folder and open up |
Yup @nullromo that's definitely an option. One option I was entertaining that fits my use case is to ignore those details elements. Any idea on how I could achieve this with the excludeSelector? |
@karl-cardenas-coding I haven't looked into the source code of this repo much, but assuming the So try |
any update on this? |
I tried selecting the details elements and no luck. As a workaround, I removed all details elements when creating a PDF. In my use case, these are rarely used so I can get away with it. But yeah, shame it doesn't work as this tool is super neat. |
I tried running the example from the README
and I got this error:
Just wanted to point this out because I'm struggling to get this to work on my own site, so I wanted a working example reference.
The text was updated successfully, but these errors were encountered: