From ef76180205d7ffe93226bccc3442a61748b0e121 Mon Sep 17 00:00:00 2001 From: Stefan Tatschner Date: Fri, 29 May 2015 14:21:58 +0200 Subject: [PATCH] Enable the manpages in the configuration file This patch enables the previously created manpages in the sphinx configuration file. It also enables "man_show_urls" because the manpages include several external links. --- conf.py | 31 ++++++++++++++++++++++++++++--- 1 file changed, 28 insertions(+), 3 deletions(-) diff --git a/conf.py b/conf.py index 09394cd3d..de24a003c 100644 --- a/conf.py +++ b/conf.py @@ -232,12 +232,37 @@ latex_documents = [ # One entry per manual page. List of tuples # (source start file, name, description, authors, manual section). man_pages = [ - ('index', 'syncthing', u'Syncthing Documentation', - [u'The Syncthing Authors'], 1) + ('users/config', 'syncthing-config', + 'Syncthing Configuration', + ['The Syncthing Authors'], 5), + ('users/ignoring', 'syncthing-stignore', + 'Prevent files from being synchronized to other nodes', + ['The Syncthing Authors'], 5), + ('dev/rest', 'syncthing-rest-api', + 'REST API', + ['The Syncthing Authors'], 7), + ('dev/events', 'syncthing-event-api', + 'Event API', + ['The Syncthing Authors'], 7), + ('dev/device-ids', 'syncthing-device-ids', + 'Understanding Device IDs', + ['The Syncthing Authors'], 7), + ('users/security', 'syncthing-security', + 'Security Principles', + ['The Syncthing Authors'], 7), + ('users/firewall', 'syncthing-networking', + 'Firewall Setup', + ['The Syncthing Authors'], 7), + ('users/versioning', 'syncthing-versioning', + 'Keep automatic backups of deleted files by other nodes', + ['The Syncthing Authors'], 7), + ('users/faq', 'syncthing-faq', + 'Frequently Asked Questions', + ['The Syncthing Authors'], 7), ] # If true, show URL addresses after external links. -#man_show_urls = False +man_show_urls = True # -- Options for Texinfo output -------------------------------------------