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

manpages contain <!-- Automatically generated by Pandoc --> #398

Closed
technicalpickles opened this issue Aug 5, 2024 · 2 comments · Fixed by #399
Closed

manpages contain <!-- Automatically generated by Pandoc --> #398

technicalpickles opened this issue Aug 5, 2024 · 2 comments · Fixed by #399

Comments

@technicalpickles
Copy link
Contributor

I noticed this while verifying #396 locally, but it seems to also affect the released gemstash:

CleanShot 2024-08-05 at 09 10 31

Seems to come from this template: https://github.com/jgm/pandoc-templates/blob/3430359b4c688dbedaa23d76575184191a12c4d9/default.man#L4-L7

I only looked briefly, but I haven't found an option to toggle it

@technicalpickles
Copy link
Contributor Author

Looks like `--variable "pandoc-version=" is enough to toggle it. docs on the variable, but unclear if there's any other side effects.

@olleolleolle
Copy link
Member

Um, we add that string ourselves! doc.rake has a line

::File.write to_file, "<!-- Automatically generated by Pandoc -->\n#{content}"

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 a pull request may close this issue.

2 participants