mirror of
https://github.com/eclipse-mosquitto/mosquitto.git
synced 2026-09-25 11:07:33 +08:00
Fix nikola compilation of man page fragments
This commit is contained in:
@@ -52,6 +52,11 @@ class CompileDocbookManpage(PageCompiler):
|
||||
def compile(self, source, dest, is_two_file=True, post=None, lang=None):
|
||||
"""Compile the source file into HTML and save as dest."""
|
||||
makedirs(os.path.dirname(dest))
|
||||
if "common/" in source and post is not None:
|
||||
post.write_depfile(dest, [], post, lang)
|
||||
with open(dest, "wt") as f:
|
||||
pass
|
||||
return []
|
||||
binary = self.site.config.get('XSLTPROC_BINARY', 'xsltproc')
|
||||
xslpath = os.path.join(os.path.split(__file__)[0], 'html.xsl')
|
||||
try:
|
||||
|
||||
Reference in New Issue
Block a user