commit 0f9b214c49bc98a125ba6e83ed5162b881b6316e
parent 193afabbd94976e0b07187607f8e3a33fc0b626c
Author: Erik Loualiche <[email protected]>
Date: Fri, 6 Feb 2026 09:48:07 -0600
Switch from DocumenterVitepress to Documenter.HTML
DocumenterVitepress was creating content in dev/1/ subfolder but the
root redirect pointed to dev/ which had no index.html, causing 404.
Using plain Documenter.HTML() for simpler, working documentation.
Co-Authored-By: Claude Opus 4.5 <[email protected]>
Diffstat:
3 files changed, 6 insertions(+), 14 deletions(-)
diff --git a/docs/Project.toml b/docs/Project.toml
@@ -1,4 +1,3 @@
[deps]
Documenter = "e30172f5-a6a5-5a46-863b-614d45cd2de4"
-DocumenterVitepress = "4710194d-e776-4893-9690-8d956a29c365"
NickelEval = "a1b2c3d4-e5f6-7890-abcd-ef1234567890"
diff --git a/docs/make.jl b/docs/make.jl
@@ -2,17 +2,17 @@
using NickelEval
using Documenter
-using DocumenterVitepress
makedocs(
- format = MarkdownVitepress(
- repo = "https://github.com/LouLouLibs/NickelEval",
+ format = Documenter.HTML(
+ prettyurls = get(ENV, "CI", nothing) == "true",
+ canonical = "https://louloulibs.github.io/NickelEval",
),
repo = Remotes.GitHub("LouLouLibs", "NickelEval"),
sitename = "NickelEval.jl",
modules = [NickelEval],
authors = "LouLouLibs Contributors",
- pages=[
+ pages = [
"Home" => "index.md",
"Manual" => [
"man/quickstart.md",
@@ -28,8 +28,6 @@ makedocs(
deploydocs(;
repo = "github.com/LouLouLibs/NickelEval",
- target = "build",
devbranch = "main",
- branch = "gh-pages",
push_preview = true,
)
diff --git a/docs/src/index.md b/docs/src/index.md
@@ -65,11 +65,6 @@ NickelEval.jl lets you leverage Nickel's power directly in your Julia workflows.
## Contents
```@contents
-Pages = [
- "man/quickstart.md",
- "man/typed.md",
- "man/export.md",
- "man/ffi.md",
- "lib/public.md",
-]
+Pages = ["man/quickstart.md", "man/typed.md", "man/export.md", "man/ffi.md", "lib/public.md"]
+Depth = 2
```