-
Notifications
You must be signed in to change notification settings - Fork 252
Warnings for relative links to other documents #130
Comments
I am seeing the same thing. I usually run with sphinx option The relative links which warning and then error are Perhaps check for |
Rolling back to version 0.4.0 of recommonmark still logs a warning but doesn't stop the build. |
It seems I forgot to mention here, changing the link from I also use |
Workaround for bug readthedocs/recommonmark#130
Workaround for bug readthedocs/recommonmark#130
* Added page for mailtester and added to index.rst file * Added title for mailtester page * Just testing my SSH key. * Made a start on instructions for use of mailtester * added first image to mailtester docs * Made a start to 'results' section * Added content to mail-tester page * Fixed a couple of formatting issues (text on same line as some images) * re-added missing rdns.png * added meta * correcting metadata * changed linked path: ["What factors affect DNS propagation time?"](/Domains/domains/dnspropagation.html) to (/Domains/domains/dnspropagation.md) * changed link path /DOmains/ssl/types.html to /types.nd * added metadata for ttl.md * changed reference /Domains/safedns/addnewdomain.html to .md * Update IP addresses in getting started pages for ddosx (#376) IP Ranges were missing in the nginx and and apache section * enforce recommonmark version (#383) Workaround for bug readthedocs/recommonmark#130 * New docs page for Windows Update Install options (#379) * Added Windows Update Options Added a page explaining how to change Windows Update installation options * Edited name of Windows Update page Changed name from "Changing Windows Updates Schedules" to "Changing Windows Updates Installation Options" * Fixing Formatting Fixing formatting on the "Changing Windows Updates Installation Options" page * Formatting again Fixing Formatting on "Changing Windows Updates Installation Options" * Formatting Formatting on Windows Updates installation options * Added new folder for Windows tips Added a new folder for Windows tips, and added a first tip page * Fixing file link Fixing image link in TLS Powershell docs page * Fixing image Fixing image again * Changing file name Changing image name to remove number * Moved files folder into Powershell Moved files folder into Powershell * Changing filepath to image * Added eval meta info to TLS page * Added index.rst file * Changed apostrophes for backticks for proper code highlighting * Editing backtick spacing * Removed tips, keeping as just a powershell folder * Removed reference to old Tips folder from index.rst * Added reference to TLS in Powershell article to index.rst * Added eval_rst to Powershell index.rst file As per https://github.com/ukfast/docs.ukfast.co.uk * Typos * Added powershell/index * Updated file names to be lowercase for type * Reverted html -> md changes
We have to do this until readthedocs/recommonmark#130 is fixed.
What happens if you do |
@gibfahn looks like it's the same as |
@asmeurer I'm not seeing any rendering problems when I try this, but what exactly do you mean by "it removes all the formatting from the link text"? Are you saying that something like |
Yes, except I use rendering inside the link, like |
Oh, I see. Yeah, the formatting inside the link text doesn't work unless it's an Hint: I also noticed that |
Are there any plans to fix this issue? I am still seeing it on Sphinx==2.3.1 and recommonmark==0.6.0. Specifically linking to a pre-built HTML document from inside a markdown file produces a warning during the sphinx build. We use it when we reference the output from a doxygen build, although you can reproduce with any local HTML reference. I have tried all the different suggestions above and none work, specifically:
All produce a warning similar to this:
@drrosa is correct that adding the
Which means that enabling warnings becomes once again meaningless to catch broken / stale internal references. (P.S. I think the last post suggested this wasn't an issue except for losing formatting - I don't have any formatting concerns, just a plain old link is fine - so perhaps two separate issues here?) |
We are trying to link to a static
|
These `.json` files are not currently copied to the output directory. This seems to be a problem with the way recommonmark handles links with extensions. See also readthedocs/recommonmark#130 (comment)
FWIW, I've switched from recommonmark to MyST https://myst-parser.readthedocs.io/en/latest/. It is very similar to recommonmark (Markdown syntax with Sphinx), but unlike recommonmark, it adds some syntax to do cross-references, so that issues like this aren't a problem (you can do real cross-references which are checked by Sphinx). |
Same thing happens with relative paths targeting |
I am getting warnings building my site like:
The warnings are coming from relative links to other pages, like
[link](page.html)
. The links in the final site seem to work fine.It used to build fine, so something broke. I don't know if the UserWarning is related.
The text was updated successfully, but these errors were encountered: