gristlabs / mkdocs-windmill

Outstanding mkdocs theme with a focus on navigation and usability
Other
106 stars 62 forks source link

Set version prefix 'v' in mkdocs.yml for more flexible #37

Closed edentsai closed 5 years ago

edentsai commented 5 years ago

Thanks for this awesome theme, the navigation bar with iframe is very helpful to me.

we use CI to auto replace the version with current branch name for build a documentation for specific branch or environment.

for example:

  1. extra.version = master

image

  1. extra.version = staging

image

  1. extra.version = develop

image

The version at top bar is vmaster, vstaging or vdevelop with a little weird, set a fixed version prefix v in HTML template is not flexible, so just move it into mkdocs.yml from HTML template.

dsagal commented 5 years ago

Good point, thanks for the simple fix.

edentsai commented 5 years ago

HI, @dsagal , Would you do me a favor to release a new patch 1.0.2 with this changes? thanks.

dsagal commented 5 years ago

Just did it.

edentsai commented 5 years ago

thank you