Commit graph

14 commits

Author SHA1 Message Date
Andrew Gauger
97dabe59ae
Restructure Cookbook (#404) 2018-07-10 14:07:24 -07:00
Andrew Gauger
c991738112
Update template to support FontAwesome move (#427) 2018-07-10 13:23:21 -07:00
Michal Budzynski
43a34ef1cb support search by updating to mdbook 0.1.7 2018-05-16 22:40:39 +02:00
Michal Budzynski
0e07818023 Bumped to the latest mdbook version (0.0.25)
- enabled play button
- added clipboard support
- fixed several bugs on mobile
- new theme
- cleanup of custom css and js
2017-09-11 16:47:08 +02:00
Michal Budzynski
6cd55fe84b fixed links and CI auto-deploy after move to rust-lang-nursery
- fixed stargazers example broken due to repo move
- fixed edit functionality broken due to repo move
2017-07-29 18:38:26 +02:00
David Tolnay
fc2df7fe6e
Minimize padding for the badge columns 2017-05-23 14:44:48 -07:00
Michal Budzynski
2991cbd339 Inline code with hyperlink is now highlighted
Inline code with hyperlink has now the same color
and on hover underline as standard hyperlink.
2017-05-20 08:50:16 +02:00
Michal Budzynski
20c1e2cc95 Hide non essential parts of snippets by default
Updated net.md to hide error_chain boilerplate by default
it can be exposed by selecting the "expand button"
The expand button is no longer hidden
2017-05-20 00:53:56 +02:00
Michal Budzynski
fb85933a59 Added edit button allowing direct edit of given page on GitHub 2017-05-17 11:21:29 +02:00
Michal Budzynski
bdacaf7aa7 Imported default index.hbs to allow customizations 2017-05-17 11:13:32 +02:00
Michal Budzynski
14735ac35f Make consistent table column widths
Added explicit width values for first and second
table columns corresponding to "Recipe" and "Crates".
Please note that this is a broad CSS style for all tables
which will break any non TOC tables.

For a cleaner solution we would need to explicitly
add class attribute to the generated HTML.

resolves: https://github.com/brson/rust-cookbook/issues/42
2017-05-08 09:43:27 +02:00
David Tolnay
323795ee84
No run buttons because they don't support crates 2017-05-07 10:46:57 -07:00
David Tolnay
8a1d447404
Centralize our CSS modifications 2017-05-07 10:44:15 -07:00
Michal Budzynski
42de1c5cea Make the table width consistent
Added theme/book.css. It is a direct copy of the standard mdbook
book.css file with one addition of `width: 100%;` to the `table` style.
Infortunately mdbook allows only to substitute whole book.css.

Moreover please note that due to https://github.com/azerupi/mdBook/issues/227
`theme` directory has to be placed at the project root instead of `src`
2017-05-07 18:41:26 +02:00