rubygems / gemstash

A RubyGems.org cache and private gem server

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

manpages contain `<!-- Automatically generated by Pandoc -->`

technicalpickles opened this issue · comments

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

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

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

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