mirror of
https://github.com/eclipse-mosquitto/mosquitto.git
synced 2026-05-21 12:24:29 +02:00
Fix nikola compilation of man page fragments
This commit is contained in:
parent
68f3b8428c
commit
e07a106ce6
|
|
@ -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:
|
||||
|
|
|
|||
Loading…
Reference in a new issue