8000 docs(inkless:docs): add rules for reference links in inkless docs by gqmelo · Pull Request #942 · aiven/inkless · GitHub
[go: up one dir, main page]

Skip to content

docs(inkless:docs): add rules for reference links in inkless docs - #942

Open
gqmelo wants to merge 1 commit into
improve-markdown-links-valefrom
improve-markdown-links-rules
Open

gqmelo wants to merge 1 commit into
improve-markdown-links-valefrom
improve-markdown-links-rules

Conversation

@gqmelo
@gqmelo gqmelo commented Dec 4, 2026 •
Copy link
Copy Markdown
Collaborator

Stacked on #941.

The changelog and the sync session files cite commit hashes, PR numbers,
tags, and files as plain text, so a reader can't follow them from the
rendered file. Before the existing docs get links, the tools that produce
them need to emit links, so the next changelog entry and the next session
file come out linked.

  • AGENTS.md gains a "Reference links" section: reference-style links with
    the definitions at the end of the section, a format for each kind of
    reference, and rules for upstream references, internal Jira keys,
    long-lived branches, and repository files. A linked reference drops its
    backticks, and a commit shows a short hash but links the full hash.
  • gen-changelog.py links PR numbers, the release and Kafka-line tags in
    the heading, and migration files in the detailed entry, and prints the
    definitions at the end of the entry. The --summary output stays plain
    because GitHub release notes link #N on their own.
  • The changelog skill and the CHANGELOG.md notes describe the links.
  • The session templates show the link format, and the sync guides and
    prompts add the links as part of archiving a session file.

Testing

  • Ran gen-changelog.py --version 0.53 and --version 0.34: the entries
    link their PRs, tags, and migrations, and --summary is unchanged.
  • Ran make vale: no alerts.

🤖 Generated with Claude Code

Comment thread AGENTS.md Resolved
Comment thread AGENTS.md Resolved
Comment thread AGENTS.md Resolved
@gqmelo
gqmelo force-pushed the improve-markdown-links-rules branch from 74c6b83 to fa92dc6 Compare December 4, 2026 13:07
@gqmelo
gqmelo marked this pull request as ready for review December 4, 2026 13:19
@gqmelo
gqmelo added this pull request to stack #944 December 4, 2026 13:20
The changelog and the sync session files cite commit hashes, PR numbers,
tags, and files as plain text, so a reader can't follow them from the
rendered file. Before the existing docs get links, the tools that produce
them need to emit links, so the next changelog entry and the next session
file come out linked.

- `AGENTS.md` gains a "Reference links" section: reference-style links with
  the definitions at the end of the section, a format for each kind of
  reference, and rules for upstream references, internal Jira keys,
  long-lived branches, and repository files. A linked reference drops its
  backticks, and a commit shows a short hash but links the full hash.
- `gen-changelog.py` links PR numbers, the release and Kafka-line tags in
  the heading, and migration files in the detailed entry, and prints the
  definitions at the end of the entry. The `--summary` output stays plain
  because GitHub release notes link `#N` on their own.
- The changelog skill and the `CHANGELOG.md` notes describe the links.
- The session templates show the link format, and the sync guides and
  prompts add the links as part of archiving a session file.

## Test plan

- Ran `gen-changelog.py --version 0.53` and `--version 0.34`: the entries
  link their PRs, tags, and migrations, and `--summary` is unchanged.
- Ran `make vale`: no alerts.

Assisted-by: Claude Opus 5.5
@gqmelo
gqmelo force-pushed the improve-markdown-links-rules branch from fa92dc6 to 7373040 Compare December 4, 2026 13:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant

0