Skip to content

Commit

Permalink
docs: add transitiongrid theme
Browse files Browse the repository at this point in the history
  • Loading branch information
brucala authored and frankier committed Jan 3, 2024
1 parent c96c33e commit ee22433
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 3 deletions.
5 changes: 4 additions & 1 deletion docs/make.jl
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,10 @@ grid_demopage, grid_cb, grid_assets = makedemos(joinpath("theme_gallery", "grid"
list_demopage, list_cb, list_assets = makedemos(joinpath("theme_gallery", "list"))
nocoverlist_demopage, nocoverlist_cb, nocoverlist_assets = makedemos(joinpath("theme_gallery", "nocoverlist"))
bulmagrid_demopage, bulmagrid_cb, bulmagrid_assets = makedemos(joinpath("theme_gallery", "bulmagrid"))
transitiongrid_demopage, transitiongrid_cb, transitiongrid_assets = makedemos(joinpath("theme_gallery", "transitiongrid"))
bokehlist_demopage, bokehlist_cb, bokehlist_assets = makedemos(joinpath("theme_gallery", "bokehlist"))

assets = collect(filter(x->!isnothing(x), Set([quickstart_assets, themeless_assets, grid_assets, list_assets, nocoverlist_assets, bulmagrid_assets, bokehlist_assets])))
assets = collect(filter(x->!isnothing(x), Set([quickstart_assets, themeless_assets, grid_assets, list_assets, nocoverlist_assets, bulmagrid_assets, transitiongrid_assets, bokehlist_assets])))

# 2. normal Documenter usage
format = Documenter.HTML(edit_link = "master",
Expand All @@ -31,6 +32,7 @@ makedocs(format = format,
themeless_demopage,
grid_demopage,
bulmagrid_demopage,
transitiongrid_demopage,
list_demopage,
nocoverlist_demopage,
bokehlist_demopage,
Expand All @@ -43,6 +45,7 @@ makedocs(format = format,
postprocess_cb()
themeless_cb()
bulmagrid_cb()
transitiongrid_cb()
bokehlist_cb()
grid_cb()
list_cb()
Expand Down
4 changes: 2 additions & 2 deletions docs/quickstart/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -118,12 +118,12 @@ your page config file (e.g., `docs/quickstart/config.json`):
}
```

There are three themes available now:
There are six themes available now:

* `"nothing"`(default): index page and associated assets will not be generated, instead, it will use
the sidebar generated by Documenter.jl to navigate through pages. This is the default option when
you doesn't configure `"theme"`.
* `"grid"`, `"bulmagrid"` and `"list"`: an index page and associated cover images are generated
* `"grid"`, `"bulmagrid"`, `"transitiongrid"`, `"list"` and `"bokehlist"`: an index page and associated cover images are generated

Please check the "Theme Gallery" part for a preview of these themes.

Expand Down

0 comments on commit ee22433

Please sign in to comment.