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

Show the man pages in the docs #315

Merged
merged 1 commit into from
May 25, 2023
Merged

Conversation

pypingou
Copy link
Member

No description provided.

Copy link
Member

@mwperina mwperina left a comment

Choose a reason for hiding this comment

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

Can't the existing markdown files just be linked? If not wouldn't it be nicer to generate HTML files directly (similar what we do with man format) from markdown sources during the build?

doc/docs/man/meson.build Outdated Show resolved Hide resolved
Copy link
Member

@engelmi engelmi left a comment

Choose a reason for hiding this comment

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

@pypingou pypingou force-pushed the man_pages_doc branch 3 times, most recently from d66508b to 78203c0 Compare May 25, 2023 10:22
Signed-off-by: Pierre-Yves Chibon <pingou@pingoured.fr>
@pypingou
Copy link
Member Author

Can't the existing markdown files just be linked?

You mean link with symlink or so? We could but with the approach taken here, we exclude the first two lines from the man pages (ie: the %hirte 1 that shows in https://github.com/containers/hirte/blob/main/doc/man/hirte.1.md). Something we would not be able to do with simple symlink

@engelmi
Copy link
Member

engelmi commented May 25, 2023

Can't the existing markdown files just be linked?

You mean link with symlink or so? We could but with the approach taken here, we exclude the first two lines from the man pages (ie: the %hirte 1 that shows in https://github.com/containers/hirte/blob/main/doc/man/hirte.1.md). Something we would not be able to do with simple symlink

Wait... my mistake. I thought the actual man pages were copied 😓 Please ignore my previous comments.

Copy link
Member

@engelmi engelmi left a comment

Choose a reason for hiding this comment

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

LGTM

Copy link
Member

@mwperina mwperina left a comment

Choose a reason for hiding this comment

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

+1

@engelmi engelmi merged commit 37fb6ad into eclipse-bluechi:main May 25, 2023
@pypingou pypingou deleted the man_pages_doc branch May 25, 2023 13:42
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.

3 participants