Skip to content
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

Demonstration of Docs #1

Merged
merged 11 commits into from
May 13, 2024
Merged

Demonstration of Docs #1

merged 11 commits into from
May 13, 2024

Conversation

JReinhold
Copy link
Collaborator

@JReinhold JReinhold commented May 13, 2024

This adds demos for

  • Autodocs
  • manual MDX docs with Doc Blocks and useOf

Overall it works well with minor issues found:

  1. In dev mode, the generated source in Canvas will display <Proxy<RenderContext> /> instead of <DocsComponent />
  2. Importing stories from X.stories.svelte makes TypeScript complain in the editor because it doesn't know of the compilation.

The first one should be fixable eventually while the second one is probably just how it is.

@JReinhold JReinhold merged commit fd939b4 into main May 13, 2024
4 checks passed
@JReinhold JReinhold deleted the docs-of-demo branch May 13, 2024 14:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant