fix: build pdf docs (#1864)
Some checks are pending
tinymist::ci / Duplicate Actions Detection (push) Waiting to run
tinymist::ci / Check Clippy, Formatting, Completion, Documentation, and Tests (Linux) (push) Waiting to run
tinymist::ci / Check Minimum Rust version and Tests (Windows) (push) Waiting to run
tinymist::ci / E2E Tests (darwin-arm64 on macos-latest) (push) Blocked by required conditions
tinymist::ci / E2E Tests (linux-x64 on ubuntu-22.04) (push) Blocked by required conditions
tinymist::ci / E2E Tests (linux-x64 on ubuntu-latest) (push) Blocked by required conditions
tinymist::ci / E2E Tests (win32-x64 on windows-2022) (push) Blocked by required conditions
tinymist::ci / E2E Tests (win32-x64 on windows-latest) (push) Blocked by required conditions
tinymist::ci / prepare-build (push) Waiting to run
tinymist::ci / build-binary (push) Blocked by required conditions
tinymist::ci / build-vsc-assets (push) Blocked by required conditions
tinymist::ci / build-vscode (push) Blocked by required conditions
tinymist::ci / build-vscode-others (push) Blocked by required conditions
tinymist::ci / publish-vscode (push) Blocked by required conditions
tinymist::gh_pages / build-gh-pages (push) Waiting to run

* fix: pdf docs

* fix: dirty change

* fix: pollyfill theme-box

* fix: pollyfill rules

* fix:  rules

* fix: again

* fix: 2019 retired
This commit is contained in:
Myriad-Dreamin 2025-07-01 23:05:41 +08:00 committed by GitHub
parent eedcbc477c
commit 9ca77d5382
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
7 changed files with 380 additions and 160 deletions

View file

@ -50,7 +50,7 @@
// #get-book-meta()
// re-export page template
#import "/typ/templates/page.typ": project, is-md-target
#import "/typ/templates/page.typ": is-md-target, project
#let book-page = project
#let cross-link = if is-md-target {
let md-cross-link(lnk, reference: none, content) = {

View file

@ -6,5 +6,7 @@
#show: ebook.project.with(title: [Tinymist Documentation (v#tinymist-package.version)], spec: "book.typ")
#external-book(spec: include "/docs/tinymist/book.typ")
// set a resolver for inclusion
#ebook.resolve-inclusion(it => include it)