forked from github/pelican
remove WRITE_SELECTED
Implementation is buggy and unreliable. Therefore, it is better to remove the functionality until a robust implementation is added.
This commit is contained in:
parent
0c5d63c69e
commit
86d6898517
8 changed files with 8 additions and 103 deletions
|
|
@ -434,15 +434,6 @@ def parse_arguments(argv=None):
|
|||
help="Ignore content cache " "from previous runs by not loading cache files.",
|
||||
)
|
||||
|
||||
parser.add_argument(
|
||||
"-w",
|
||||
"--write-selected",
|
||||
type=str,
|
||||
dest="selected_paths",
|
||||
default=None,
|
||||
help="Comma separated list of selected paths to write",
|
||||
)
|
||||
|
||||
parser.add_argument(
|
||||
"--fatal",
|
||||
metavar="errors|warnings",
|
||||
|
|
@ -527,8 +518,6 @@ def get_config(args):
|
|||
config["LOAD_CONTENT_CACHE"] = False
|
||||
if args.cache_path:
|
||||
config["CACHE_PATH"] = args.cache_path
|
||||
if args.selected_paths:
|
||||
config["WRITE_SELECTED"] = args.selected_paths.split(",")
|
||||
if args.relative_paths:
|
||||
config["RELATIVE_URLS"] = args.relative_paths
|
||||
if args.port is not None:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue