Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Extract and improve documentation #110

Merged
merged 9 commits into from
Jan 3, 2024
Merged

Extract and improve documentation #110

merged 9 commits into from
Jan 3, 2024

Conversation

TheDaemoness
Copy link
Collaborator

@TheDaemoness TheDaemoness commented Aug 27, 2023

The goal of this branch is to extract the command documentation from glirc's source code into separate files, then make use of Template Haskell to add it back in. This allows viewing up-to-date documentation for glirc without running it, and makes editing said docs easier.

This branch contains a minimum viable implementation. It supports an extremely limited subset of AsciiDoc, but documents every command in glirc. Further work can be done on supporting more of AsciiDoc as-needed, as well as refining the documentation itself.

@TheDaemoness TheDaemoness added this to the glirc v3 milestone Aug 27, 2023
MVP. Still needs to parse formatting.
We assume an 80-column terminal as a conservative default.
Having at least 2 blank columns at the end of a line helps readability
(for understanding that a line has ended and hasn't been cut off).
However, paragraphs are indented 2 spaces in the built-in help,
leaving a limit of 76 columns.
@TheDaemoness TheDaemoness marked this pull request as ready for review December 22, 2023 04:50
@glguy glguy merged commit 3472125 into v2 Jan 3, 2024
6 checks passed
@glguy glguy deleted the docs branch January 3, 2024 23:56
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.

2 participants