Repository navigation
Conversation
The commands and topics move to docs/commands/ and docs/topics/ in valkey and the module repos, and groups.json to valkey's docs/. Read them from there, add VALKEY_LDAP_ROOT and VALKEY_BUNDLE_ROOT for the ldap and bundle topics, and generate the module API reference from valkey's src/module.c instead of reading a committed copy. Signed-off-by: Madelyn Olson <madelyneolson@gmail.com>
Links between repos are absolute, such as https://valkey.io/topics/ldap/. Treat them like the relative links they replace, so they still render as valkey-ldap(7) instead of a URL. Signed-off-by: Madelyn Olson <madelyneolson@gmail.com>
commands/, topics/, nav.yml and groups.json now live in valkey-io/valkey under docs/. Each module's pages and modules-nav/<repo>.yml live in that module's docs/. The module API reference is generated from valkey's src/module.c, so its check against the committed copy goes too. Signed-off-by: Madelyn Olson <madelyneolson@gmail.com>
The spellcheck and link check covered commands/ and topics/, which are gone; valkey and the modules check their own docs now. The man page build checks out valkey-ldap and valkey-bundle for their topics, and installs Ruby and fetches valkey's tags to generate the module API reference. Signed-off-by: Madelyn Olson <madelyneolson@gmail.com>
Valkey versions before the docs moved have no docs/topics/. Say so instead of failing on a missing _build/topics/index.md. Signed-off-by: Madelyn Olson <madelyneolson@gmail.com>
The commands and topics, and the guide for writing them, are in valkey's docs/ and in the module repos. This repo builds the man pages and holds the website's client, module, library and tool data. Signed-off-by: Madelyn Olson <madelyneolson@gmail.com>
8 tasks
Valkey Bundle isn't a module, so its page and menu file stay here instead of moving to valkey-io/valkey-bundle. Restored byte for byte from 7c5512a. Signed-off-by: Madelyn Olson <madelyneolson@gmail.com>
Its relative links to pages that now live in valkey, valkey-json, valkey-bloom, valkey-search and valkey-ldap become absolute valkey.io URLs, the same rewrite madolson/valkey-bundle#1 made. Signed-off-by: Madelyn Olson <madelyneolson@gmail.com>
The Makefile reads this repo's own topics/ after the code repos' docs/, so VALKEY_BUNDLE_ROOT and CI's valkey-bundle checkout go away. The README says the Valkey Bundle page lives here. Signed-off-by: Madelyn Olson <madelyneolson@gmail.com>
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.
The commands, topics, menu and command groups now live in
docs/in valkey and in each module repo, so this deletes them here (except the Valkey Bundle page, which stays) and points the man page build at those repos. The module API reference man page is generated from valkey'ssrc/module.cinstead of a committed copy. Do not promote this until the valkey and module content PRs are merged upstream: until then the man page CI has nothing to build, and the website's fallback copy of every page disappears.AI generated details
Epic: madolson/valkey#233. Spec: valkey-io/valkey#4940.
Depends on, upstream first:
What stays
clients/, libraries/, tools/, modules/, resources/, modules.json, languages.json, tool_types.json (#4940 "Stays in valkey-doc"),
topics/valkey-bundle.mdandmodules-nav/valkey-bundle.yml(Valkey Bundle is not a module; madolson, 2026-11-30), and the man page tooling: Makefile, utils/ (minus check-links.pl).Commits
Build man pages from the docs in the code repositories(Makefile). Pages come from$(ROOT)/docs/commands/and$(ROOT)/docs/topics/of valkey and every module root, groups.json from$(VALKEY_ROOT)/docs/groups.json. AddsVALKEY_LDAP_ROOT: the man7 page forldap.mdis built today. Rules find each source withdoc_pathunder.SECONDEXPANSION, so a generated topic in_build/topics/works like a repo one. The module API reference is generated into_build/topics/modules-api-ref.md;generate-modules-api-ref,verify-modules-api-refand thegit tag -d 8.0.8they ran on your valkey clone are gone.Turn absolute valkey.io page links into man page references(utils/links-to-man.py, behavior change). The content PRs made cross-repo links absolute (https://valkey.io/topics/ldap/). Without this, 12 more man pages render them as URLs instead ofvalkey-ldap(7).Delete the commands and topics moved to the code repositories, pluscheck-modules-api-ref.yml.Update CI ...: drops spellcheck,.spellcheckerrc.yml,wordlist, check-links andutils/check-links.pl(they only read commands/ and topics/). Man page CI checks out valkey-ldap, installs ruby, and fetches valkey withfetch-depth: 0for the "Available since" tags.Fail early when VALKEY_ROOT has no docs/.docs/README.md(new commit da772a5f4 on valkey PR 234).Keep the Valkey Bundle page in valkey-doc:topics/valkey-bundle.mdandmodules-nav/valkey-bundle.ymlrestored byte for byte from 7c5512a.Link the Valkey Bundle page to the pages in the code repos: its 9 relative links (valkey-json, bloomfilters, search, ldap, valkey.conf) becomehttps://valkey.io/topics/<name>/, the same rewrite madolson/valkey-bundle PR 1 made. The file is now identical to that PR's copy.Build the Valkey Bundle man page from topics/ again:docs_inanddoc_pathalso read this repo'stopics/, after the code repos'.VALKEY_BUNDLE_ROOTand CI's valkey-bundle checkout are gone.Decisions
topics/valkey-bundle.mdis the one page left here; it has had 3 commits ever, and the website's link check already covers its links on the built site. Proposal: no spellcheck or link check for it here; if wanted, a spellcheck job on that one file with a short wordlist.trigger-build.ymlis unchanged. It has no path filters; the website still readsmodules.jsonfrom here, and an extra deploy per push is harmless. Proposal: keep.auto-tag-on-merge.ymlstays; MakefileVERSIONstill names the man page release. Proposal: keep.Verification
Man pages, origin/main (7c5512a) against today's upstream repos vs this branch against the staged branches (valkey = 234 + 235 merged), pandoc 3.1.11.1,
.THlines (version/date) dropped:links-to-man.pyskips those) now show the absolute URL instead of plain texthttps://valkey.io/commands/select/link now renders asselect(3valkey)(commit 2)Other checks: a second
make mandoes nothing; without module roots and without Ruby the build succeeds with 65 man7 pages (84 minus 18 module topics and the API reference); a valkey withoutdocs/stops withVALKEY_ROOT must be a Valkey version that has its docs in docs/.make md htmlproduce the same file list as origin/main.Website integration build (website PR 41, all staged branches, this branch as valkey-doc): same 1385
index.htmlfiles as origin/main with upstream sources, 0 broken links, 0 unconverted links.Not verified
docs/yet, so it fails until the content PRs merge.make install).This was generated by AI but verified, with love, by a human.