Skip to content

Commit

Permalink
Update README for clear explanation; Comment out comprehensive-rust b…
Browse files Browse the repository at this point in the history
…ecause of unpublished mdbook-exerciser dependency

Signed-off-by: Hollow Man <[email protected]>
  • Loading branch information
HollowMan6 committed Apr 7, 2023
1 parent d884679 commit 0131e0e
Show file tree
Hide file tree
Showing 3 changed files with 19 additions and 19 deletions.
34 changes: 17 additions & 17 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -157,18 +157,18 @@ jobs:
name: "Rust_Nomicon"
backend-depends: ""
static-url: "https://doc.rust-lang.org/nomicon/"
- os: "macos-latest"
repo: "https://github.com/google/comprehensive-rust"
dir: "comprehensive-rust"
name: "Comprehensive_Rust"
backend-depends: "mdbook-svgbob"
static-url: "https://google.github.io/comprehensive-rust/"
- os: "ubuntu-latest"
repo: "https://github.com/google/comprehensive-rust"
dir: "comprehensive-rust"
name: "Comprehensive_Rust"
backend-depends: "mdbook-svgbob"
static-url: "https://google.github.io/comprehensive-rust/"
# - os: "macos-latest"
# repo: "https://github.com/google/comprehensive-rust"
# dir: "comprehensive-rust"
# name: "Comprehensive_Rust"
# backend-depends: "mdbook-svgbob"
# static-url: "https://google.github.io/comprehensive-rust/"
# - os: "ubuntu-latest"
# repo: "https://github.com/google/comprehensive-rust"
# dir: "comprehensive-rust"
# name: "Comprehensive_Rust"
# backend-depends: "mdbook-svgbob"
# static-url: "https://google.github.io/comprehensive-rust/"
- os: "macos-latest"
repo: "https://github.com/CnTransGroup/EffectiveModernCppChinese"
dir: "EffectiveModernCppChinese"
Expand Down Expand Up @@ -295,11 +295,11 @@ jobs:
name: "Rust_Nomicon"
backend-depends: ""
static-url: "https://doc.rust-lang.org/nomicon/"
- repo: "https://github.com/google/comprehensive-rust"
dir: "comprehensive-rust"
name: "Comprehensive_Rust"
backend-depends: "mdbook-svgbob"
static-url: "https://google.github.io/comprehensive-rust/"
# - repo: "https://github.com/google/comprehensive-rust"
# dir: "comprehensive-rust"
# name: "Comprehensive_Rust"
# backend-depends: "mdbook-svgbob"
# static-url: "https://google.github.io/comprehensive-rust/"
- repo: "https://github.com/CnTransGroup/EffectiveModernCppChinese"
dir: "EffectiveModernCppChinese"
name: "Effective_Modern_C++"
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ If you have relative links that link outside the book, please provide the [stati

This should be realized by Chromium, and an issue has already been filed for this [here](https://bugs.chromium.org/p/chromium/issues/detail?id=781797).

Initial support for the bookmark/outline of the PDF file has already been available ([mdbook-pdf-outline](https://pypi.org/project/mdbook-pdf-outline/)). It is written in Python and is another backend for `mdbook` and should be used with `mdbook-pdf` and ***the [mdbook version](https://github.com/rust-lang/mdBook/pull/1738) mentioned in Common Issues 2 for fixing the broken links in `print.html`***.
Initial support for the bookmark/outline of the PDF file has already been available ([mdbook-pdf-outline](https://pypi.org/project/mdbook-pdf-outline/)). It is written in Python and is another backend for `mdbook` and should be used with `mdbook-pdf` and ***the [mdbook version](https://github.com/rust-lang/mdBook/pull/1738) mentioned in Common Issues 2 (by `cargo install --git https://github.com/HollowMan6/mdBook mdbook` instead) for fixing the broken links in `print.html`***.

You can install this backend by `pip install mdbook-pdf-outline`.

Expand Down
2 changes: 1 addition & 1 deletion README_CN.md
Original file line number Diff line number Diff line change
Expand Up @@ -178,7 +178,7 @@ docker run --rm -v /path/to/book:/book hollowman6/mdbook-pdf

这应该由 Chromium 实现,并且目前已经有人为此提交了一个[议题](https://bugs.chromium.org/p/chromium/issues/detail?id=781797)

已经初步实现了对PDF文件书签/大纲的支持([mdbook-pdf-outline](https://pypi.org/project/mdbook-pdf-outline/)). 它是`mdbook`的另一个后端,用Python编写,应与`mdbook-pdf`和常见问题2中提到的修复了`print.html`中损坏链接的[mdbook版本](https://github.com/rust-lang/mdBook/pull/1738)一起使用。
已经初步实现了对PDF文件书签/大纲的支持([mdbook-pdf-outline](https://pypi.org/project/mdbook-pdf-outline/)). 它是`mdbook`的另一个后端,用Python编写,应与`mdbook-pdf`和常见问题2中提到的修复了`print.html`中损坏链接的[mdbook版本](https://github.com/rust-lang/mdBook/pull/1738) (通过 `cargo install --git https://github.com/HollowMan6/mdBook mdbook`安装) 一起使用。

您可以通过`pip install mdbook-pdf-outline`安装此后端。

Expand Down

0 comments on commit 0131e0e

Please sign in to comment.