enable editor mode for private modules only, for now

This commit is contained in:
Frédéric Péters 2015-11-28 17:27:39 +01:00
parent 1acafe929c
commit 372cf5eada
1 changed files with 1 additions and 1 deletions

View File

@ -75,7 +75,7 @@ def publish_mallard(module, branch, directory):
page_files = [os.path.join(help_dir, x) for x in os.listdir(help_dir) if x.endswith('.page')]
cmd = ['jhbuild', '-f', jhbuildrc, 'run', 'yelp-build', 'html',
'-o', output_dir, '-x']
if module.get('branch') == 'dev':
if module.get('branch') == 'dev' and module.get('private'):
cmd.append('mallard_extra_dev.xsl')
else:
cmd.append('mallard_extra.xsl')