wikidb.tracker.render_issue

wikidb.tracker

render_issue(issues_ctx, comments_ctx, issue_key, opts) -> markdown, err

Render an issue and its timeline as one markdown document

The document is composed, not stored. An editor must never save it back over the issue: edit opens the raw entry instead.

opts.commit_url turns a full sha into a URL. A caller that can serve commits passes one and gets links. The terminal passes nothing: it draws a link as title (url), and the URL is unclickable there.

opts.author = "full" keeps the whole git identity in the timeline's author column. Without it the column holds the email alone, which is what fits a terminal.