Skip to content

Commit 9a5e8db

Browse files
authored
Merge pull request #2926 from ehuss/fix-fa-icons
Fix missing font-awesome icons in the guide
2 parents bc7ca45 + 63c45cd commit 9a5e8db

File tree

3 files changed

+5
-5
lines changed

3 files changed

+5
-5
lines changed

guide/src/format/configuration/renderers.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -145,9 +145,9 @@ The following configuration options are available:
145145
an icon link will be output in the menu bar of the book.
146146
- **git-repository-icon:** The FontAwesome icon class to use for the git
147147
repository link. Defaults to `fab-github` which looks like <i class="fa fab-github"></i>.
148-
If you are not using GitHub, another option to consider is `fa-code-fork` which looks like <i class="fa fa-code-fork"></i>.
148+
If you are not using GitHub, another option to consider is `fa-code-fork` which looks like <i class="fas fa-code-fork"></i>.
149149
- **edit-url-template:** Edit url template, when provided shows a
150-
"Suggest an edit" button (which looks like <i class="fa fa-edit"></i>) for directly jumping to editing the currently
150+
"Suggest an edit" button (which looks like <i class="fas fa-pencil"></i>) for directly jumping to editing the currently
151151
viewed page. For e.g. GitHub projects set this to
152152
`https://github.com/<owner>/<repo>/edit/<branch>/{path}` or for
153153
Bitbucket projects set it to
@@ -178,7 +178,7 @@ The following configuration options are available:
178178
### `[output.html.print]`
179179

180180
The `[output.html.print]` table provides options for controlling the printable output.
181-
By default, mdBook will include an icon on the top right of the book (which looks like <i class="fa fa-print"></i>) that will print the book as a single page.
181+
By default, mdBook will include an icon on the top right of the book (which looks like <i class="fas fa-print"></i>) that will print the book as a single page.
182182

183183
```toml
184184
[output.html.print]

guide/src/format/mdbook.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ nothidden():
7373

7474
## Rust playground
7575

76-
Rust language code blocks will automatically get a play button (<i class="fa fa-play"></i>) which will execute the code and display the output just below the code block.
76+
Rust language code blocks will automatically get a play button (<i class="fas fa-play"></i>) which will execute the code and display the output just below the code block.
7777
This works by sending the code to the [Rust Playground].
7878

7979
```rust

guide/src/guide/reading.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ Tapping the menu bar will scroll the page to the top.
4242
## Search
4343

4444
Each book has a built-in search system.
45-
Pressing the search icon (<i class="fa fa-search"></i>) in the menu bar, or pressing the <kbd>/</kbd> or <kbd>S</kbd> key on the keyboard will open an input box for entering search terms.
45+
Pressing the search icon <i class="fas fa-magnifying-glass"></i> in the menu bar, or pressing the <kbd>/</kbd> or <kbd>S</kbd> key on the keyboard will open an input box for entering search terms.
4646
Typing some terms will show matching chapters and sections in real time.
4747

4848
Clicking any of the results will jump to that section.

0 commit comments

Comments
 (0)