Skip to content

Commit

Permalink
Added logo to docs (#124)
Browse files Browse the repository at this point in the history
* Added logo to docs

* exclude creation script
  • Loading branch information
adarshpalaskar1 committed Apr 10, 2024
1 parent bef6e8f commit 806dc6d
Show file tree
Hide file tree
Showing 4 changed files with 251 additions and 1 deletion.
5 changes: 4 additions & 1 deletion docs/make.jl
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,10 @@ using Documenter, FerriteViz, WGLMakie
makedocs(sitename="FerriteViz",
modules=[FerriteViz],
authors="Maximilian Köhler",
format=Documenter.HTML(prettyurls=false),
format=Documenter.HTML(
prettyurls=false,
assets = ["assets/custom.css", "assets/favicon.ico"],
),
pages=["Home"=> "index.md",
"Tutorial" => "tutorial.md",
"Advanced Topics" => "atopics.md",
Expand Down
4 changes: 4 additions & 0 deletions docs/src/assets/custom.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
html.theme--documenter-light body div#documenter nav.docs-sidebar a.docs-logo img,
html.theme--documenter-dark body div#documenter nav.docs-sidebar a.docs-logo img {
max-height: 10rem;
}
Binary file added docs/src/assets/favicon.ico
Binary file not shown.

0 comments on commit 806dc6d

Please sign in to comment.