mirror of
https://github.com/OMGeeky/google-apis-rs.git
synced 2026-01-03 18:08:44 +01:00
29 lines
941 B
Mako
29 lines
941 B
Mako
<%
|
|
from util import (put_and, new_context)
|
|
from cli import (subcommand_md_filename, mangle_subcommand, pretty)
|
|
|
|
c = new_context(schemas, resources, context.get('methods'))
|
|
%>\
|
|
<%namespace name="util" file="../lib/util.mako"/>\
|
|
site_name: ${util.canonical_name()} v${util.crate_version()}
|
|
site_url: ${cargo.doc_base_url}/${util.crate_name()}
|
|
site_description: A complete library to interact with ${util.canonical_name()} (protocol ${version})
|
|
|
|
repo_url: ${util.github_source_root_url()}
|
|
|
|
docs_dir: ${mkdocs.docs_dir}
|
|
site_dir: ${mkdocs.site_dir}
|
|
|
|
pages:
|
|
- ['index.md', 'Home']
|
|
% for resource in sorted(c.rta_map.keys()):
|
|
% for method in sorted(c.rta_map[resource]):
|
|
- ['${subcommand_md_filename(resource, method)}', '${pretty(resource)}', '${pretty(method)}']
|
|
% endfor # each method
|
|
% endfor # each resource
|
|
|
|
theme: readthedocs
|
|
|
|
copyright: Copyright © ${copyright.years}, ${put_and(["`%s`" % a for a in copyright.authors])}
|
|
|
|
|