Feat/gitlab group page generation#30
Merged
Merged
Conversation
Add design for opt-in releases/commits/issues sections embedded in the GitlabProjectInfo card, plus a link override. Sections are count-gated (no fetch when unset/<=0), reuse fetchReleases/fetchIssues, add new CommitData + client.getCommits, and support list/cards layouts.
Fold a second feature into the design: append commits/contributors/open-issues/ repository-size pills to the stats row (gated by showStats, best-effort, never aborts the build). Adds getContributorsCount + statistics option on getProject; drops code-lines (no GitLab LOC API).
Includes a fix to src/remark/index.test.ts's fetchers.js mock, which needed a fetchGroupProjects stub after the new registry entry was added.
ebuildy
force-pushed
the
feat/gitlab-group-page-generation
branch
from
July 10, 2026 15:12
4e2b0b4 to
8444246
Compare
Generated project pages are now written as siblings of the declaring page (which must be a folder index: index.mdx/README.mdx) so Docusaurus's autogenerated sidebar nests them beneath it, instead of a separate basePath subfolder. Removes the basePath attribute; the writer shares the folder with the author's index page using a JSON manifest + scoped .gitignore (never touching hand-authored files). Card links resolve via the index page's folder name (linkBase).
…ndex URLs The declaring page is a folder index, served at a directory URL with a trailing slash (e.g. /team/), so a linkBase-prefixed href double-counted the folder (/team/team/<slug>). Cards now link with the bare project slug, which resolves correctly against the trailing-slash URL. Removes the linkBase machinery from the grid, rewrite, and loader.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
No description provided.