Doctave / doctave

A batteries-included developer documentation site generator
https://cli.doctave.com
MIT License
566 stars 32 forks source link

Add a version field in doctave.yaml #48

Open Firefnix opened 2 years ago

Firefnix commented 2 years ago

Maybe we could create a new version field in doctave.yaml ? This field would be optional, meaning that if it is not set, no version appears (like it is now). If it is set, it could be displayed in the upper left-hand corner, maybe like in one of these examples:

I recommend making this yaml field a string rather than an int or a float, to handle versions like 3.0-alpha easily.