commit 31fb5c4c01ae84b59dd85ed99fcdf7be98fb7a30
parent 5faeb3e704b567c33dd3eef7c43492095f8b855a
Author: Erik Loualiche <[email protected]>
Date: Tue, 20 May 2025 14:11:59 -0500
cleaner doc away from vitepress
Diffstat:
1 file changed, 21 insertions(+), 15 deletions(-)
diff --git a/docs/make.jl b/docs/make.jl
@@ -12,20 +12,25 @@ using DocumenterVitepress
# --
makedocs(
- # format = Documenter.HTML(),
- format = MarkdownVitepress(
- repo = "https://github.com/eloualiche/BazerData.jl",
- devurl = "dev",
- devbranch = "build",
- deploy_url = "eloualiche.github.io/BazerData.jl",
- description = "BazerData.jl",
+ format = Documenter.HTML(
+ size_threshold = 512_000, # KiB — raise above your largest file
+ size_threshold_warn = 256_000, # optional
+ example_size_threshold = 200_000, # bytes — for large @example blocks
),
- repo = Remotes.GitHub("eloualiche", "BazerData.jl"),
+ # format = MarkdownVitepress(
+ # repo = "https://github.com/eloualiche/BazerData.jl",
+ # devurl = "dev",
+ # devbranch = "build",
+ # deploy_url = "eloualiche.github.io/BazerData.jl",
+ # description = "BazerData.jl",
+ # ),
+ # repo = Remotes.GitHub("eloualiche", "BazerData.jl"),
sitename = "BazerData.jl",
modules = [BazerData],
authors = "Erik Loualiche",
- version = "0.7.1",
+ # version = "0.7.1",
# version = "dev",
+ version = "",
pages=[
"Home" => "index.md",
"Manual" => [
@@ -39,24 +44,25 @@ makedocs(
"lib/public.md",
"lib/internals.md"
]
- ]
+ ],
+
)
deploydocs(;
repo = "github.com/eloualiche/BazerData.jl",
target = "build", # this is where Vitepress stores its output
- devbranch = "main",
+ # devbranch = "main",
branch = "gh-pages",
push_preview = true,
# versions = ["dev"] # This specifies which versions to deploy
)
-# deploydocs(;
-# repo = "github.com/eloualiche/BazerData.jl",
-# devbranch = "build",
-# )
+deploydocs(;
+ repo = "github.com/eloualiche/BazerData.jl",
+ devbranch = "build",
+)
# deploydocs(;
# repo = "github.com/eloualiche/BazerData.jl",