mirror of
https://github.com/eclipse-mosquitto/mosquitto.git
synced 2026-02-06 02:52:07 +08:00
Web page update
This commit is contained in:
@@ -95,9 +95,11 @@ NAVIGATION_LINKS = {
|
||||
("/man/mosquitto-conf-5.html", "mosquitto.conf"),
|
||||
("/man/mosquitto_ctrl-1.html", "mosquitto_ctrl"),
|
||||
("/man/mosquitto_ctrl_dynsec-1.html", "mosquitto_ctrl_dynsec"),
|
||||
("/man/mosquitto_ctrl_shell-1.html", "mosquitto_ctrl_shell"),
|
||||
("/man/mosquitto_passwd-1.html", "mosquitto_passwd"),
|
||||
("/man/mosquitto_pub-1.html", "mosquitto_pub"),
|
||||
("/man/mosquitto_rr-1.html", "mosquitto_rr"),
|
||||
("/man/mosquitto_signal-1.html", "mosquitto_signal"),
|
||||
("/man/mosquitto_sub-1.html", "mosquitto_sub"),
|
||||
("/man/mosquitto-tls-7.html", "mosquitto-tls"),
|
||||
("/man/mqtt-7.html", "mqtt"),
|
||||
@@ -285,7 +287,7 @@ WRITE_TAG_CLOUD = True
|
||||
|
||||
# Generate pages for each section. The site must have at least two sections
|
||||
# for this option to take effect. It wouldn't build for just one section.
|
||||
POSTS_SECTIONS = True
|
||||
#POSTS_SECTIONS = True
|
||||
|
||||
# Setting this to False generates a list page instead of an index. Indexes
|
||||
# are the default and will apply GENERATE_ATOM if set.
|
||||
@@ -1343,7 +1345,7 @@ COPY_SOURCES = False
|
||||
|
||||
# If you hate "Filenames with Capital Letters and Spaces.md", you should
|
||||
# set this to true.
|
||||
UNSLUGIFY_TITLES = True
|
||||
FILE_METADATA_UNSLUGIFY_TITLES = True
|
||||
|
||||
# Additional metadata that is added to a post when creating a new_post
|
||||
# ADDITIONAL_METADATA = {}
|
||||
@@ -1389,7 +1391,7 @@ USE_BUNDLES = False
|
||||
# Add the absolute paths to directories containing plugins to use them.
|
||||
# For example, the `plugins` directory of your clone of the Nikola plugins
|
||||
# repository.
|
||||
# EXTRA_PLUGINS_DIRS = []
|
||||
EXTRA_PLUGINS_DIRS = ['plugins']
|
||||
|
||||
# Add the absolute paths to directories containing themes to use them.
|
||||
# For example, the `v7` directory of your clone of the Nikola themes
|
||||
|
||||
@@ -55,7 +55,10 @@ class CompileDocbookManpage(PageCompiler):
|
||||
binary = self.site.config.get('XSLTPROC_BINARY', 'xsltproc')
|
||||
xslpath = os.path.join(os.path.split(__file__)[0], 'html.xsl')
|
||||
try:
|
||||
subprocess.check_call((binary, '-o', dest, xslpath, source))
|
||||
source = os.path.abspath(source)
|
||||
dest = os.path.abspath(dest)
|
||||
xslpath = os.path.abspath(xslpath)
|
||||
subprocess.check_call((binary, '--xinclude', '-o', dest, xslpath, source))
|
||||
if post is None:
|
||||
if shortcode_deps:
|
||||
self.logger.error(
|
||||
|
||||
@@ -2,7 +2,6 @@
|
||||
<%namespace name="base" file="base_helper.tmpl" import="*"/>
|
||||
<%namespace name="header" file="base_header.tmpl" import="*"/>
|
||||
<%namespace name="footer" file="base_footer.tmpl" import="*"/>
|
||||
<%namespace name="annotations" file="annotation_helper.tmpl"/>
|
||||
${set_locale(lang)}
|
||||
${base.html_headstart()}
|
||||
<%block name="extra_head">
|
||||
|
||||
Reference in New Issue
Block a user