新增md文档生成

This commit is contained in:
SanLi
2020-06-25 21:42:45 +08:00
parent 5bf2ccdf34
commit 6f5fab08e2
2 changed files with 44 additions and 0 deletions

View File

@@ -1,8 +1,35 @@
<#--
screw-core - 简洁好用的数据库表结构文档生成工具
Copyright © 2020 SanLi (qinggang.zuo@gmail.com)
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU Lesser General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU Lesser General Public License for more details.
You should have received a copy of the GNU Lesser General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>.
-->
# ${title!'数据库设计文档'}
<#if (database)??>
**数据库名:** ${database!''}
</#if>
<#if (version)??>
**文档版本:** ${version!''}
</#if>
<#if (description)??>
**文档描述:** ${description!''}
</#if>
| 表名 | 说明 |
| :-------------------- | :--------- |
<#list tables>

View File

@@ -1,3 +1,20 @@
#*
* screw-core - 简洁好用的数据库表结构文档生成工具
* Copyright © 2020 SanLi (qinggang.zuo@gmail.com)
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU Lesser General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU Lesser General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*#
# #if(${_data.title}) #else 数据库设计文档 #end
#if(${_data.database})