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

Fix unrecognized api mkdoc options #8040

Merged
merged 1 commit into from
Apr 1, 2025

Conversation

TomeHirata
Copy link
Collaborator

When running mkdoc serve, the following warning appears many times. Also, inherited methods don't appear in the DSPy api doc as the show_inherited_members option is not recognized. This PR fixes the issue by updating the mkdoc options.

DeprecationWarning: Passing extra options directly under options is deprecated. Instead, pass them under options.extra, and
           update your templates. Current extra (unrecognized) options: show_inherited_members, show_undocumented_members?

Copy link
Collaborator

@chenmoneygithub chenmoneygithub left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

@TomeHirata TomeHirata merged commit 281e1f3 into stanfordnlp:main Apr 1, 2025
6 checks passed
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.

2 participants