aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Cargo.toml2
-rw-r--r--docs-style.html (renamed from docs-rs-ext.css)2
-rw-r--r--macros/Cargo.toml2
l---------macros/docs-style.html1
4 files changed, 5 insertions, 2 deletions
diff --git a/Cargo.toml b/Cargo.toml
index b3dc0a9..9228b2a 100644
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -12,7 +12,7 @@ exclude = ["/.chglog", "/.circleci", "examples", "rustfmt.toml"]
[package.metadata.docs.rs]
all-features = true
-rustdoc-args = ["--cfg", "doc_cfg", "--extend-css", "docs-rs-ext.css"]
+rustdoc-args = ["--cfg", "doc_cfg", "--html-in-header", "docs-style.html"]
[features]
default = ["prevent-circular"]
diff --git a/docs-rs-ext.css b/docs-style.html
index 8db6c2d..1333b44 100644
--- a/docs-rs-ext.css
+++ b/docs-style.html
@@ -1,3 +1,4 @@
+<style>
.cf {
display: flex;
margin-left: 0px;
@@ -26,3 +27,4 @@
.cf strong {
margin-left: 3px;
}
+</style>
diff --git a/macros/Cargo.toml b/macros/Cargo.toml
index c5e5cbd..b9d2e68 100644
--- a/macros/Cargo.toml
+++ b/macros/Cargo.toml
@@ -13,7 +13,7 @@ proc_macro = true
[package.metadata.docs.rs]
all-features = true
-rustdoc-args = ["--cfg", "doc_cfg"]
+rustdoc-args = ["--cfg", "doc_cfg", "--html-in-header", "docs-style.html"]
[features]
factory = ["syrette/factory"]
diff --git a/macros/docs-style.html b/macros/docs-style.html
new file mode 120000
index 0000000..f7faf8d
--- /dev/null
+++ b/macros/docs-style.html
@@ -0,0 +1 @@
+docs-style.html \ No newline at end of file