Footer on every page: version, source link, versioned docs link #41
Labels
No labels
Compat/Breaking
Kind/Bug
Kind/Documentation
Kind/Enhancement
Kind/Feature
Kind/Security
Kind/Testing
Priority
Critical
Priority
High
Priority
Low
Priority
Medium
Reviewed
Confirmed
Reviewed
Duplicate
Reviewed
Invalid
Reviewed
Won't Fix
Status
Abandoned
Status
Blocked
Status
Need More Info
No milestone
No assignees
1 participant
Notifications
Due date
No due date set.
Reference
marvin8/xique#41
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?
Pages carry no indication of what is running. A footer on every web page should show the running version, a link to the source repository, and a link to the documentation for that running version (docs are deployed per-version by mike, so the link should point at the matching docs version, not always
latest).No JavaScript.
Plan of attack (rides the
feat/issue-22-invite-minting-onboardingbranch as its own commit, per Marvin8):config.py: two newXIQUE_*settings with instance defaults —source_url(https://forge.marvin8.zone/marvin8/xique) anddocs_base_url(https://xique.marvin8.zone) — so forks can repoint them. Documented in README in the same commit.app.py: at app construction, inject template globals —xique_versionfromimportlib.metadata.version("xique")(single source of truth stayspyproject.toml), the source URL, and the versioned docs URLf"{docs_base_url}/{version}/"(mike deploys each version under its own subpath, confirmed by themikeplugin +version.provider: mikeinmkdocs.yml).base.html: server-rendered footer, no JavaScript.Closes together with #22 via the branch PR.