Placeholder fix
Some checks are pending
gl/check check status: pending (b6cb96297416e9054cbf665f5c592e3a463e2954)
Some checks are pending
gl/check check status: pending (b6cb96297416e9054cbf665f5c592e3a463e2954)
This commit is contained in:
@ -205,9 +205,10 @@ def process_repositories(args, service):
|
|||||||
repo_to.index.add(pathlib.Path(copy_path, "index.rst"))
|
repo_to.index.add(pathlib.Path(copy_path, "index.rst"))
|
||||||
|
|
||||||
placeholder_path = pathlib.Path(copy_path, "_static")
|
placeholder_path = pathlib.Path(copy_path, "_static")
|
||||||
if not placeholder_path.exists():
|
if not pathlib.Path(placeholder_path, "placeholder").exists():
|
||||||
placeholder_path.mkdir(parents=True, exist_ok=True)
|
placeholder_path.mkdir(parents=True, exist_ok=True)
|
||||||
open(pathlib.Path(placeholder_path, ".placeholder"), 'a').close()
|
open(pathlib.Path(placeholder_path, "placeholder"), 'a').close()
|
||||||
|
repo_to.index.add(pathlib.Path(placeholder_path, "placeholder"))
|
||||||
|
|
||||||
if args.update_tox:
|
if args.update_tox:
|
||||||
context = dict(docs=[])
|
context = dict(docs=[])
|
||||||
|
Reference in New Issue
Block a user