Module sequencing the successive actions necessary for website building Usage:
- create_website(origin, destination)
| Function | create |
Returns crawler as an object for navigation in the user files. :param origin: The path of the website to be built. :param destination: The destination path of the built website. :param _env: The environment object... |
| Function | create |
Returns parserEnvironment as an object containing everything needed for app execution. :param origin: The path of the website to be built. :param destination: The destination path of the built website. ... |
| Function | create |
First function called by bparse.py, calls all other modules in the right order. :param origin: The path of the website to be built. :param destination: The destination path of the built website. :type origin: str :type destination: str :return: 0 if everything went well, 1 otherwise. |
| Function | preparse |
Returns a list of containers from a preparser. :param preparser: The preparser object. :type preparser: parser.Preparser :return: List of containers. :rtype: list |
| Function | save |
Saves the list of containers in the destination path. :param list_of_containers: The list of containers to be saved. :param destination: The destination path. :param env: The environment object. :type list_of_containers: list :type destination: str :type env: environment... |
Returns crawler as an object for navigation in the user files. :param origin: The path of the website to be built. :param destination: The destination path of the built website. :param _env: The environment object. :type origin: str :type destination: str :type _env: environment.Environment :return: Crawler object. :rtype: sitecrawler.SiteCrawler
Returns parserEnvironment as an object containing everything needed for app execution. :param origin: The path of the website to be built. :param destination: The destination path of the built website. :type origin: str :type destination: str :return: Environment object. :rtype: environment.Environment
First function called by bparse.py, calls all other modules in the right order. :param origin: The path of the website to be built. :param destination: The destination path of the built website. :type origin: str :type destination: str :return: 0 if everything went well, 1 otherwise.
Returns a list of containers from a preparser. :param preparser: The preparser object. :type preparser: parser.Preparser :return: List of containers. :rtype: list
Saves the list of containers in the destination path. :param list_of_containers: The list of containers to be saved. :param destination: The destination path. :param env: The environment object. :type list_of_containers: list :type destination: str :type env: environment.Environment