diff --git a/publish.py b/publish.py index fa18155..00e04c5 100755 --- a/publish.py +++ b/publish.py @@ -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')