Skip to content
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

http://docs.piston.rs/conrod/conrod/ Is broken #1313

Closed
JGHFunRun opened this issue Oct 19, 2019 · 9 comments
Closed

http://docs.piston.rs/conrod/conrod/ Is broken #1313

JGHFunRun opened this issue Oct 19, 2019 · 9 comments

Comments

@JGHFunRun
Copy link

I'm trying to learn Conrod, and I though I would vist http://docs.piston.rs/ to find some examples. When I clicked to top link that said Conrod, it gave 404.

@bvssvni
Copy link
Member

bvssvni commented Oct 19, 2019

We are using https://docs.rs/conrod/0.61.1/conrod/ now. Where did you find the broken link?

@shanehandley
Copy link
Contributor

See also: #1306

@JGHFunRun
Copy link
Author

@bvssvni That would explain it. I think it's fixed now.

@malaire
Copy link

malaire commented Nov 13, 2019

Most links at https://crates.io/crates/conrod are 404, for example "The Guide", "What is Conrod?", etc.

@sbrl
Copy link

sbrl commented Nov 16, 2019

Nope, it is not fixed. I have just run into this when I clicked the "Documentation" link on crates.io in a last-ditch attempt to find an actually useful tutorial (it seems that the next chapter of the tutorial which need to read isn't written yet :-/).

To be honest, I'd love to use conrod - but as a programmer who's new to Rust (but experienced in other languages), the raw documentation isn't of any particular use to me.

Without an effective tutorial, the "easy to use" in the description is rather misleading.

@alberdingk-thijm
Copy link
Contributor

alberdingk-thijm commented Nov 19, 2019

Per the build logs here, this is caused by the xcb crate, which I'm guessing was pulled in for the new TextBox copy-paste functionality in 0.68. xcb has a few dependencies that are probably not installed on docs.rs.

EDIT: Looks like copypasta depends on x11-clipboard, which depends on xcb. It actually looks like this was discussed in the PR #1308.

My package conrod_prompt (see #1299) is also not building due to the same issue. I was able to resolve this for a separate project at least on GitLab by adding a few prerequisites:

before_script:   
    - apt-get update -yqq
    - apt-get install -yqq libxcb-shape0-dev libxcb-xfixes0-dev
  
script:
     - rustc --version && cargo --version  
    - cargo test --all --verbose

@alberdingk-thijm
Copy link
Contributor

Related: rust-lang/docs.rs#471 (comment)

@alberdingk-thijm
Copy link
Contributor

copypasta has now been bumped to 0.6.1, so all existing dependencies no longer rely on xcb 0.8.2. The docs should work on the next docs.rs build.

@alvinhochun
Copy link
Collaborator

I believe this is now irrelevant.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

7 participants