-
Notifications
You must be signed in to change notification settings - Fork 129
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
Disable warnings for links to non-existing local files #130
Comments
The fix in #129 works for me. I hope the LaTeX issue can be resolved and the PR merged in soon. |
It wouldn't be a problem to add a configuration option for suppressing those warnings. What about just adding BTW, you should not add |
Yes, adding Adding |
@clenk Would you like to make a PR for that? |
Unfortunately It's unlikely I will have time to, and #135 solved my problem. |
@clenk No problem. I think this feature has been added in Sphinx 1.4 and the documentation says "Now, this option should be considered experimental", so we should probably wait a bit anyway before implementing this. I'm leaving this issue open for now ... |
This is a workaround for some spurious warnings generated by the latest sphinx / nbsphinx combination, cf: spatialaudio/nbsphinx#130 Prefer warnings to remain by default since they alert the dev to faulty links in the docs, etc.
I think this can be closed. If someone still has a problem with those warnings, please leave a comment here! |
tldr; Please support links to sub-sections in non-notebook files.
I'm using nbsphinx with autodoc and autosummary and would like to have a link from one of the notebooks to one of the pages that will be generated by autodoc. In a markdown cell in the notebook I use a link like
[something](../api/something.html#heading)
. In the final output the link works fine, but during the build process sphinx complainsWARNING file not found: 'api/something.html#heading'
.After reading this page in your docs, I added '.html' to
source_suffix
in my sphinx configuration. It doesn't throw a warning if I remove the anchor part of the link, but I need to be able to link to a specific section on the page.The link works fine in the final output, but I want to use a lot of these links and I'm afraid sphinx dumping a ton of these warnings will make it harder to notice more important errors.
The text was updated successfully, but these errors were encountered: