-
Notifications
You must be signed in to change notification settings - Fork 78
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
Documentation issues with intersphinx #379
Comments
I can't say I have experimented with intersphinx before so might need to look into this in more detail, however one thing that stands out is this is using the (very) out of date pythonhosted versions of the documentation. Our current documentation are hosted at Could you try updating your URLs and see if that solves the issue? |
Sadly that seems to give the same result :( |
Ok so looking at the exported objects from devlib documentaion with: The |
Same result apparently:
Looking at the objects, I wonder if the doc structure for devlib/wa isn't throwing sphinx off balance. For instance, using your command on trappy, I can see this:
But for devlib it looks like this:
The objects are all there, so there might be a way to tweak sphinx to correctly fetch them. I'll have a look. |
Had a quick look at it and the issue would likely be solved by adding |
Thanks for finding that, I have tried adding |
Hi Marc, this seems to be better, I've spotted some inconsistencies that once solved should give the proper full names:
Other than that, classes like note: If you want short names in the doc, you can use |
Hi Douglas, I was originally hoping by using the two model directives we could export under both the long and shortened version of the names however that does not seem to be the case so have removed the duplicate so this should hopefully work correctly now. And thanks for the headsup on the typos and the naming shortcut, I have updated the branch and dev version of the documentation accordingly. If you get a chance to test this out / spot any more issues please let me know. |
Hi Marc, The only remaining things are classes/modules that are simply not in the doc ATM, so the other issues seem fixed :) One notable missing reference is a
LISA is integrally documented using autodoc, e.g.: You just need to enable that sphinx extension: reference: |
Thanks for checking that out. I've created a PR with those changes (and the missing The remaining missing module/class documentation is going to be a larger change so will leave that for a later PR however appreciate the information and examples. |
Hi,
I thought I had already raised an issue for this, but just realized that was not the case.
We've been busy writing a shiny new documentation for LISA, but for some reason references to devlib (and workload-automation) fail to be resolved:
(https://my-lisa.readthedocs.io/en/lisa-next/target.html#introduction)
For now we ignore sphinx build errors that mention devlib/wa, but it'd be nice to get these working. I don't really know why these two specific projects cause us problems though - trappy works fine for instance: https://my-lisa.readthedocs.io/en/lisa-next/trace_analysis.html#introduction
FWIW this is our intersphinx mapping:
The text was updated successfully, but these errors were encountered: