Skip to content

Commit

Permalink
Merge pull request #935 from rsteube/update-mdbook
Browse files Browse the repository at this point in the history
updated mdbook
  • Loading branch information
rsteube authored Oct 13, 2023
2 parents 888bdde + d0599cf commit 31a8a78
Show file tree
Hide file tree
Showing 5 changed files with 759 additions and 422 deletions.
11 changes: 7 additions & 4 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -57,10 +57,13 @@ 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
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 \
&& mv mdbook* /usr/local/bin/
ARG version=0.4.35
RUN apt-get update && apt-get install -y unzip \
&& 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 \
&& wget -q "https://github.com/Michael-F-Bryan/mdbook-linkcheck/releases/download/v0.7.7/mdbook-linkcheck.x86_64-unknown-linux-gnu.zip" \
&& unzip mdbook-linkcheck.x86_64-unknown-linux-gnu.zip mdbook-linkcheck \
&& chmod +x mdbook-linkcheck \
&& mv mdbook-linkcheck /usr/local/bin/

FROM base
RUN apt-get update && apt-get install -y libicu72
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 31a8a78

Please sign in to comment.