Skip to content

Commit

Permalink
updated mdbook
Browse files Browse the repository at this point in the history
  • Loading branch information
rsteube committed Oct 13, 2023
1 parent a580cac commit 578b40c
Show file tree
Hide file tree
Showing 5 changed files with 755 additions and 420 deletions.
5 changes: 3 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -57,9 +57,10 @@ RUN wget -qO- "https://github.com/sharkdp/vivid/releases/download/v${version}/vi
&& mv vivid-v${version}-x86_64-unknown-linux-gnu/vivid /usr/local/bin/

FROM base as mdbook
ARG version=0.4.34
ARG version=0.4.35
RUN curl -L "https://github.com/rust-lang/mdBook/releases/download/v${version}/mdbook-v${version}-x86_64-unknown-linux-gnu.tar.gz" | tar -xvz mdbook \
&& curl -L "https://github.com/Michael-F-Bryan/mdbook-linkcheck/releases/download/v0.7.0/mdbook-linkcheck-v0.7.0-x86_64-unknown-linux-gnu.tar.gz" | tar -xvz mdbook-linkcheck \
&& curl -L "https://github.com/Michael-F-Bryan/mdbook-linkcheck/releases/download/v0.7.7/mdbook-linkcheck.x86_64-unknown-linux-gnu.zip" | unzip mdbook-linkcheck \
&& chmod +x mdbook-linkcheck \
&& mv mdbook* /usr/local/bin/

FROM base
Expand Down
5 changes: 4 additions & 1 deletion docs/book.toml
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,13 @@ title = "carapace"

[output.html]
default-theme = "Mocha"
additional-css = ["asciinema/asciinema-player.css", "./theme/catppuccin.css", "./theme/catppuccin-highlight.css"]
additional-css = ["asciinema/asciinema-player.css", "./theme/catppuccin.css"]
additional-js = ["asciinema/asciinema-player.min.js", "asciinema/load.js"]
git-repository-url = "https://github.com/rsteube/carapace"
edit-url-template = "https://github.com/rsteube/carapace/edit/master/docs/{path}"

[output.html.fold]
enable = true

[output.linkcheck]
follow-web-links = true
359 changes: 0 additions & 359 deletions docs/theme/catppuccin-highlight.css

This file was deleted.

Loading

0 comments on commit 578b40c

Please sign in to comment.