Explorar o código

sphinx configuration: fix to create a simple man page from usage docs

Thomas Waldmann %!s(int64=9) %!d(string=hai) anos
pai
achega
7420ea0033
Modificáronse 1 ficheiros con 6 adicións e 4 borrados
  1. 6 4
      docs/conf.py

+ 6 - 4
docs/conf.py

@@ -228,10 +228,12 @@ latex_documents = [
 
 # One entry per manual page. List of tuples
 # (source start file, name, description, authors, manual section).
-#man_pages = [
-#    ('man', 'borg', 'Borg',
-#     ['see "AUTHORS" file'], 1)
-#]
+man_pages = [
+        ('usage', 'borg',
+         'BorgBackup is a deduplicating backup program with optional compression and authenticated encryption.',
+         ['The Borg Collective (see AUTHORS file)'],
+         1),
+]
 
 extensions = ['sphinx.ext.extlinks', 'sphinx.ext.autodoc', 'sphinx.ext.todo', 'sphinx.ext.coverage', 'sphinx.ext.viewcode']