Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
R
rust-101
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
orestis.malaspin
rust-101
Commits
1dec8f31
Verified
Commit
1dec8f31
authored
1 year ago
by
Michaël El Kharroubi
Browse files
Options
Downloads
Patches
Plain Diff
Add module to build book pdf.
parent
820a060f
No related branches found
No related tags found
1 merge request
!66
Add module to build book pdf.
Pipeline
#26703
failed
1 year ago
Stage: test
Stage: build
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
README.md
+10
-0
10 additions, 0 deletions
README.md
book/book.toml
+5
-0
5 additions, 0 deletions
book/book.toml
with
15 additions
and
0 deletions
README.md
+
10
−
0
View file @
1dec8f31
...
...
@@ -38,6 +38,7 @@ Pour ce faire il faut installer plusieurs programmes:
*
[
mdbook
](
https://rust-lang.github.io/mdBook/
)
pour le livre et les slides,
*
[
modbook-linkcheck
](
https://github.com/Michael-F-Bryan/mdbook-linkcheck
)
pour la vérification des liens su livre,
*
[
mdslides
](
https://github.com/ferrous-systems/mdslides/
)
, uniquement pour les slides.
*
[
mdbook-pdf
](
https://github.com/HollowMan6/mdbook-pdf
)
, pour générer le cours au format pdf.
### Installation de `mdbook`
...
...
@@ -80,6 +81,15 @@ $ ./build_slides.sh
```
L'index des slides se trouve ensuite dans
`slides/index.html`
.
### Installation de `mdbook-pdf`
Pour installer
`mdbook-pdf`
depuis la dernière version de
<https://crates.io/>
```
bash
cargo
install
mdbook-pdf
```
`mdbook-pdf`
nécessite un navigateur de type chromium (Google Chrome / Chromium / Microsoft Edge) installé.
## Inspiration
L'inspiration de ce cours est tirée de trois cours qui ont l'air très bons:
...
...
This diff is collapsed.
Click to expand it.
book/book.toml
+
5
−
0
View file @
1dec8f31
...
...
@@ -11,6 +11,11 @@ mathjax-support = true
[output.html.playground]
editable
=
true
[output.html.print]
enable
=
true
[output.pdf]
[output.linkcheck]
# Should we check links on the internet? Enabling this option adds a
# non-negligible performance impact
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment