Skip to content

Commit

Permalink
rust: Fix KaTeX location
Browse files Browse the repository at this point in the history
  • Loading branch information
felixhekhorn committed May 21, 2024
1 parent 8e44182 commit a57ca34
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 8 deletions.
2 changes: 1 addition & 1 deletion crates/eko/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ rust-version.workspace = true
version.workspace = true

[package.metadata.docs.rs]
rustdoc-args = ["--html-in-header", "../katex-header.html"]
rustdoc-args = ["--html-in-header", "crates/katex-header.html"]

[lib]
name = "ekors"
Expand Down
2 changes: 1 addition & 1 deletion crates/ekore/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ rust-version.workspace = true
version.workspace = true

[package.metadata.docs.rs]
rustdoc-args = ["--html-in-header", "../katex-header.html"]
rustdoc-args = ["--html-in-header", "crates/katex-header.html"]

# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html

Expand Down
12 changes: 6 additions & 6 deletions pyproject.toml.patch
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
diff --git a/pyproject.toml b/pyproject.toml
index 7404d871..a1e3ae66 100644
index 7404d871..3d19827b 100644
--- a/pyproject.toml
+++ b/pyproject.toml
@@ -1,6 +1,20 @@
Expand Down Expand Up @@ -30,11 +30,11 @@ index 7404d871..a1e3ae66 100644
asv-clean = { "shell" = "rm -rf benchmarks/env benchmarks/html benchmarks/results" }
asv = ["asv-run", "asv-publish", "asv-preview"]
+compile = "pip install -e crates/eko/"
+rdocs.cmd = "cargo doc --workspace --manifest-path crates/Cargo.toml --no-deps"
+rdocs.env = { RUSTDOCFLAGS = "--html-in-header katex-header.html" }
+rdocs-view = "xdg-open crates/target/doc/ekors/index.html"
+rdocs-clean = "rm -rf crates/target/doc/"
+rtest = "cargo test --workspace --manifest-path crates/Cargo.toml"
+rdocs.cmd = "cargo doc --workspace --no-deps"
+rdocs.env = { RUSTDOCFLAGS = "--html-in-header crates/katex-header.html" }
+rdocs-view = "xdg-open target/doc/ekors/index.html"
+rdocs-clean = "rm -rf target/doc/"
+rtest = "cargo test --workspace"

[tool.pytest.ini_options]
testpaths = ['tests/', 'benchmarks/']

0 comments on commit a57ca34

Please sign in to comment.