Merge branch 'bugfix/doc_master_branch_clone_note' into 'master'

doc: Fix invalid 'This command will clone master' note in docs

See merge request idf/esp-idf!4240
This commit is contained in:
Angus Gratton 2019-02-20 08:31:05 +08:00
commit 062893c5da

View File

@ -163,7 +163,7 @@ def write_git_clone_inc_files(templates, out_dir, version, ver_type, is_stable):
zipfile = template["zipfile"] zipfile = template["zipfile"]
if version == "master": if version == "master":
extra_note = template["master"], extra_note = template["master"]
zipfile_note = zipfile["unstable"] zipfile_note = zipfile["unstable"]
else: else:
extra_note = template["branch"] % {"clone_arg": version, "ver_type": ver_type} extra_note = template["branch"] % {"clone_arg": version, "ver_type": ver_type}