So this is the basic implementation of the generation of documentation markdown files. These files will be saved in the docs folder, but it can be changed when initializing the "docs".
Wishlist:
Add a General info page
Add measure dependencies with links to the correct parts of the docs.
Find a way to indent the Markdown strings properly.
@Curts0: Can you look it over, and see what you think?
import pytabular
server = '<Server Address>'
catalog = '<Model Name>'
model = pytabular.Tabular(f"{server};Catalog={catalog}")
docs = pytabular.ModelDocumenter(model=model)
docs.set_translations(enable_translations=True, culture="en-US")
docs.generate_documentation_pages()
docs.save_documentation()
Hey @Daandamhuis, glad to see you got something working for documenting. I've been busy at work the past few days. I'll definitely take a look in the next few days. Would be great to add this in.
So this is the basic implementation of the generation of documentation markdown files. These files will be saved in the
docs
folder, but it can be changed when initializing the "docs".Wishlist:
@Curts0: Can you look it over, and see what you think?