mirror of
https://github.com/rust-lang/mdBook
synced 2024-12-13 14:22:35 +00:00
Convert links from http to https protocol
This commit is contained in:
parent
efb671aaf2
commit
a2c88ae0f1
7 changed files with 12 additions and 12 deletions
4
.github/workflows/main.yml
vendored
4
.github/workflows/main.yml
vendored
|
@ -34,7 +34,7 @@ jobs:
|
||||||
# sync MSRV with docs: guide/src/guide/installation.md and Cargo.toml
|
# sync MSRV with docs: guide/src/guide/installation.md and Cargo.toml
|
||||||
rust: 1.60.0
|
rust: 1.60.0
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@master
|
- uses: actions/checkout@v3
|
||||||
- name: Install Rust
|
- name: Install Rust
|
||||||
run: bash ci/install-rust.sh ${{ matrix.rust }}
|
run: bash ci/install-rust.sh ${{ matrix.rust }}
|
||||||
- name: Build and run tests
|
- name: Build and run tests
|
||||||
|
@ -46,7 +46,7 @@ jobs:
|
||||||
name: Rustfmt
|
name: Rustfmt
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@master
|
- uses: actions/checkout@v3
|
||||||
- name: Install Rust
|
- name: Install Rust
|
||||||
run: rustup update stable && rustup default stable && rustup component add rustfmt
|
run: rustup update stable && rustup default stable && rustup component add rustfmt
|
||||||
- run: cargo fmt --check
|
- run: cargo fmt --check
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
# Theme
|
# Theme
|
||||||
|
|
||||||
The default renderer uses a [handlebars](http://handlebarsjs.com/) template to
|
The default renderer uses a [handlebars](https://handlebarsjs.com) template to
|
||||||
render your markdown files and comes with a default theme included in the mdBook
|
render your markdown files and comes with a default theme included in the mdBook
|
||||||
binary.
|
binary.
|
||||||
|
|
||||||
|
|
|
@ -308,7 +308,7 @@ impl<'de> serde::Deserialize<'de> for Config {
|
||||||
warn!("`description` under a table called `[book]`, move the `destination` entry");
|
warn!("`description` under a table called `[book]`, move the `destination` entry");
|
||||||
warn!("from `[output.html]`, renamed to `build-dir`, under a table called");
|
warn!("from `[output.html]`, renamed to `build-dir`, under a table called");
|
||||||
warn!("`[build]`, and it should all work.");
|
warn!("`[build]`, and it should all work.");
|
||||||
warn!("Documentation: http://rust-lang.github.io/mdBook/format/config.html");
|
warn!("Documentation: https://rust-lang.github.io/mdBook/format/config.html");
|
||||||
return Ok(Config::from_legacy(raw));
|
return Ok(Config::from_legacy(raw));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -68,7 +68,7 @@ function playground_text(playground, hidden = true) {
|
||||||
}
|
}
|
||||||
|
|
||||||
// updates the visibility of play button based on `no_run` class and
|
// updates the visibility of play button based on `no_run` class and
|
||||||
// used crates vs ones available on http://play.rust-lang.org
|
// used crates vs ones available on https://play.rust-lang.org
|
||||||
function update_play_button(pre_block, playground_crates) {
|
function update_play_button(pre_block, playground_crates) {
|
||||||
var play_button = pre_block.querySelector(".play-button");
|
var play_button = pre_block.querySelector(".play-button");
|
||||||
|
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
/* Tomorrow Night Theme */
|
/* Tomorrow Night Theme */
|
||||||
/* http://jmblog.github.com/color-themes-for-google-code-highlightjs */
|
/* https://github.com/jmblog/color-themes-for-highlightjs */
|
||||||
/* Original theme - https://github.com/chriskempson/tomorrow-theme */
|
/* Original theme - https://github.com/chriskempson/tomorrow-theme */
|
||||||
/* http://jmblog.github.com/color-themes-for-google-code-highlightjs */
|
/* https://github.com/jmblog/color-themes-for-highlightjs */
|
||||||
|
|
||||||
/* Tomorrow Comment */
|
/* Tomorrow Comment */
|
||||||
.hljs-comment {
|
.hljs-comment {
|
||||||
|
|
|
@ -4,19 +4,19 @@ For copyright and trademark information on these images, please check [rust-artw
|
||||||
|
|
||||||
## A 16x16 image
|
## A 16x16 image
|
||||||
|
|
||||||
![16x16 rust-lang logo](http://rust-lang.org/logos/rust-logo-16x16.png)
|
![16x16 rust-lang logo](https://rust-lang.org/logos/rust-logo-16x16.png)
|
||||||
|
|
||||||
## A 32x32 image
|
## A 32x32 image
|
||||||
|
|
||||||
![32x32 rust-lang logo](http://rust-lang.org/logos/rust-logo-32x32-blk.png)
|
![32x32 rust-lang logo](https://rust-lang.org/logos/rust-logo-32x32-blk.png)
|
||||||
|
|
||||||
## A 256x256 image
|
## A 256x256 image
|
||||||
|
|
||||||
![256x256 rust-lang logo](http://rust-lang.org/logos/rust-logo-256x256.png)
|
![256x256 rust-lang logo](https://rust-lang.org/logos/rust-logo-256x256.png)
|
||||||
|
|
||||||
## A 512x512 image
|
## A 512x512 image
|
||||||
|
|
||||||
![512x512 rust-lang logo](http://rust-lang.org/logos/rust-logo-512x512-blk.png)
|
![512x512 rust-lang logo](https://rust-lang.org/logos/rust-logo-512x512-blk.png)
|
||||||
|
|
||||||
## A large image
|
## A large image
|
||||||
|
|
||||||
|
|
|
@ -31,7 +31,7 @@ fn main(){
|
||||||
|
|
||||||
A random image sprinkled in between
|
A random image sprinkled in between
|
||||||
|
|
||||||
![16x16 rust-lang logo](http://rust-lang.org/logos/rust-logo-16x16.png)
|
![16x16 rust-lang logo](https://rust-lang.org/logos/rust-logo-16x16.png)
|
||||||
|
|
||||||
---
|
---
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue