Skip to content

Commit

Permalink
Update rustdoc example scraping config
Browse files Browse the repository at this point in the history
  • Loading branch information
hsanzg committed Jan 25, 2024
1 parent 8b428cd commit 473e611
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 5 deletions.
7 changes: 3 additions & 4 deletions Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "exact-covers"
version = "0.1.0"
version = "0.1.1"
description = "A collection of exact cover solvers"
authors = ["Hugo Sanz González <hugo@hgsg.me>"]
license = "MIT"
Expand All @@ -17,6 +17,5 @@ edition = "2021"
# Taken from https://docs.rs/rustdoc-katex-demo/latest/rustdoc_katex_demo/
# To build locally, run RUSTDOCFLAGS="--html-in-header misc/katex-header.html" cargo +nightly doc -Zunstable-options -Zrustdoc-scrape-examples --no-deps --document-private-items
[package.metadata.docs.rs]
rustdoc-args = ["-Zunstable-options", "-Zrustdoc-scrape-examples", "--html-in-header", "misc/katex-header.html"]

[dependencies]
cargo-args = ["-Zunstable-options", "-Zrustdoc-scrape-examples"]
rustdoc-args = ["--html-in-header", "misc/katex-header.html"]
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ that apply these algorithms to a variety of problems:
[dl]: https://arxiv.org/pdf/cs/0011047.pdf
[taocp4b]: https://www-cs-faculty.stanford.edu/~knuth/taocp.html#vol4
[`ExactCovers`]: https://docs.rs/exact-covers/latest/exact-covers/xc/struct.ExactCovers.html
[`ColoredExactCover`]: https://docs.rs/exact-covers/latest/exact-covers/xcc/struct.ColoredExactCovers.html
[`ColoredExactCovers`]: https://docs.rs/exact-covers/latest/exact-covers/xcc/struct.ColoredExactCovers.html
[`langford_pairs.rs`]: examples/langford_pairs.rs
[Langford pairings]: https://en.wikipedia.org/wiki/Langford_pairing
[`polycube_packing.rs`]: examples/polycube_packing.rs
Expand Down

0 comments on commit 473e611

Please sign in to comment.