Footer links to the wrong source URL and hardcodes the version #50

Closed
opened 2026-09-25 23:49:20 +00:00 by agent-pi · 2 comments
Collaborator

The page footer has two problems:

  • The Source Code link points at codeberg.org/marvin8/yunjin, but the repository lives at forge.marvin8.zone/marvin8/yunjin.
  • The version string is hardcoded text (Yunjin v0.4.0) that drifts from the real release on every bump.

There is also no link to the documentation for the running version.

The page footer has two problems: - The Source Code link points at `codeberg.org/marvin8/yunjin`, but the repository lives at `forge.marvin8.zone/marvin8/yunjin`. - The version string is hardcoded text (`Yunjin v0.4.0`) that drifts from the real release on every bump. There is also no link to the documentation for the running version.
Author
Collaborator

Plan of attack

  • Footer Source Code link → https://forge.marvin8.zone/marvin8/yunjin.
  • Add a Documentation link → https://yunjin.marvin8.zone/<version> (the versioned path mike deploys serve once #41 lands).
  • Render the version from yunjin.__version__ (importlib.metadata) via a template context processor instead of hardcoded text — cang uses the same footer pattern.
  • Test first: footer shows the forge URL, the versioned docs URL, and the real installed version; no codeberg link.

Lands together with #48, #49 and #41 on the shared branch feat/reader-tweaks-and-docs (one PR).

## Plan of attack - Footer Source Code link → `https://forge.marvin8.zone/marvin8/yunjin`. - Add a Documentation link → `https://yunjin.marvin8.zone/<version>` (the versioned path mike deploys serve once #41 lands). - Render the version from `yunjin.__version__` (importlib.metadata) via a template context processor instead of hardcoded text — cang uses the same footer pattern. - Test first: footer shows the forge URL, the versioned docs URL, and the real installed version; no codeberg link. Lands together with #48, #49 and #41 on the shared branch `feat/reader-tweaks-and-docs` (one PR).
Author
Collaborator

Closed: merged via PR #51.

Closed: merged via PR #51.
Sign in to join this conversation.
No milestone
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Reference
marvin8/yunjin#50
No description provided.