widgetti / ipyvuetify

Jupyter widgets based on vuetify UI components
MIT License
347 stars 59 forks source link

how did you generated the vuetify_api.json file ? #270

Closed 12rambau closed 1 year ago

12rambau commented 1 year ago

If I want to integrate the documentation from the js API directly I would need to wire directly with the vuetify API itself. I realize that for generating the schema of the widgets, you use the generate_source/vuetify_api.json. As this file is part of the git repository I assume it's only regenerated when needed, would you mind explaining how you did generated this file ?

mariobuikhuizen commented 1 year ago

It's generated by the documentation task of the Vuetify project. I run it by hand when we update the version of Vuetify. I will have to lookup how I do it and add it to the docs.

12rambau commented 1 year ago

Nice, from my side I find the following json files with all the strings corresponding to the docs, so if I can include the parsing of these in the generated json I would just have to modify the template in generate source to have docstring for each trait.

Regarding the class themselves I'm still looking but that must be in the same area.