diff --git a/docs/conf.py b/docs/conf.py index cf49d0e1b7..161684505a 100644 --- a/docs/conf.py +++ b/docs/conf.py @@ -649,9 +649,7 @@ "docs_path": "docs", "dest": "mecoliflytesnacks", "cmd": [ - ["cd", f"{flytesnacks_path}"], - ["git", "checkout", "origin/jupyter-basic"], - ["cd", "-"], + ["git", "-C", f"{flytesnacks_path}", "checkout", "origin/jupyter-basic"], ["cp", "-R", f"{flytesnacks_path}/examples", "./mecoliexamples"], [ # remove un-needed docs files in flytesnacks