Skip to content

Documentation on doc.rs failed to build mocktopus-0.5.0 #25

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

Closed
n-pochet opened this issue Aug 22, 2018 · 5 comments
Closed

Documentation on doc.rs failed to build mocktopus-0.5.0 #25

n-pochet opened this issue Aug 22, 2018 · 5 comments

Comments

@n-pochet
Copy link
Contributor

Mocktopus' documentation on doc.rs is failing with:

docs.rs failed to build mocktopus-0.5.0
Please check build logs and if you believe this is docs.rs' fault, report into this issue report.

Doc.rs build logs
Looking at the build logs, it is as if the documentation was built with stable rustc.

@CodeSandwich
Copy link
Owner

CodeSandwich commented Aug 22, 2018

Yes, that's right :/ Docs.rs builds with nightly but few months old. It fails on version 0.5.0 because it requires newer compiler, but works for 0.4.1, which docs are luckily still fully up-to-date.

@n-pochet
Copy link
Contributor Author

Ok. Thanks.
Maybe would it be interesting to point to 0.4.1 Docs in README.md?
Or automatically push docs in a dedicated repo (hosted on github pages)?
Also, thanks a lot for your crate! It is awesome. 👍

@CodeSandwich
Copy link
Owner

I like the quick solution with emergency link in every readme, I'll do it very soon 👍

I'm a bit skeptical about putting work into setting up own docs hosting, docs.rs will eventually upgrade and start working again. Also I personally don't like custom-hosted docs, docs.rs is for me the best possible way of publishing them.

@n-pochet
Copy link
Contributor Author

At some point, if https://github.com/onur/docs.rs/pull/229 is merged, it would be possible to specify the rustc version. Which would be handy.

n-pochet added a commit to n-pochet/Mocktopus that referenced this issue Aug 22, 2018
Use latest version of documentation that built on doc.rs
Fixes CodeSandwich#25
n-pochet added a commit to n-pochet/Mocktopus that referenced this issue Aug 22, 2018
Use latest version of documentation that built on doc.rs (0.4.1)
Fixes CodeSandwich#25
n-pochet added a commit to n-pochet/Mocktopus that referenced this issue Aug 22, 2018
Use latest version of documentation that built on doc.rs (0.4.1)
Fixes CodeSandwich#25
n-pochet added a commit to n-pochet/Mocktopus that referenced this issue Aug 22, 2018
Use latest version of documentation that built on doc.rs (0.4.1)
Fixes CodeSandwich#25
@CodeSandwich
Copy link
Owner

Thank you very much :)

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

2 participants