Skip to content

Commit

Permalink
update Documenter -> 1.0
Browse files Browse the repository at this point in the history
  • Loading branch information
cormullion committed Sep 16, 2023
1 parent 945cf26 commit 9816d15
Show file tree
Hide file tree
Showing 5 changed files with 54 additions and 120 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@
## Changed

- updated ScientificColorSchemes to version 8.0.0. Note that some schemes (grayC bilbao lajolla acton bamako batlowK tokyo) have changed since their 7.0 release - see their version history for details.
- use Documenter v1

### Removed

Expand Down
2 changes: 1 addition & 1 deletion docs/Project.toml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ ColorVectorSpace = "c3611d14-8923-5661-9e6a-0046d554d3a4"
ColorTypes = "0.9, 0.10, 0.11"
Colors = "0.9, 0.10, 0.11, 0.12, 0.13"
ColorVectorSpace = "0.9, 0.10"
Documenter = "0.27.3"
Documenter = "1"
FixedPointNumbers = "0.6, 0.7, 0.8"
Luxor = "2, 3"
julia = "1"
Expand Down
2 changes: 2 additions & 0 deletions docs/make.jl
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,9 @@ using Documenter, ColorSchemes, Luxor
makedocs(
modules = [ColorSchemes],
sitename = "ColorSchemes",
warnonly = [:missing_docs],
format = Documenter.HTML(
size_threshold = nothing,
prettyurls = get(ENV, "CI", nothing) == "true",
assets = ["assets/colorschemes-docs.css"]),
pages = Any[
Expand Down
50 changes: 50 additions & 0 deletions docs/src/assets/colorschemes-docs.css
Original file line number Diff line number Diff line change
@@ -1,3 +1,53 @@
/* change BulmaDark's color */

html.theme--documenter-dark body,
html.theme--documenter-dark #documenter .docs-sidebar {
background-color: hsl(237, 20%, 10%);
}

html.theme--documenter-dark .content pre,
html.theme--documenter-dark pre,
html.theme--documenter-dark .documenter-example-output,
html.theme--documenter-dark #documenter .docs-main header.docs-navbar {
background-color: hsl(237, 20%, 12%);
border: 0.5px solid hsla(237, 20%, 10%, 0.3) !important;
}

html.theme--documenter-dark .docstring {
background-color: hsl(237, 20%, 18%);
}
html.theme--documenter-dark .docstring>header {
background-color: hsl(237, 20%, 18%);
}

html.theme--documenter-dark .modal-card-body ,
html.theme--documenter-dark .modal-card-head ,
html.theme--documenter-dark .modal-card-foot {
background-color: hsl(237, 20%, 10%);
}

html.theme--documenter-dark #documenter .docs-sidebar ul.docs-menu {
background-color: hsl(237, 20%, 10%);
}

html.theme--documenter-dark #documenter .docs-sidebar ul.docs-menu li.is-active {
background-color: hsl(237, 20%, 10%);
}

html.theme--documenter-dark #documenter .docs-sidebar ul.docs-menu .tocitem,
html.theme--documenter-dark #documenter .docs-sidebar ul.docs-menu .tocitem:hover,
html.theme--documenter-dark #documenter .docs-sidebar ul.docs-menu li.is-active .tocitem,
html.theme--documenter-dark #documenter .docs-sidebar ul.docs-menu li.is-active .tocitem:hover {
background-color: hsl(237, 20%, 10%);
}

html.theme--documenter-dark body {
color: #eff;
font-size: 1.1em;
font-weight: 400;
line-height: 1.8rem;
}

p > a:after {
content: "→";
font-size: 50%;
Expand Down
119 changes: 0 additions & 119 deletions docs/src/gallery.md

This file was deleted.

0 comments on commit 9816d15

Please sign in to comment.