threecolor package¶
Subpackages¶
Submodules¶
threecolor.application module¶
-
threecolor.application.create_admin()¶ Place holder for eventual admin site interface
-
threecolor.application.create_site()¶ App factory to create website
threecolor.manager module¶
threecolor.models module¶
-
class
threecolor.models.PageCreator(**kwargs)¶ Bases:
threecolor.models.PageHeader
-
class
threecolor.models.PageHeader(**kwargs)¶ Bases:
objectClass that handles page header data. The page header is a yaml headerat the beginnning of the markdown file that will be turned into a page.
-
dump()¶ test function
-
header¶ Make a dict from kwargs
-
write_page()¶ Writes the dict from header funtion into a file. This is our page metadata information
-
-
class
threecolor.models.PagesCreator(**kwargs)¶ Bases:
threecolor.models.PageHeaderSubclass of PageHeader for making batch yaml headers and markdown files
-
header(n)¶ Overrides PageHeader’s header funtion to one needed for batch creation
-
write_page()¶ Writes the dict from header funtion into a file. This is our page metadata information
-