예제 #1
0
파일: dependencies.py 프로젝트: nvhoan/docs
def main():
    conf_file = utils.get_conf_file(sys.argv[2])
    generate_dependency_rules(utils.ingest_yaml(conf_file))

    m.write(sys.argv[1])

    print('[meta-build]: built "' + sys.argv[1] + '" to specify dependencies on included files.')
예제 #2
0
파일: errors.py 프로젝트: trmmy/docs
def main():
    conf_file = utils.get_conf_file(__file__)
    build_all_error_pages(utils.ingest_yaml(conf_file))

    m.write(sys.argv[1])

    print('[meta-build]: built "' + sys.argv[1] + '" to specify error pages.')
예제 #3
0
파일: migrations.py 프로젝트: AXNY/docs
def main():
    conf_file = utils.get_conf_file(__file__)
    build_all_migrations(utils.ingest_yaml(conf_file))

    m.write(sys.argv[1])

    print('[meta-build]: built "' + sys.argv[1] + '" to specify production migrations.')
예제 #4
0
def main():
    conf_file = utils.get_conf_file(__file__)
    make_all_links(utils.ingest_yaml(conf_file))

    m.write(sys.argv[1])

    print('[meta-build]: built "' + sys.argv[1] + '" to specify symlink builders.')
예제 #5
0
파일: errors.py 프로젝트: AXNY/docs
def main():
    conf_file = utils.get_conf_file(__file__)
    build_all_error_pages(utils.ingest_yaml(conf_file))

    m.write(sys.argv[1])

    print('[meta-build]: built "' + sys.argv[1] + '" to specify error pages.')
예제 #6
0
def main():
    conf_file = utils.get_conf_file(__file__)
    build_all_sphinx_migrations(utils.ingest_yaml(conf_file))

    m.write(sys.argv[1])

    print('[meta-build]: built "' + sys.argv[1] + '" to specify sphinx migrations.')
예제 #7
0
def main():
    conf_file = utils.get_conf_file(__file__)
    generate_delegated_interface(utils.ingest_yaml(conf_file))

    m.write(sys.argv[1])

    print('[meta-build]: built "' + sys.argv[1] + '" for a delegated UI build system.')
예제 #8
0
파일: delegated.py 프로젝트: trmmy/docs
def main():
    conf_file = utils.get_conf_file(__file__)
    generate_delegated_interface(utils.ingest_yaml(conf_file))

    m.write(sys.argv[1])

    print('[meta-build]: built "' + sys.argv[1] +
          '" for a delegated UI build system.')
예제 #9
0
def main():
    conf_file = utils.get_conf_file(__file__)
    make_all_links(utils.ingest_yaml(conf_file))

    m.write(sys.argv[1])

    print('[meta-build]: built "' + sys.argv[1] +
          '" to specify symlink builders.')
예제 #10
0
파일: htaccess.py 프로젝트: AXNY/docs
def user_input():
    parser = argparse.ArgumentParser('.htaccess generator.')
    parser.add_argument('filename', nargs='?', default='.htaccess',
                        help='the name of the file to generate. Defaults to ".htaccess"')
    parser.add_argument('--match', '-m', action='store_true', default=False,
                        help='generate RedirectMatch if specified, rather than the default Redirect rules.')
    parser.add_argument('--data', '-d', action='store', default=utils.get_conf_file(__file__),
                        help='the .yaml file containing the redirect information.')
    return parser.parse_args()
예제 #11
0
파일: texinfo.py 프로젝트: trmmy/docs
def main():
    m.section_break('texinfo manual builders for mongodb content',
                    block='header')

    for info in utils.ingest_yaml(utils.get_conf_file(__file__)):
        build_texinfo_manual(info)

    m.comment('targets for integration')
    m.target(target='.PHONY', dependency='manual-info', block='footer')
    m.target(target='manual-info', dependency='$(INFO_OUTPUT)', block='footer')

    m.write(sys.argv[1])
예제 #12
0
파일: texinfo.py 프로젝트: AXNY/docs
def main():
    m.section_break('texinfo manual builders for mongodb content', block='header')

    for info in utils.ingest_yaml(utils.get_conf_file(__file__)):
        build_texinfo_manual(info)

    m.comment('targets for integration')
    m.target(target='.PHONY',
             dependency='manual-info',
             block='footer')
    m.target(target='manual-info',
             dependency='$(INFO_OUTPUT)',
             block='footer')

    m.write(sys.argv[1])
예제 #13
0
파일: htaccess.py 프로젝트: trmmy/docs
def user_input():
    parser = argparse.ArgumentParser('.htaccess generator.')
    parser.add_argument(
        'filename',
        nargs='?',
        default='.htaccess',
        help='the name of the file to generate. Defaults to ".htaccess"')
    parser.add_argument(
        '--match',
        '-m',
        action='store_true',
        default=False,
        help=
        'generate RedirectMatch if specified, rather than the default Redirect rules.'
    )
    parser.add_argument(
        '--data',
        '-d',
        action='store',
        default=utils.get_conf_file(__file__),
        help='the .yaml file containing the redirect information.')
    return parser.parse_args()
예제 #14
0
def get_config():
    return utils.ingest_yaml(utils.get_conf_file(__file__))
예제 #15
0
파일: sphinx.py 프로젝트: trmmy/docs
def get_config():
    return utils.ingest_yaml(utils.get_conf_file(__file__))