Skip to content

Commit

Permalink
Configure cargo to pass additional flags to rustdoc instead of us…
Browse files Browse the repository at this point in the history
…ing a script.
  • Loading branch information
olson-sean-k committed Apr 12, 2020
1 parent 1cc2a30 commit 89f850f
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 6 deletions.
8 changes: 8 additions & 0 deletions .cargo/config
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
[build]
rustdocflags = [
# TODO: This fails due to a bad interaction with workspaces. `cargo doc`
# from the repository root executes `rustdoc` at the root, but
# `cargo test --doc` executes `rustdoc` within each package, which
# breaks this path.
"--html-in-header=./doc/katex-header.html"
]
6 changes: 0 additions & 6 deletions rustdoc.sh

This file was deleted.

1 comment on commit 89f850f

@olson-sean-k
Copy link
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

See this issue.

Please sign in to comment.