-
Notifications
You must be signed in to change notification settings - Fork 21
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: Create .inv files for downstream projects to consume #293
Comments
Hey, thanks for the nudge!
That's right, but we could generate a Alternatively, if this seems like an okay option. If you set With some minor tweaks, we could make it so other quartodoc projects could use these files like this (similar to sphinx's config): interlinks:
sources:
mypackagedocs:
url: https://mypackagedocs.com/
# look for objects.txt, rather than objects.inv
inv: objects.txt WDYT of that? It's likely that in the future quartodoc will to switch to saving all the downloaded inventories as .txt, since it speeds up doc generation (due to some quirks in how filters work; and the speed of parsing json in quarto). Otherwise, it seems okay to add a flag to save an |
It looks like ibis already has |
Why not skip the config, and first just look for Or actually, I'm building mypackage's docs with mkdocs and mkdocstrings, not quarto and quartodoc. I don't understand the diff between .inv and .txt really, will mkdocstrings be able to parse objects.txt? If it can't, then I would say that we should
|
Good point. @pawamoy, do you know if mkdocstrings python can read inventories stored as a RE
Does setting
quarto sometimes requires manually including files into the build. |
It does! Thank you! I'm going to hold off on suggesting this feat to Ibis until we resolve the .inv/.txt question, because perhaps they will need to switch to .inv |
@machow mkdocstrings-python currently only supports |
I'll plan to add a snapshot test for rendering a sphinx site that consumes a .txt file we produce |
Hi again! Not sure if this is a feature I haven't found yet. Ibis is using quartodoc to build their API reference. I have a downstream library that uses ibis. In the docs for that lib, I would like to be able to link to items in the ibis docs. It looks like quartodoc is currently only able to consume
.inv
files, but not create them, is that right? What would it take to make this happen? This is mostly a nice-to-have so I wouldn't put it anywhere near the top of your todo. Thank you!The text was updated successfully, but these errors were encountered: