How to use docwriter - 1 common examples

To help you get started, we’ve selected a few docwriter examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github yaph / logya / geeklog / geeklog.py View on Github external
# -*- coding: utf-8 -*-
import os
import sys
import glob

cwd = os.getcwd()
sys.path.append(os.path.join(cwd, 'lib'))

from docwriter import DocWriter
from jinja2 import Environment, PackageLoader

template_env = Environment(loader=PackageLoader('example_site', 'templates'))

posts = glob.glob(os.path.join(cwd, 'example_site', 'posts', '*.html'))
for p in posts:
    doc = DocWriter(p, template_env)
    doc.write()

docwriter

API reference documentation generator for FreeType.

FreeType License
Latest version published 1 year ago

Package Health Score

35 / 100
Full package analysis

Popular docwriter functions