Skip to content

docs: generate man pages#48

Merged
shikaan merged 5 commits intomainfrom
feat/man-docs
Mar 18, 2026
Merged

docs: generate man pages#48
shikaan merged 5 commits intomainfrom
feat/man-docs

Conversation

@shikaan
Copy link
Copy Markdown
Owner

@shikaan shikaan commented Mar 17, 2026

This change introduce generation of man pages in keydex and puts them in a .tar archive next to the binaries.

There will be followup work on https://github.com/shikaan/sup to install the manpages along with the bin.

Closes #33

TODO

  • Add version in generated docs

@shikaan shikaan force-pushed the feat/man-docs branch 2 times, most recently from e09dca9 to fb9c83a Compare March 18, 2026 07:22
@shikaan shikaan marked this pull request as ready for review March 18, 2026 07:34
@shikaan shikaan requested a review from Copilot March 18, 2026 07:34
Copy link
Copy Markdown

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR updates the project’s documentation and release pipeline by generating man pages during go generate/CI, simplifying create-command cleanup behavior, and removing outdated manual test instructions from contributor docs.

Changes:

  • Generate Markdown docs and man pages, then package man pages into a tarball under .build/.
  • Deduplicate create command cleanup logic via a single deferred cleanup block.
  • Update CI/release workflow and ignore rules to include .build/ artifacts.

Reviewed changes

Copilot reviewed 4 out of 5 changed files in this pull request and generated 2 comments.

Show a summary per file
File Description
docs.go Generates Markdown + man pages and archives man pages into .build/*.tar.
cmd/create.go Consolidates failure cleanup logic using a success flag + deferred function.
CONTRIBUTING.md Removes “Create Database” manual test section.
.gitignore Ignores .build/ output directory.
.github/workflows/build.yml Creates .build/ earlier and publishes .build/* artifacts from releases.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@shikaan shikaan changed the title chore: generate man pages docs: generate man pages Mar 18, 2026
@shikaan shikaan merged commit 3681645 into main Mar 18, 2026
1 check passed
@shikaan shikaan deleted the feat/man-docs branch March 18, 2026 12:03
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.

Manpages for keydex

2 participants