21 lines
438 B
Python
21 lines
438 B
Python
"""
|
|
This module is based on flask_flatpages and creates a website structure based on a file structure.
|
|
By default the .md extension creates a html website
|
|
"""
|
|
|
|
import sys
|
|
import os
|
|
from flaskpages import create_app
|
|
|
|
# Initialize application
|
|
app=create_app()
|
|
|
|
app.logger.info('Initialize Doc App')
|
|
|
|
app.logger.debug("Url prefix;: %s" % app.config["URL_PREFIX"])
|
|
app.logger.debug("Extensions: %s" % app.config["FLATPAGES_EXTENSION"])
|
|
|
|
|
|
|
|
|