Skip to content

Commit b5ffc73

Browse files
authored
Merge pull request #2056 from deining/http_to_https
Convert links from http to https protocol
2 parents efb671a + a2c88ae commit b5ffc73

File tree

7 files changed

+12
-12
lines changed

7 files changed

+12
-12
lines changed

.github/workflows/main.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ jobs:
3434
# sync MSRV with docs: guide/src/guide/installation.md and Cargo.toml
3535
rust: 1.60.0
3636
steps:
37-
- uses: actions/checkout@master
37+
- uses: actions/checkout@v3
3838
- name: Install Rust
3939
run: bash ci/install-rust.sh ${{ matrix.rust }}
4040
- name: Build and run tests
@@ -46,7 +46,7 @@ jobs:
4646
name: Rustfmt
4747
runs-on: ubuntu-latest
4848
steps:
49-
- uses: actions/checkout@master
49+
- uses: actions/checkout@v3
5050
- name: Install Rust
5151
run: rustup update stable && rustup default stable && rustup component add rustfmt
5252
- run: cargo fmt --check

guide/src/format/theme/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# Theme
22

3-
The default renderer uses a [handlebars](http://handlebarsjs.com/) template to
3+
The default renderer uses a [handlebars](https://handlebarsjs.com) template to
44
render your markdown files and comes with a default theme included in the mdBook
55
binary.
66

src/config.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -308,7 +308,7 @@ impl<'de> serde::Deserialize<'de> for Config {
308308
warn!("`description` under a table called `[book]`, move the `destination` entry");
309309
warn!("from `[output.html]`, renamed to `build-dir`, under a table called");
310310
warn!("`[build]`, and it should all work.");
311-
warn!("Documentation: http://rust-lang.github.io/mdBook/format/config.html");
311+
warn!("Documentation: https://rust-lang.github.io/mdBook/format/config.html");
312312
return Ok(Config::from_legacy(raw));
313313
}
314314

src/theme/book.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ function playground_text(playground, hidden = true) {
6868
}
6969

7070
// updates the visibility of play button based on `no_run` class and
71-
// used crates vs ones available on http://play.rust-lang.org
71+
// used crates vs ones available on https://play.rust-lang.org
7272
function update_play_button(pre_block, playground_crates) {
7373
var play_button = pre_block.querySelector(".play-button");
7474

src/theme/tomorrow-night.css

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
/* Tomorrow Night Theme */
2-
/* http://jmblog.github.com/color-themes-for-google-code-highlightjs */
2+
/* https://github.com/jmblog/color-themes-for-highlightjs */
33
/* Original theme - https://github.com/chriskempson/tomorrow-theme */
4-
/* http://jmblog.github.com/color-themes-for-google-code-highlightjs */
4+
/* https://github.com/jmblog/color-themes-for-highlightjs */
55

66
/* Tomorrow Comment */
77
.hljs-comment {

test_book/src/individual/image.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,19 +4,19 @@ For copyright and trademark information on these images, please check [rust-artw
44

55
## A 16x16 image
66

7-
![16x16 rust-lang logo](http://rust-lang.org/logos/rust-logo-16x16.png)
7+
![16x16 rust-lang logo](https://rust-lang.org/logos/rust-logo-16x16.png)
88

99
## A 32x32 image
1010

11-
![32x32 rust-lang logo](http://rust-lang.org/logos/rust-logo-32x32-blk.png)
11+
![32x32 rust-lang logo](https://rust-lang.org/logos/rust-logo-32x32-blk.png)
1212

1313
## A 256x256 image
1414

15-
![256x256 rust-lang logo](http://rust-lang.org/logos/rust-logo-256x256.png)
15+
![256x256 rust-lang logo](https://rust-lang.org/logos/rust-logo-256x256.png)
1616

1717
## A 512x512 image
1818

19-
![512x512 rust-lang logo](http://rust-lang.org/logos/rust-logo-512x512-blk.png)
19+
![512x512 rust-lang logo](https://rust-lang.org/logos/rust-logo-512x512-blk.png)
2020

2121
## A large image
2222

test_book/src/individual/mixed.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ fn main(){
3131

3232
A random image sprinkled in between
3333

34-
![16x16 rust-lang logo](http://rust-lang.org/logos/rust-logo-16x16.png)
34+
![16x16 rust-lang logo](https://rust-lang.org/logos/rust-logo-16x16.png)
3535

3636
---
3737

0 commit comments

Comments
 (0)