Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 9a2d2b5

Browse files
committed
fix(deps): assure license can be generated
1 parent 862842f commit 9a2d2b5

1 file changed

Lines changed: 4 additions & 3 deletions

File tree

src/mako/deps.mako

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
doc_root = directories.output + '/' + directories.doc_subdir
1212
doc_index = doc_root + '/index.html'
1313
14-
def to_doc_root(gen_root, crate_name):
14+
def to_doc_root(gen_root, crate_name):
1515
if make.documentation_engine == 'mkdocs':
1616
return gen_root + '/' + mkdocs.site_dir
1717
else:
@@ -72,11 +72,12 @@
7272
api_doc_index = api_doc_root + '/index.html'
7373
7474
# source, destination of individual output files
75-
sds = [(directories.mako_src + '/' + make.id + '/' + i.source + '.mako', gen_root + '/' +
75+
sds = [(directories.mako_src + '/' + make.id + '/' + i.source + '.mako', gen_root + '/' +
7676
i.get('output_dir', '') + '/' + i.source.strip('../')) for i in make.templates]
7777
api_json = directories.api_base + '/' + an + '/' + version + '/' + an + '-api.json'
7878
api_meta_dir = os.path.dirname(api_json)
79-
api_crate_publish_file = api_meta_dir + '/crates/' + util.crate_version(cargo.build_version +
79+
print api_json
80+
api_crate_publish_file = api_meta_dir + '/crates/' + util.crate_version(cargo.build_version +
8081
make.aggregated_target_suffix, json.load(open(api_json, 'r')).get('revision', '00000000'))
8182
api_json_overrides = api_meta_dir + '/' + an + '-api_overrides.yaml'
8283
type_specific_cfg = gen_type_cfg_path(make.id)

0 commit comments

Comments
 (0)