pacak / bpaf

Command line parser with applicative interface
Apache License 2.0
341 stars 17 forks source link

fix: emit a level 2 heading for sub commands in markdown #256

Closed ematipico closed 1 year ago

ematipico commented 1 year ago

Currently, the markdown generated emits # Header, level one.

When the markdown is rendered to HTML, it creates <h1> tags, which are incorrect from the SEO point of view. Only one h1 should be present in a page.

PR emits a h1 only for the app name and h2 for the rest.

pacak commented 1 year ago

Sure. I'm no SEO expert, I was looking for a header looking thing :)

pacak commented 1 year ago

Will try to publish this next week after finishing currently ongoing cleanups.

pacak commented 1 year ago

0.9.4 is out

pacak commented 1 year ago

Heh, 1400 items in the build queue on docs.rs...