Commit graph

535 commits

Author SHA1 Message Date
Julien Delange
4b1ed71d95 Mime type from filename 2018-07-12 15:21:43 -07:00
Michał Budzyński
254ee9bf43 Hide examples showing custom header setup until a clean solution is available (#430)
Hidden ./src/web/clients/requests/header.md and
./src/web/clients/api/rate-limited.md as the custom header story is being reworked
in https://github.com/hyperium/headers
2018-07-11 13:13:51 -07:00
Michal Budzynski
ab7bedc0a5 bump num to 0.2 2018-07-11 10:59:21 +02:00
Andrew Gauger
97dabe59ae
Restructure Cookbook (#404) 2018-07-10 14:07:24 -07:00
Michał Budzyński
601873ec69 bump error-chain to 0.12 in order to silence unused_doc_comment (#428) 2018-07-10 13:43:57 -07:00
Andrew Gauger
c991738112
Update template to support FontAwesome move (#427) 2018-07-10 13:23:21 -07:00
Frank Drolshagen
5b749edea6 Fix minor grammar error 2018-07-10 14:34:52 +02:00
Andrew Gauger
82e7fde4b7
mdBook 0.1.8 2018-07-09 15:28:04 -07:00
Junjie Huang
47dd9fe17e update link of Range to Uniform in rand example (#420)
* fix broken Rang link

As the rand 0.5 have been published, fix the Range link to Uniform, and correct the example.

* fix conflict from upstream

* Wildcard link to rand's Uniform
2018-07-02 10:29:37 -07:00
Michał Budzyński
0c167cb32c support for additional linters (link-checker & aspell) (#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
2018-06-06 08:33:25 -07:00
Yogesh Choudhary
af25e615d2 fix rand crate example and broken links 2018-06-04 12:58:13 +02:00
Dominik Winecki
78a59fb0f7 Move rand doc links to docs.rs 2018-05-21 21:44:50 +02:00
Dominik Winecki
ad658f8e21 Fix broken rand links 2018-05-21 21:44:50 +02:00
Michal Budzynski
331171bfbb Hotfix for missing FontAwesome on mdBook 0.1.7
cc https://github.com/rust-lang-nursery/rust-cookbook/issues/416
2018-05-16 23:31:25 +02:00
Michal Budzynski
43a34ef1cb support search by updating to mdbook 0.1.7 2018-05-16 22:40:39 +02:00
Dominik Winecki
b83f6c323d Update ring badge link 2018-05-15 14:46:08 +02:00
Dominik Winecki
e62320ef6c Update doc link location for ring crate 2018-05-15 14:46:08 +02:00
Michal Budzynski
6fec9ecfc4 Bump version of logging crates and fix broken links in logging.md 2018-05-15 00:44:18 +02:00
Michal Budzynski
d7c86d0560 bumped crate versions
`csv`, `hyper`, `regex`, `rayon`, `image`
2018-05-15 00:44:18 +02:00
Dominik Winecki
f8c48a096f Fix broken links 2018-05-13 20:44:37 +02:00
Ty Coghlan
deb4ef6783 initial csv-transform (#348)
* typos

* initial csv-transform

changed url parsing into color parsing

* hid boilerplate and added some more documentation
2018-05-08 10:22:08 -07:00
math-foo
50b184cd90 Add example of MIME from string (#406)
* Add example of MIME from string

* Simplify example by removing error-chain
2018-05-02 16:48:34 -07:00
Ludwig PACIFICI
ecc4c2ea4b Added file names modified in the last 24 hours in CWD (#405)
* Update std badge version
* Remove duplicate ex-format-datetime

fixes #399
2018-05-02 16:47:55 -07:00
NiekGr
24602267ea Add example "Parse the MIME type of a HTTP response" (#407)
In this example is shown how the media type of a response, received with
reqwest, can be obtained from it's headers. The media type is then
matched with predefined constants from the mime crate.
2018-05-02 16:46:38 -07:00
Andy Gauge
885130c73f Update github pull request template after CC0 licensing change 2018-04-26 07:17:38 +02:00
Michał Budzyński
843e73ad21 Changed license to CC0 https://creativecommons.org/publicdomain/zero/1.0/ (#210) 2018-04-25 15:28:21 -07:00
Anatoli Babenia
c1f50576e5 Improve description of continous output processing (#380) 2018-04-25 15:23:36 -07:00
Ludwig PACIFICI
20cef5b8d4 Add "Handle errors correctly in main" recipe (#381) 2018-04-24 14:21:41 -07:00
Andrew Gauger
e5dfcd1b2d return recursively, hide error-chain, and remove unused error specification 2018-04-20 09:17:41 +02:00
João Bolila
2d3679b14e Adds example of handle a rate-limited API #93 2018-04-20 09:17:41 +02:00
Andrew Gauger
29dacc6267 Style guide update to include embedded example and sections 2018-04-19 08:29:26 +02:00
jrakow
c8ec1d7076 fix C++ linking example (#385) 2018-04-18 12:49:55 -07:00
Andrew Gauger
8c15ed7c7f
Merge pull request #387 from skierpage/patch-1
rephrase text pattern replacement example
2018-04-18 12:36:46 -07:00
Julien Delange
ef082e79e3 Fix ordering in intro.md 2018-02-25 11:38:03 -08:00
Julien Delange
a3052fbcd8 Fix names ordering in Cargo.toml and links.md 2018-02-25 11:36:38 -08:00
Julien Delange
aa5ca8c7c8 Add example for mime crate 2018-02-25 11:28:06 -08:00
skierpage
e28a69015f
rephrase text pattern replacement example
The example **Replace all occurrences of one text pattern with another pattern** mentions a "British English date pattern" when it's using ISO 8601 dates, see issue #386. Change the explanation and a variable name. Also use the same string in code that's in the explanation Untested, sorry.
2018-01-24 18:25:22 -08:00
Michal Budzynski
333c8a2bfa Bump dependencies and fix buildbreaks 2018-01-11 15:14:43 +01:00
Paul Houghton
8a604f51e4 Replaced mdbook build with mdbook server --open 2018-01-11 10:13:50 +01:00
Paul Houghton
7c3ad4c21e Simplified web launch 2018-01-11 10:13:50 +01:00
Paul Houghton
537ad3845d Removed Rust install link; added Rust general link; fixed per-browser instructions 2018-01-11 10:13:50 +01:00
Paul Houghton
9fefa98ddd Added local mdbook instructions to README.md 2018-01-11 10:13:50 +01:00
Anna Liao
5da134d5d1 create random passwords from a set of allowed characters 2017-12-12 09:31:09 +01:00
Anna Liao
0b3d6ff22a semver example: find the latest version satsifying given range 2017-12-03 13:27:25 +01:00
Ludwig PACIFICI
8543f72ae1 Add "Process child process output continuously" example
fixes #339
2017-12-01 13:00:32 +01:00
Ludwig PACIFICI
b081b640cb Update badge std version from "1.19.0" to "1.22.1" 2017-12-01 13:00:32 +01:00
Ludwig PACIFICI
ba94df655e Add "Avoid discarding errors during error conversions" example (#368)
fixes #215
2017-11-18 16:51:49 +01:00
Pawel Duzinkiewicz
e668fff733 Added "Converting a formatted date to a Unix timestamp and vice versa" recipe
Added "Converting a formatted date to a Unix timestamp and vice versa" recipe
2017-11-16 13:43:08 +01:00
Lenard Pratt
3b1a4f5f94 Adds "converting a local time to UTC time and vice versa" recipe 2017-11-15 14:59:00 +01:00
Jeffrey Crocker
eec1522d90 Add Datelike and Timelike example (#366)
Add Datelike and Timelike example
2017-11-14 00:12:30 +01:00