|
|
@ -7,7 +7,7 @@ from data.document import Document |
|
|
|
|
|
|
|
|
|
|
|
bp = Blueprint('api_document', __name__, url_prefix='/api/doc') |
|
|
|
bp = Blueprint('api_document', __name__, url_prefix='/api/doc') |
|
|
|
|
|
|
|
|
|
|
|
@bp.route('/build') |
|
|
|
@bp.route('/build', methods=['GET', 'POST']) |
|
|
|
def build(): |
|
|
|
def build(): |
|
|
|
origin = get_arg('origin') |
|
|
|
origin = get_arg('origin') |
|
|
|
doc_name = get_arg('doc_name') |
|
|
|
doc_name = get_arg('doc_name') |
|
|
|