2
26
Fork
You've already forked hevi
1

Write documentation only once #27

Open
opened 2024年05月14日 10:22:27 +02:00 by Reokodoku · 3 comments
Reokodoku commented 2024年05月14日 10:22:27 +02:00 (Migrated from github.com)
Copy link

I think it is a good idea to serve a GitHub pages site with HTML pages generated from man pages. Now for documentation we have to write it twice: once in markdown and once in man.

If we serve the man pages we can write less documentation.

I think it is a good idea to serve a GitHub pages site with HTML pages generated from man pages. Now for documentation we have to write it twice: once in markdown and once in man. If we serve the man pages we can write less documentation.
Arnau478 commented 2024年05月14日 11:41:53 +02:00 (Migrated from github.com)
Copy link

That's interesting. I was considering creating a whole page, and have the current one be something like /lib. Then, we could have /docs which would be the documentation of the program itself.

The only problem I see when unifying the documentation is that the manpage format is not the ideal one for web documentation. I would prefer something like https://docusaurus.io or GitBook

That's interesting. I was considering creating a whole page, and have the current one be something like `/lib`. Then, we could have `/docs` which would be the documentation of the program itself. The only problem I see when unifying the documentation is that the manpage format is not the ideal one for web documentation. I would prefer something like <https://docusaurus.io> or GitBook
Reokodoku commented 2024年05月14日 14:49:59 +02:00 (Migrated from github.com)
Copy link

Maybe we can write the documentation in markdown (so we can use it with x site) and then convert it to manpages with tools like ronn, but I think that in this way the markdown file layout will be forced.

Maybe we can write the documentation in markdown (so we can use it with `x` site) and then convert it to manpages with tools like `ronn`, but I think that in this way the markdown file layout will be forced.
Arnau478 commented 2024年05月14日 15:13:28 +02:00 (Migrated from github.com)
Copy link

Yeah, that's something to consider...

Yeah, that's something to consider...
Sign in to join this conversation.
No Branch/Tag specified
master
hfl
v1.1.0
v1.0.0
v0.2.0
v0.1.0
Milestone
Clear milestone
No items
No milestone
Projects
Clear projects
No items
No project
Assignees
Clear assignees
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
arnauc/hevi#27
Reference in a new issue
arnauc/hevi
No description provided.
Delete branch "%!s()"

Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?