Skip to content

Commit

Permalink
Fix rustdoc CSS
Browse files Browse the repository at this point in the history
  • Loading branch information
danielhenrymantilla committed Jan 30, 2022
1 parent 47f4e55 commit 034db57
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 6 deletions.
2 changes: 1 addition & 1 deletion Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

5 changes: 4 additions & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ name = "higher-order-closure"
authors = [
"Daniel Henry-Mantilla <daniel.henry.mantilla@gmail.com>"
]
version = "0.0.2" # Keep in sync
version = "0.0.3" # Keep in sync
edition = "2018"

license = "Zlib OR MIT OR Apache-2.0"
Expand All @@ -27,3 +27,6 @@ ui-tests = ["better-docs"]

[package.metadata.docs.rs]
all-features = true
rustdoc-args = [
"--html-before-content", "fix-docsrs-li-details-summary.html",
]
4 changes: 0 additions & 4 deletions cargo_publish.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,6 @@

set -euxo pipefail

(cd src/proc_macros
cargo +stable publish
)

for i in $(seq 10)
do
cargo +stable publish && break
Expand Down
5 changes: 5 additions & 0 deletions fix-docsrs-li-details-summary.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
<style>
summary {
display: list-item;
}
</style>

0 comments on commit 034db57

Please sign in to comment.