Repository navigation
Document tables/database structure - #102
Conversation
* Up-to-date, and updatable
|
@jtniehof sorry for being a bit out of the loop, can you provide/point me at how to build the docs on the structure? I poked and found |
@balarsen : if you just "make html" in the sphinx directory, that should do it; the diagram is at the top of the tables.html. This does need graphviz (and Sphinx should complain mightily if you don't have it.) You can also just download the zip of the pre-built docs. table_docs.py and table_graph.py are only needed for making the inputs to the Sphinx; their outputs are checked in. |
|
@jtniehof weird, I don't see in either what I made of the attached any images. Maybe just totally clueless. I did file the yellow one in the |
|
Sorry for the 1000000000000000 comments. too many places named "tables" "Developer Information" -> "Tables" |
Top-level index.html, click "developer information", click "tables", diagram is right under the summary table of tables at the top. |
|
All very good, thank you for updating all this!! |
balarsen
left a comment
There was a problem hiding this comment.
I am good with all this, thanks!
dnadeau-lanl
left a comment
There was a problem hiding this comment.
Love your "schema.dot" Very easy to read.
Nice way to create tables.


This PR documents the database tables and overall structure, plus some general cleanup.
tablesdoc that contains a description of every table and every column in that table. This required writing a small Sphinx extension to support documenting SQL, which is included.Attached is the Sphinx output just to make this easier to review: dbp_test.zip. The relevant information is in developer/tables.html
PR Checklist
Closes #if this PR closes the issue, or some other reference, such asSee #if it is related in some other way)I chose not to implement a full unit test setup for the Sphinx SQL extension. I can see maybe spinning that off in the future if it proves useful and extensions look good, but there's no point right now.