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

feat(api-docgen): support more config to init parser instance #963

Merged
merged 3 commits into from
Apr 16, 2024

Conversation

Timeless0911
Copy link
Contributor

@Timeless0911 Timeless0911 commented Apr 16, 2024

Summary

If the parser is react-docgen-typescript, the withDefaultConfig method is used by default to create a parser instance. If tsconfigPath or compilerOptions is configured, the withCompilerOptions and withCustomConfig methods are used to create the parser instance respectively. See Custom Parsers for details.

Related Issue

Checklist

  • Tests updated (or not required).
  • Documentation updated (or not required).

Copy link

netlify bot commented Apr 16, 2024

Deploy Preview for aquamarine-blini-95325f ready!

Name Link
🔨 Latest commit abf9f76
🔍 Latest deploy log https://app.netlify.com/sites/aquamarine-blini-95325f/deploys/661e4d3a1e6f350008f48b8b
😎 Deploy Preview https://deploy-preview-963--aquamarine-blini-95325f.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.
Lighthouse
Lighthouse
1 paths audited
Performance: 82 (🔴 down 7 from production)
Accessibility: 97 (no change from production)
Best Practices: 100 (no change from production)
SEO: 92 (no change from production)
PWA: -
View the detailed breakdown and full score reports

To edit notification comments on pull requests, go to your Netlify site configuration.

@Timeless0911
Copy link
Contributor Author

!canary

@Timeless0911 Timeless0911 requested a review from chenjiahan April 16, 2024 08:41
@Timeless0911 Timeless0911 changed the title feat(plugin-api-docgen): support more config to init parser instance feat(api-docgen): support more config to init parser instance Apr 16, 2024
@Timeless0911 Timeless0911 force-pushed the feat/support-tsconfigPath-compilerOptions branch from 4652605 to bc05e9c Compare April 16, 2024 08:42
@Timeless0911 Timeless0911 enabled auto-merge (squash) April 16, 2024 08:47
@Timeless0911 Timeless0911 merged commit 221da5e into main Apr 16, 2024
8 checks passed
@Timeless0911 Timeless0911 deleted the feat/support-tsconfigPath-compilerOptions branch April 16, 2024 10:44
@Timeless0911
Copy link
Contributor Author

!canary

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
2 participants