Skip to content

Commit

Permalink
[Docs] try vitepress
Browse files Browse the repository at this point in the history
  • Loading branch information
Moelf committed Mar 25, 2024
1 parent 4972e68 commit 39692f8
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 4 deletions.
1 change: 1 addition & 0 deletions docs/Project.toml
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
[deps]
Documenter = "e30172f5-a6a5-5a46-863b-614d45cd2de4"
DocumenterVitepress = "4710194d-e776-4893-9690-8d956a29c365"
UnROOT = "3cd96dde-e98d-4713-81e9-a4a1b0235ce9"
10 changes: 6 additions & 4 deletions docs/make.jl
Original file line number Diff line number Diff line change
@@ -1,11 +1,13 @@
using Documenter, UnROOT
using DocumenterVitepress

makedocs(;
modules=[UnROOT],
format = Documenter.HTML(
prettyurls = get(ENV, "CI", nothing) == "true",
assets=String[],
),
format=DocumenterVitepress.MarkdownVitepress(repo = "https://github.com/JuliaHEP/UnROOT.jl/", devbranch = "main", devurl = "dev"),
# format = Documenter.HTML(
# prettyurls = get(ENV, "CI", nothing) == "true",
# assets=String[],
# ),
pages=[
"Introduction" => "index.md",
"Example Usage" => "exampleusage.md",
Expand Down

0 comments on commit 39692f8

Please sign in to comment.