File tree 1 file changed +0
-9
lines changed
1 file changed +0
-9
lines changed Original file line number Diff line number Diff line change 16
16
import re
17
17
import subprocess
18
18
import sys
19
- import tempfile
20
19
21
20
import pdoc
22
21
27
26
xrange = range
28
27
29
28
version_suffix = "%d.%d" % (sys .version_info [0 ], sys .version_info [1 ])
30
- default_http_dir = path .join (tempfile .gettempdir (), "pdoc-%s" % version_suffix )
31
29
32
30
parser = argparse .ArgumentParser (
33
31
description = "Automatically generate API docs for Python modules." ,
111
109
"of all installed modules. Only modules found in PYTHONPATH will be "
112
110
"listed." ,
113
111
)
114
- aa (
115
- "--http-dir" ,
116
- type = str ,
117
- default = default_http_dir ,
118
- help = "The directory to cache HTML documentation when running as an HTTP " "server." ,
119
- )
120
112
aa (
121
113
"--http-host" ,
122
114
type = str ,
@@ -468,7 +460,6 @@ def cli():
468
460
if args .http :
469
461
args .html = True
470
462
args .external_links = True
471
- args .html_dir = args .http_dir
472
463
args .overwrite = True
473
464
args .link_prefix = "/"
474
465
You can’t perform that action at this time.
0 commit comments