Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions mysql-workbench-plugin-doc-generating.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
@ModuleInfo.export(grt.INT, grt.classes.db_Catalog)
def documentation(diagram):

text = "#Schema documentation\n\n"
text = "# Schema documentation\n\n"
text += "Generated by MySQL Workbench Model Documentation v1.0.0 - Copyright (c) 2015 Hieu Le\n\n";


Expand All @@ -28,13 +28,13 @@ def documentation(diagram):
return 0

def writeTableDoc(table):
text = "##Table: `" + table.name + "`\n\n"
text = "## Table: `" + table.name + "`\n\n"

text += "###Description: \n\n"
text += "### Description: \n\n"

text += table.comment + "\n\n"

text += "###Columns: \n\n"
text += "### Columns: \n\n"

text += "| Column | Data type | Attributes | Default | Description |\n| --- | --- | --- | --- | --- |\n"

Expand Down