1
0
Fork 0
mirror of https://github.com/borgbackup/borg.git synced 2024-12-27 02:08:54 +00:00

Merge pull request #3413 from milkey-mouse/no-borgfs-html-docs-bp1.1

Don't generate HTML docs page for borgfs (1.1 backport)
This commit is contained in:
TW 2017-12-03 12:46:00 +01:00 committed by GitHub
commit 11eeacf024
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -238,9 +238,11 @@ def run(self):
# allows us to build docs without the C modules fully loaded during help generation
from borg.archiver import Archiver
parser = Archiver(prog='borg').build_parser()
borgfs_parser = Archiver(prog='borgfs').build_parser()
# borgfs has a separate man page to satisfy debian's "every program from a package
# must have a man page" requirement, but it doesn't need a separate HTML docs page
#borgfs_parser = Archiver(prog='borgfs').build_parser()
self.generate_level("", parser, Archiver, {'borgfs': borgfs_parser})
self.generate_level("", parser, Archiver)
def generate_level(self, prefix, parser, Archiver, extra_choices=None):
is_subcommand = False