-
Notifications
You must be signed in to change notification settings - Fork 536
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
Update doc generation workflow #862
Conversation
|
# Cleanup docs of unexported modules | ||
module = dir() | ||
NOT_IN_ALL = [m for m in module if m not in __all__] | ||
|
||
__pdoc__ = {} | ||
|
||
for n in NOT_IN_ALL: | ||
__pdoc__[n] = False |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'm curious if this is really needed.
https://pdoc3.github.io/pdoc/doc/pdoc/#what-objects-are-documented
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It seems like pdoc if a directory has an init.py, pdoc is considering it a submodule. Even if it's not in all. Technically these modules are importable in a normal, non-package setup, so I guess it makes sense as a default behavior.
.changeset/tame-cows-listen.md
Outdated
"livekit-agents": patch | ||
"livekit-plugins-anthropic": patch | ||
"livekit-plugins-azure": patch | ||
"livekit-plugins-browser": patch | ||
"livekit-plugins-cartesia": patch | ||
"livekit-plugins-deepgram": patch | ||
"livekit-plugins-elevenlabs": patch | ||
"livekit-plugins-google": patch | ||
"livekit-plugins-nltk": patch | ||
"livekit-plugins-openai": patch | ||
"livekit-plugins-playht": patch | ||
"livekit-plugins-rag": patch | ||
"livekit-plugins-silero": patch |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
No need to patch
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Going to be noisy otherwise
livekit-plugins/livekit-plugins-nltk/livekit/plugins/nltk/__init__.py
Outdated
Show resolved
Hide resolved
…it__.py Co-authored-by: Théo Monnom <[email protected]>
No description provided.