-
Notifications
You must be signed in to change notification settings - Fork 14
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Deployed docs not rendering anything correctly #183
Comments
You are passing build_vitepress=false to make.jl, if you delete that line it should work. |
@asinghvi17 Sorry, I copied it wrong, I comment that link out in the live version. See here for my exact make.jl. |
Hmm, you might need an |
@asinghvi17 Thanks for the suggestion, unfortunately it didn't seem to work, new make.jl, live site. |
Apparently it works now, absolutely no clue what fixed it. I copied the make.jlusing Documenter, DocumenterVitepress
using Sargassum
using CairoMakie
### VITEPRESS
makedocs(;
sitename = "Sargassum.jl",
authors = "Gage Bonner",
modules = [Sargassum],
checkdocs=:all,
format = DocumenterVitepress.MarkdownVitepress(
repo = "https://github.com/70Gage70/Sargassum.jl",
# md_output_path = ".", # LOCAL ONLY
# build_vitepress = false, # LOCAL ONLY
devbranch = "master",
devurl = "dev";
),
draft = false,
source = "src",
build = "build",
warnonly = true,
# clean = true, # LOCAL ONLY
)
deploydocs(;
repo = "https://github.com/70Gage70/Sargassum.jl",
target = "build",
# versions = nothing,
branch = "gh-pages",
devbranch = "master",
push_preview = true
) |
Building locally with
DocumenterVitepress.dev_docs("build", md_output_path = "")
looks goodBut deploying to github gives this (also, none of the links work):
See the live site here. I'm honestly stumped on this, I've tried to copy the
make.jl
anddocumentation.yaml
as closely as possible but nothing seems to be working.My make.jl
My documentation.yaml
The full repo is here.
It's strange because e.g. here we can see that the build is doing the right things (making the figures in
@example
blocks) but somehow the site itself is just broken.EDIT: Copied wrong version of make.jl.
The text was updated successfully, but these errors were encountered: