-
Notifications
You must be signed in to change notification settings - Fork 294
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
Restructure Cookbook #404
Restructure Cookbook #404
Conversation
btw, if you ever need reviewing, feel free to ping me on gitter! |
@AndyGauge this starts to look awesome. Just few thoughts.
I'm really interested on your thoughts! |
@budziq Thank you for the kind words. I'm using rust-lang/mdBook#682 as mdBook. It is a work in progress. The lastest version was before I incorporated relative path checking. I haven't addressed the brokeness inside of the old categories. I"m trying to address dead links as I go, but this PR is far from finished. I expect to do a final manual pass once it is complete to address the broken tables and links. I am all for link verification post processing, but not blocking progress forward. I'm hoping to generate tables on the fly eventually. If we keep mdBook I'm happy to write a TOC generator. I'm hoping this much include syntax will be replaced eventually with a generator, but the idea is to break it up first. I envision a layout file, either TOML or YAML that generates everything. Again, I do appreciate the thoughts. Last few days have been hacking away at mdBook and not the cookbook. |
I tottally agree. I'll try to find some time to add linkcheckers and linters to CI next week. It has been bugging me for some time already. The layout file sounds very interesting! Please feel free to make a braindump with the details somewhere (possibly a separate issue in the repo might be a good place for discussion and getting help from contributors). Sorry for closing the PR. Darn this mobile GitHub interface. |
Very cool! Thanks! |
FYI, #356 is open for checking links |
@ludwigpacifici Yep, I've opened it a long while ago and it has been nagging me since then ;) I hope to find some time to address it mid next week. |
I'm thinking about redoing the includes so I can release this on mdbook 0.1.7 |
5fafd9f
to
86fc014
Compare
merge artifacts removed
src/web/clients/api/rate-limited.md
Outdated
@@ -69,5 +69,5 @@ fn run() -> Result<()> { | |||
# quick_main!(run); | |||
``` | |||
|
|||
[`hyper::header!`]: https://docs.rs/hyper/*/hyper/macro.header.html | |||
[`hyper::header!`]: https://doc.servo.org/hyper/header/index.html#defining-custom-headers |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This basically just references the 0.11 branch without breaking the wildcard rule. Not ideal, but #419 should solve it.
src/web/clients/api/rest-head.md
Outdated
@@ -2,7 +2,7 @@ | |||
|
|||
[![reqwest-badge]][reqwest] [![cat-net-badge]][cat-net] | |||
|
|||
Query the [GitHub Users Endpoint](https://api.github.com/users) using a HEAD |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It fails the link-checker, and didn't add any value. The url is hard coded in the code sample
@AndyGauge This is a fantastic step forward! Just a few notes going through:
|
@aturon I had a tough time fitting all the recipes into categories--I may just need to create memory management and move lazy static there. Some of the series that I created were meant to divide the recipes in half to make them easier to digest. Sometimes the categories didn't fit the recipes. In Time/date, it probably makes sense to make a third series. Can we petition crates.io to make an error handling category? Since we can't stuff it anywhere else in the cookbook I'll create a new root category for it. |
@aturon I've worked through each of the comments, though some of them don't have great solutions. Did you want to review the updates? |
Please consider the following changes ...
|
@sandeep-datta Thank you for your review! I actually do think Development tools is the right place for Versioning. I feel that change management might refer to state machines and not the development process. I'm wrong a lot though. I certainly could see Encoding being renamed to Encoding / Decoding. I'll probably do that. We are trying to align the cookbook with the crates.io categories: https://crates.io/categories |
I have never heard of change management being used in that sense but I think I should have said Configuration Management in the first place.
Well this is unfortunate but understandable. You may be already doing this but if I were you I'd make sure to look at the crates already using the chosen categories. If you were to look at the crates with "version" in their name you'd notice that most of them could have used a more appropriate category. I, for one, don't believe the list of categories on crates.io is complete by any means. But you be the judge. Thanks again for all the hard work that you have put into this PR regardless of what you decide. |
support for additional linters (link-checker & aspell) (rust-lang-nursery#410) * Added support for additional linters (html-proofer link checker) - added additional test matrix item just for linters - install and build mdbook only when needed to speedup CI - reorganized the travis scripts * Added spellchecking script from rust-book to CI also fixed minor typos * updated and moved serde_json links to propper position * move link checking to link-checker Move errors reorganize datetime add contributing instructions merge master Renamed categories to avoid confusion fixed broken links Use mdbook master branch until 0.1.8 releases Revert "Use mdbook master branch until 0.1.8 releases" This reverts commit a8dd8e3.
See it here
Fixes #375
Fixes #280
Fixes #139
Fixes #408
Fixes #421
link-checker ./book/
Summary: seen:5735 failed:0 unique:877