VEOIBD / data_models

VEOIBD Data Model
https://veoibd.github.io/data_models/
MIT License
0 stars 2 forks source link

update term_page_manager.py #71

Closed jmvera255 closed 1 month ago

jmvera255 commented 1 month ago

to rewrite all existing pages in case model descriptions or have changed.

I may be wrong but prior to this mergeterm_page_manager.py will only generate new pages (.md files). Although the action is setup such that this script will run if any of the _data/*/*.csv files change, the way the code was setup appeared to me to not incorporate model changes into the md files. This PR will make it so that term_page_manager.py not only creates new md files/pages for new terms/attributes, but will also regenerate existing pages so that the md description and source are updated with any changes in the model.