diff --git a/docs/conf.py b/docs/conf.py index 7d9aaa46a4d..b9160e650bd 100644 --- a/docs/conf.py +++ b/docs/conf.py @@ -130,189 +130,8 @@ }, 'version_dropdown': True, - 'version_info': [ - # need to use the sdk- prefix to avoid conflict with the BE's GitHub release tags - { - 'version': - 'https://kubeflow-pipelines.readthedocs.io/en/sdk-2.7.0/', - 'title': - '2.7.0', - 'aliases': ['stable'], - }, - { - 'version': - 'https://kubeflow-pipelines.readthedocs.io/en/sdk-2.6.0/', - 'title': - '2.6.0', - 'aliases': [], - }, - { - 'version': - 'https://kubeflow-pipelines.readthedocs.io/en/sdk-2.5.0/', - 'title': - '2.5.0', - 'aliases': [], - }, - { - 'version': - 'https://kubeflow-pipelines.readthedocs.io/en/sdk-2.4.0/', - 'title': - '2.4.0', - 'aliases': [], - }, - { - 'version': - 'https://kubeflow-pipelines.readthedocs.io/en/sdk-2.3.0/', - 'title': - '2.3.0', - 'aliases': [], - }, - { - 'version': - 'https://kubeflow-pipelines.readthedocs.io/en/sdk-2.2.0/', - 'title': - '2.2.0', - 'aliases': [], - }, - { - 'version': - 'https://kubeflow-pipelines.readthedocs.io/en/sdk-2.0.1/', - 'title': - '2.0.1', - 'aliases': [], - }, - { - 'version': - 'https://kubeflow-pipelines.readthedocs.io/en/sdk-2.0.0/', - 'title': - '2.0.0', - 'aliases': [], - }, - { - 'version': - 'https://kubeflow-pipelines.readthedocs.io/en/sdk-2.0.0-rc.2/', - 'title': - 'v2.0.0rc2', - 'aliases': [], - }, - { - 'version': - 'https://kubeflow-pipelines.readthedocs.io/en/sdk-2.0.0-rc.1/', - 'title': - 'v2.0.0rc1', - 'aliases': [], - }, - { - 'version': 'https://kubeflow-pipelines.readthedocs.io/en/2.0.0b17/', - 'title': 'v2.0.0b17', - 'aliases': [], - }, - { - 'version': 'https://kubeflow-pipelines.readthedocs.io/en/2.0.0b16/', - 'title': 'v2.0.0b16', - 'aliases': [], - }, - { - 'version': 'https://kubeflow-pipelines.readthedocs.io/en/2.0.0b15/', - 'title': 'v2.0.0b15', - 'aliases': [], - }, - { - 'version': 'https://kubeflow-pipelines.readthedocs.io/en/2.0.0b14/', - 'title': 'v2.0.0b14', - 'aliases': [], - }, - { - 'version': 'https://kubeflow-pipelines.readthedocs.io/en/2.0.0b13/', - 'title': 'v2.0.0b13', - 'aliases': [], - }, - { - 'version': 'https://kubeflow-pipelines.readthedocs.io/en/2.0.0b12/', - 'title': 'v2.0.0b12', - 'aliases': [], - }, - { - 'version': 'https://kubeflow-pipelines.readthedocs.io/en/2.0.0b11/', - 'title': 'v2.0.0b11', - 'aliases': [], - }, - { - 'version': 'https://kubeflow-pipelines.readthedocs.io/en/2.0.0b9/', - 'title': 'v2.0.0b9', - 'aliases': [], - }, - { - 'version': 'https://kubeflow-pipelines.readthedocs.io/en/2.0.0b8/', - 'title': 'v2.0.0b8', - 'aliases': [], - }, - { - 'version': 'https://kubeflow-pipelines.readthedocs.io/en/2.0.0b6/', - 'title': 'v2.0.0b6', - 'aliases': [], - }, - { - 'version': 'https://kubeflow-pipelines.readthedocs.io/en/2.0.0b5/', - 'title': 'v2.0.0b5', - 'aliases': [], - }, - { - 'version': 'https://kubeflow-pipelines.readthedocs.io/en/2.0.0b4/', - 'title': 'v2.0.0b4', - 'aliases': [], - }, - { - 'version': 'https://kubeflow-pipelines.readthedocs.io/en/1.8.22/', - 'title': 'v1.8.22', - 'aliases': [], - }, - { - 'version': 'https://kubeflow-pipelines.readthedocs.io/en/1.8.21/', - 'title': 'v1.8.21', - 'aliases': [], - }, - { - 'version': 'https://kubeflow-pipelines.readthedocs.io/en/1.8.20/', - 'title': 'v1.8.20', - 'aliases': [], - }, - { - 'version': 'https://kubeflow-pipelines.readthedocs.io/en/1.8.19/', - 'title': 'v1.8.19', - 'aliases': [], - }, - { - 'version': 'https://kubeflow-pipelines.readthedocs.io/en/1.8.18/', - 'title': 'v1.8.18', - 'aliases': [], - }, - { - 'version': 'https://kubeflow-pipelines.readthedocs.io/en/1.8.17/', - 'title': 'v1.8.17', - 'aliases': [], - }, - { - 'version': 'https://kubeflow-pipelines.readthedocs.io/en/1.8.16/', - 'title': 'v1.8.16', - 'aliases': [], - }, - { - 'version': 'https://kubeflow-pipelines.readthedocs.io/en/1.8.15/', - 'title': 'v1.8.15', - 'aliases': [], - }, - { - 'version': 'https://kubeflow-pipelines.readthedocs.io/en/1.8.14/', - 'title': 'v1.8.14', - 'aliases': [], - }, - { - 'version': 'https://kubeflow-pipelines.readthedocs.io/en/1.8.13/', - 'title': 'v1.8.13', - 'aliases': [], - }, - ], + 'version_json': + 'https://raw.githubusercontent.com/kubeflow/pipelines/master/docs/versions.json', # "toc_title_is_page_title": True, } # Add any paths that contain templates here, relative to this directory. diff --git a/docs/versions.json b/docs/versions.json new file mode 100644 index 00000000000..b3bb9cf9b42 --- /dev/null +++ b/docs/versions.json @@ -0,0 +1,165 @@ +[ + { + "version": "https://kubeflow-pipelines.readthedocs.io/en/sdk-2.7.0/", + "title": "2.7.0", + "aliases": [ + "stable", + "latest" + ] + }, + { + "version": "https://kubeflow-pipelines.readthedocs.io/en/sdk-2.6.0/", + "title": "2.6.0", + "aliases": [] + }, + { + "version": "https://kubeflow-pipelines.readthedocs.io/en/sdk-2.5.0/", + "title": "2.5.0", + "aliases": [] + }, + { + "version": "https://kubeflow-pipelines.readthedocs.io/en/sdk-2.4.0/", + "title": "2.4.0", + "aliases": [] + }, + { + "version": "https://kubeflow-pipelines.readthedocs.io/en/sdk-2.3.0/", + "title": "2.3.0", + "aliases": [] + }, + { + "version": "https://kubeflow-pipelines.readthedocs.io/en/sdk-2.2.0/", + "title": "2.2.0", + "aliases": [] + }, + { + "version": "https://kubeflow-pipelines.readthedocs.io/en/sdk-2.0.1/", + "title": "2.0.1", + "aliases": [] + }, + { + "version": "https://kubeflow-pipelines.readthedocs.io/en/sdk-2.0.0/", + "title": "2.0.0", + "aliases": [] + }, + { + "version": "https://kubeflow-pipelines.readthedocs.io/en/sdk-2.0.0-rc.2/", + "title": "v2.0.0rc2", + "aliases": [] + }, + { + "version": "https://kubeflow-pipelines.readthedocs.io/en/sdk-2.0.0-rc.1/", + "title": "v2.0.0rc1", + "aliases": [] + }, + { + "version": "https://kubeflow-pipelines.readthedocs.io/en/2.0.0b17/", + "title": "v2.0.0b17", + "aliases": [] + }, + { + "version": "https://kubeflow-pipelines.readthedocs.io/en/2.0.0b16/", + "title": "v2.0.0b16", + "aliases": [] + }, + { + "version": "https://kubeflow-pipelines.readthedocs.io/en/2.0.0b15/", + "title": "v2.0.0b15", + "aliases": [] + }, + { + "version": "https://kubeflow-pipelines.readthedocs.io/en/2.0.0b14/", + "title": "v2.0.0b14", + "aliases": [] + }, + { + "version": "https://kubeflow-pipelines.readthedocs.io/en/2.0.0b13/", + "title": "v2.0.0b13", + "aliases": [] + }, + { + "version": "https://kubeflow-pipelines.readthedocs.io/en/2.0.0b12/", + "title": "v2.0.0b12", + "aliases": [] + }, + { + "version": "https://kubeflow-pipelines.readthedocs.io/en/2.0.0b11/", + "title": "v2.0.0b11", + "aliases": [] + }, + { + "version": "https://kubeflow-pipelines.readthedocs.io/en/2.0.0b9/", + "title": "v2.0.0b9", + "aliases": [] + }, + { + "version": "https://kubeflow-pipelines.readthedocs.io/en/2.0.0b8/", + "title": "v2.0.0b8", + "aliases": [] + }, + { + "version": "https://kubeflow-pipelines.readthedocs.io/en/2.0.0b6/", + "title": "v2.0.0b6", + "aliases": [] + }, + { + "version": "https://kubeflow-pipelines.readthedocs.io/en/2.0.0b5/", + "title": "v2.0.0b5", + "aliases": [] + }, + { + "version": "https://kubeflow-pipelines.readthedocs.io/en/2.0.0b4/", + "title": "v2.0.0b4", + "aliases": [] + }, + { + "version": "https://kubeflow-pipelines.readthedocs.io/en/1.8.22/", + "title": "v1.8.22", + "aliases": [] + }, + { + "version": "https://kubeflow-pipelines.readthedocs.io/en/1.8.21/", + "title": "v1.8.21", + "aliases": [] + }, + { + "version": "https://kubeflow-pipelines.readthedocs.io/en/1.8.20/", + "title": "v1.8.20", + "aliases": [] + }, + { + "version": "https://kubeflow-pipelines.readthedocs.io/en/1.8.19/", + "title": "v1.8.19", + "aliases": [] + }, + { + "version": "https://kubeflow-pipelines.readthedocs.io/en/1.8.18/", + "title": "v1.8.18", + "aliases": [] + }, + { + "version": "https://kubeflow-pipelines.readthedocs.io/en/1.8.17/", + "title": "v1.8.17", + "aliases": [] + }, + { + "version": "https://kubeflow-pipelines.readthedocs.io/en/1.8.16/", + "title": "v1.8.16", + "aliases": [] + }, + { + "version": "https://kubeflow-pipelines.readthedocs.io/en/1.8.15/", + "title": "v1.8.15", + "aliases": [] + }, + { + "version": "https://kubeflow-pipelines.readthedocs.io/en/1.8.14/", + "title": "v1.8.14", + "aliases": [] + }, + { + "version": "https://kubeflow-pipelines.readthedocs.io/en/1.8.13/", + "title": "v1.8.13", + "aliases": [] + } +] diff --git a/sdk/RELEASE.md b/sdk/RELEASE.md index 8091f9d1e67..9accb55eb8a 100644 --- a/sdk/RELEASE.md +++ b/sdk/RELEASE.md @@ -10,6 +10,7 @@ * Throw compilation error when trying to iterate over a single parameter with ParallelFor [\#10494](https://github.com/kubeflow/pipelines/pull/10494) ## Documentation updates +* Make full version dropdown visible on all KFP SDK docs versions [\#10577](https://github.com/kubeflow/pipelines/pull/10577) # 2.7.0