From a4efbe836977e9580e70b38bd4a131532270b1b2 Mon Sep 17 00:00:00 2001 From: Simon Perriard Date: Thu, 29 Aug 2024 14:22:37 +0200 Subject: [PATCH] Fix example and documentation rendering (#1614) * Fix starky runnable doc example and fix cargo doc * Formatting and Clippy * bump katex version and add config.toml * Update README for local doc and add flag for docs.rs * Add missing whitespace --------- Co-authored-by: Robin Salen <30937548+Nashtare@users.noreply.github.com> Co-authored-by: Ben --- .cargo/config.toml | 2 + .cargo/katex-header.html | 12 +- README.md | 8 + plonky2/.cargo/config.toml | 2 + plonky2/Cargo.toml | 1 + plonky2/src/gates/coset_interpolation.rs | 12 +- starky/.cargo/config.toml | 2 + starky/Cargo.toml | 1 + starky/src/lib.rs | 328 ++++++++--------------- 9 files changed, 137 insertions(+), 231 deletions(-) create mode 100644 .cargo/config.toml create mode 100644 plonky2/.cargo/config.toml create mode 100644 starky/.cargo/config.toml diff --git a/.cargo/config.toml b/.cargo/config.toml new file mode 100644 index 00000000..e7c656f5 --- /dev/null +++ b/.cargo/config.toml @@ -0,0 +1,2 @@ +[build] +rustdocflags = ["--html-in-header", ".cargo/katex-header.html"] diff --git a/.cargo/katex-header.html b/.cargo/katex-header.html index 5db5bc0b..b91d3723 100644 --- a/.cargo/katex-header.html +++ b/.cargo/katex-header.html @@ -1,10 +1,10 @@ - - -