diff --git a/docs b/docs index 394a9811..14ee4036 160000 --- a/docs +++ b/docs @@ -1 +1 @@ -Subproject commit 394a9811cef4a48bdbe493b2aa8105f1749b7cc7 +Subproject commit 14ee40368f8c3683985e04c6cb685befaf9b206d diff --git a/examples b/examples index cab374e8..8e11abaa 160000 --- a/examples +++ b/examples @@ -1 +1 @@ -Subproject commit cab374e8c972eeb38ac8d5ad93bdcf3b9d8965cd +Subproject commit 8e11abaafcfac758252f1df820d694a873e09e36 diff --git a/scripts/docspregen.py b/scripts/docspregen.py index 90eb5872..17c1b6ba 100644 --- a/scripts/docspregen.py +++ b/scripts/docspregen.py @@ -521,40 +521,6 @@ def update_framework_docs(): isfile(join(frameworks_dir, "%s_extra.rst" % name)))) -def update_create_platform_doc(): - lines = [] - lines.append(""".. _platform_creating_packages: - -Packages --------- - -*PlatformIO* has pre-built packages for the most popular operation systems: -*Mac OS*, *Linux (+ARM)* and *Windows*. - -.. list-table:: - :header-rows: 1 - - * - Name - - Description""") - for name, items in sorted(API_PACKAGES.iteritems()): - lines.append(""" - * - `{name} <{url}>`__ - - {description}""".format( - name=name, - url=API_PACKAGES[name]['url'], - description=API_PACKAGES[name]['description'])) - - with open( - join(util.get_source_dir(), "..", "docs", "platforms", - "creating_platform.rst"), "r+") as fp: - content = fp.read() - fp.seek(0) - fp.truncate() - fp.write(content[:content.index(".. _platform_creating_packages:")] + - "\n".join(lines) + "\n\n" + content[content.index( - ".. _platform_creating_manifest_file:"):]) - - def update_embedded_boards(): lines = [] @@ -839,7 +805,6 @@ def update_project_examples(): def main(): - update_create_platform_doc() update_platform_docs() update_framework_docs() update_embedded_boards()