File tree 2 files changed +13
-6
lines changed
2 files changed +13
-6
lines changed Original file line number Diff line number Diff line change 12
12
('html' , _ ('HTML' )),
13
13
('pdf' , _ ('PDF' )),
14
14
('epub' , _ ('Epub' )),
15
+ # There is currently no support for building man/dash formats, but we keep
16
+ # it there since the DB might still contain those values for legacy
17
+ # projects.
15
18
('man' , _ ('Manpage' )),
16
19
('dash' , _ ('Dash' )),
17
20
)
Original file line number Diff line number Diff line change @@ -509,18 +509,22 @@ def full_latex_path(self, version='latest'):
509
509
"""
510
510
return os .path .join (self .conf_dir (version ), "_build" , "latex" )
511
511
512
- def full_man_path (self , version = 'latest' ):
513
- """
514
- The path to the build man docs in the project.
515
- """
516
- return os .path .join (self .conf_dir (version ), "_build" , "man" )
517
-
518
512
def full_epub_path (self , version = 'latest' ):
519
513
"""
520
514
The path to the build epub docs in the project.
521
515
"""
522
516
return os .path .join (self .conf_dir (version ), "_build" , "epub" )
523
517
518
+ # There is currently no support for building man/dash formats, but we keep
519
+ # the support there for existing projects. They might have already existing
520
+ # legacy builds.
521
+
522
+ def full_man_path (self , version = 'latest' ):
523
+ """
524
+ The path to the build man docs in the project.
525
+ """
526
+ return os .path .join (self .conf_dir (version ), "_build" , "man" )
527
+
524
528
def full_dash_path (self , version = 'latest' ):
525
529
"""
526
530
The path to the build dash docs in the project.
You can’t perform that action at this time.
0 commit comments