mirror of
https://github.com/ash-project/ash.git
synced 2024-09-20 13:33:20 +12:00
docs: fix docs rendering issues
This commit is contained in:
parent
77f6c9526d
commit
a35d4b2b6f
1 changed files with 5 additions and 2 deletions
7
mix.exs
7
mix.exs
|
@ -116,7 +116,6 @@ defmodule Ash.MixProject do
|
||||||
~r"documentation/dsls"
|
~r"documentation/dsls"
|
||||||
]
|
]
|
||||||
],
|
],
|
||||||
assets: %{"livebook.css" => "documentation/assets/livebook.css"},
|
|
||||||
skip_undefined_reference_warnings_on: [
|
skip_undefined_reference_warnings_on: [
|
||||||
"CHANGELOG.md",
|
"CHANGELOG.md",
|
||||||
"documentation/topics/reference/glossary.md",
|
"documentation/topics/reference/glossary.md",
|
||||||
|
@ -138,7 +137,11 @@ defmodule Ash.MixProject do
|
||||||
before_closing_head_tag: fn type ->
|
before_closing_head_tag: fn type ->
|
||||||
if type == :html do
|
if type == :html do
|
||||||
"""
|
"""
|
||||||
<link rel="stylesheet" href="assets/livebooks.css">
|
<style>
|
||||||
|
.livebook-badge-container + pre {
|
||||||
|
display: none;
|
||||||
|
}
|
||||||
|
</style>
|
||||||
<script>
|
<script>
|
||||||
if (location.hostname === "hexdocs.pm") {
|
if (location.hostname === "hexdocs.pm") {
|
||||||
var script = document.createElement("script");
|
var script = document.createElement("script");
|
||||||
|
|
Loading…
Reference in a new issue