OnionIoT / documentation

Documentation for the Omega2 beta firmware
0 stars 1 forks source link

Add central place to define version numbers + support for variables in markdwon #105

Open greenbreakfast opened 1 month ago

greenbreakfast commented 1 month ago

The Idea

Since version numbers (like OpenWRT 23.05.3, and NodeJS v16.19) change fairly often and are included in several articles, it would be nice to:

  1. Have a central place to define all of these values (like a JSON file or similar)
  2. Enable support for variables in markdown rendering
  3. Update articles to use variables instead of hard-coding version numbers

That way, when a version number changes, only one file has to be manually updated and the rendered documentation site will be updated in all places the version number is used.

Execution

Need more research to figure out how to do this