From 38bb2c61c1d0e4063dde7184a0cd43e798577234 Mon Sep 17 00:00:00 2001 From: Ivan Kravets Date: Fri, 11 Jan 2019 14:35:54 +0200 Subject: [PATCH] Docs: Sort upload protocols for board --- docs | 2 +- scripts/docspregen.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/docs b/docs index a48c700b..e40ed515 160000 --- a/docs +++ b/docs @@ -1 +1 @@ -Subproject commit a48c700ba11faa1da891ddeab613192c768252a9 +Subproject commit e40ed515552cc3f78a73cfada06042bdb6210fa3 diff --git a/scripts/docspregen.py b/scripts/docspregen.py index 721d39da..b4e5a67f 100644 --- a/scripts/docspregen.py +++ b/scripts/docspregen.py @@ -690,7 +690,7 @@ Uploading --------- %s supports the next uploading protocols: """ % board['name']) - for protocol in upload_protocols: + for protocol in sorted(upload_protocols): lines.append("* ``%s``" % protocol) lines.append(""" Default protocol is ``%s``""" % variables['upload_protocol'])