docs: fix docs rendering issues

This commit is contained in:
Zach Daniel 2024-05-31 10:28:25 -05:00
parent 77f6c9526d
commit a35d4b2b6f

View file

@ -116,7 +116,6 @@ defmodule Ash.MixProject do
~r"documentation/dsls"
]
],
assets: %{"livebook.css" => "documentation/assets/livebook.css"},
skip_undefined_reference_warnings_on: [
"CHANGELOG.md",
"documentation/topics/reference/glossary.md",
@ -138,7 +137,11 @@ defmodule Ash.MixProject do
before_closing_head_tag: fn type ->
if type == :html do
"""
<link rel="stylesheet" href="assets/livebooks.css">
<style>
.livebook-badge-container + pre {
display: none;
}
</style>
<script>
if (location.hostname === "hexdocs.pm") {
var script = document.createElement("script");