JuliaDocs / DemoCards.jl

Let's focus on writing demos
MIT License
66 stars 14 forks source link

layout doesn't look good for single card #30

Closed johnnychen94 closed 4 years ago

johnnychen94 commented 4 years ago

image

johnnychen94 commented 4 years ago

Oh it's because I forgot to pass asset to format

theme = cardtheme()
examples, postprocess_cb = makedemos("examples")

format = Documenter.HTML(edit_link = "master",
-                         prettyurls = get(ENV, "CI", nothing) == "true")
+                         prettyurls = get(ENV, "CI", nothing) == "true",
+                         assets = [theme])