microsoft / AzureTipsAndTricks

Learn some of our favorite Azure tips and tricks—some long-standing, and new ones that have recently been added to become more productive with Azure. Star the repo now to shave hours off your coding tasks tomorrow.
http://azuredev.tips
Creative Commons Attribution 4.0 International
1.49k stars 489 forks source link

config.js - how is it generated? #127

Closed baky0905 closed 3 years ago

baky0905 commented 3 years ago

What would you like to know? Hi!

Could you please share if you are manually updating and managing the config.js or is it automatically created parsed from the actual markdown headers?

If you could share the process I would really benefit from it within our community to build a tip and tricks site.

Thank you!

vaheminasyan2 commented 3 years ago

Hello @baky0905. Thanks for your question. The config.js is provided by Vuepress - the static site generator which we use for our blog. In that config.js we enabled search and customized it, added navigation, customized template for each page/markdown file etc. You can read more about the config.js on Vuepress here I hope this helps.

baky0905 commented 3 years ago

Thanks, @vaheminasyan2 for your prompt reply. It helped slightly for sure. I was just wondering if you maintain each new tip and trick and add it to the sidebar/config manually, or did you do some sort of automation of parsing and extraction. Is it possible to get access to the source code/configuration files/branch or is this something that you would like to keep private? Basically, the sidebar is the focus of my question and interest. Thanks once again, really appreciate it.

vaheminasyan2 commented 3 years ago

@baky0905 we use automation for that. I uploaded .vuepress folder into this repo where you can find config and other related files which handle that process.

baky0905 commented 3 years ago

Many thanks @vaheminasyan2 , this is an excellent motivation!