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:
commit
11eeacf024
1 changed files with 4 additions and 2 deletions
6
setup.py
6
setup.py
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue