-
Notifications
You must be signed in to change notification settings - Fork 59
Docs.rs contains invalid links #170
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
Comments
@pravic I am not sure docs.rs works. The current hyperlinks for the tutorial sections use relative paths. They work as expected in the documentation we hosted via github pages. |
We have separate script that runs rustdoc on standalone markdown files. We use the output files from previous step along the main documentation. I think whatever |
Yes, I saw it.
May be it is better to make them absolute, at least in the root Anyway, I just wanted to stop by and tell you about it :) |
We definitely appreciate your feedback. I can make them aboslute but that will make docs.rs documentation point back to our ghpages documentation. I am not sure whether that is good or bad in web world. Do you have any idea how |
No, unfortunately I can't help you. But you can ask at https://github.com/onur/docs.rs Personally, I would prefer an absolute link rather than 404. |
@pravic I have addressed this differently couple of days ago. I have refactored tutorials to use mdbook and just hyperlinking in the main documentation. http://arrayfire.org/arrayfire-rust/arrayfire/index.html
I have also added the following to cargo.toml [package.metadata.docs.rs]
rustdoc-args = [ "--html-in-header", "./scripts/mathjax.script", ] Docs.rs shouldn't have any issue generating the documentation now. |
All issues related to docs-rs documentation generation are fixed now. the mdbook is being redirected to the one hosted on our gh-pages. |
In particular, the Tutorials section: https://docs.rs/arrayfire/3.5.0/arrayfire/#tutorials
The text was updated successfully, but these errors were encountered: