Simple scripts for SQLite database documenting
Go to file
2019-05-24 22:22:17 +03:00
example Add output dir 2019-05-24 21:07:38 +03:00
screenshots First commit 2019-05-24 21:05:40 +03:00
mksqlitedoc_json.py First commit 2019-05-24 21:05:40 +03:00
mksqlitedoc.py First commit 2019-05-24 21:05:40 +03:00
README.md Update README.md 2019-05-24 22:22:17 +03:00

Generating SQLite database documentation with Python and Doxygen

Simple scripts for SQLite database documenting.

Requirements

  • Python 3
    • sqlite3 lib
    • json lib
  • Doxygen

Usage

SQLite does not support table and field comments so we are using external comment source (table_comments.json).

{
    "table_name": {
        "comment": "Table comment",
        "fields": {
            "field_name": "Field comment",
            "field_name2": "Field comment 2"
        }
    }
}
  • python mksqlitedoc_json.py - generates or updates comment source (table_comments.json)

  • python mksqlitedoc_json.py - generates Doxygen input file

  • doxygen - generates Doxygen documentation

Result

Python is not my strong side