Open jts599 opened 10 months ago
I only kinda know what I am doing so if you want me to do something differently, feel free to let me know. Also not sure how to add the issue that I opened up to this.
This is awesome, thanks so much! With respect to style, it would probably easier to format using a package like https://github.com/Python-Markdown/markdown instead of raw string formatting. If you wanted to give that a shot, feel free - but this is already a huge help and more than enough effort on your part, so only do it if you'd like to as a learning exercise.
I'll give it a go when I have some time. What I have is not super maintainable so it would be good to do something a little more robust.
Alright, I have updated to generate the HTML in python:
You can see doc page as a preview here
Amazing, thanks! I will review this within the next couple days. It looks like there are a bunch of new Python files - are those all necessary or are there some dupes?
Strictly speaking, there are some that are unnecessary, but there are no duplicates. Multiple files exist mostly for modularization purposes. The code that I wrote will generate representations of the schema in a few different formats, and Each python file handles a different format. I included these since I think each format has a purpose, but I could totally understand not wanting all the different types in the official repo, so let me know if you want me to remove any.
Python Files:
I could certainly refactor some of this into fewer files, I just had them split for cleanliness purposes. Let me know if you would like me to do some cleanup.
74 Adds a script that generates a markdown file for the database schema