Publish docs to wuming.marvin8.zone via grebedoc #30
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
WuMing has MkDocs documentation but it is not currently published anywhere accessible. We want to serve it at https://wuming.marvin8.zone using grebedoc.dev, which hosts the
pagesbranch of a Codeberg repository as a static site.Three repo changes are needed:
Findings: grebedoc serves the
pagesbranch as a static website. The current MkDocs setup usesmikefor versioned docs, but mike defaults to pushing togh-pages. Also,site_urlinmkdocs.ymlcurrently points to the Codeberg repo URL rather than the docs domain.Plan:
mkdocs.yml— updatesite_urltohttps://wuming.marvin8.zone(fixes canonical URLs and sitemap).mkdocs.yml— addbranch: pagesto the mike plugin config so mike pushes built HTML to thepagesbranch that grebedoc expects..woodpecker/docs.yml— pipeline that runs on release/tag events, callsmike deploywith the release version and updates thelatestalias, then pushes thepagesbranch to the remote.DNS setup (outside the repo): TXT record at
_git-pages-repository.wuming.marvin8.zonefor domain ownership verification, plus A/AAAA or CNAME pointing to grebedoc.dev.