KevinJump/UmbSense

vs-code: scrape the Umbraco repo to build the json files?

KevinJump opened this issue · 1 comments

For a vs-code version see branch : https://github.com/KevinJump/UmbSense/tree/vs-code

Creating the json files to define the tags seems like a lot of work, and all the data is already in the umbracoCMS repo (https://github.com/umbraco/Umbraco-CMS/blob/e9627f2ee962a73cd8c007a42845c9129e3339ee/src/Umbraco.Web.UI.Client/src/common/directives/components/buttons/umbbutton.directive.js)

comments using @ngdoc syntax already define the attributes / values etc, in a perfect world it would be AMAZING! if we could somehow get this information from the documentation build so we could just keep the extension in sync with the docs.

This is the build step in umbraco that builds the docs.
https://github.com/umbraco/Umbraco-CMS/blob/v8/contrib/build/build.ps1#L472

not sure if its possible to have it output json not html (surely it must be)