From 744b49ba28c71b991def4e7ffcf2dca702a548bf Mon Sep 17 00:00:00 2001 From: Allard Hendriksen Date: Mon, 22 Jan 2024 18:36:55 +0100 Subject: [PATCH] Move ptx.md out of extended API (#1308) Previously, ptx.md was part of the extended API, but in the left hand side bar was listed as its own section. Now, it has been moved out of the extended API, and moved to a separate spot in the left-hand side bar, below Extended API, and above Releases, and Contributing. --- libcudacxx/docs/contributing.md | 2 +- libcudacxx/docs/extended_api.md | 2 -- libcudacxx/docs/{extended_api => }/ptx.md | 6 ++++++ libcudacxx/docs/releases.md | 2 +- 4 files changed, 8 insertions(+), 4 deletions(-) rename libcudacxx/docs/{extended_api => }/ptx.md (99%) diff --git a/libcudacxx/docs/contributing.md b/libcudacxx/docs/contributing.md index d846e9e1fe3..442917e561e 100644 --- a/libcudacxx/docs/contributing.md +++ b/libcudacxx/docs/contributing.md @@ -1,7 +1,7 @@ --- has_children: true has_toc: true -nav_order: 5 +nav_order: 6 --- # Contributing diff --git a/libcudacxx/docs/extended_api.md b/libcudacxx/docs/extended_api.md index 70a19dcdf03..983a0775fa1 100644 --- a/libcudacxx/docs/extended_api.md +++ b/libcudacxx/docs/extended_api.md @@ -23,8 +23,6 @@ nav_order: 3 {% include_relative extended_api/memory_resource.md %} -{% include_relative extended_api/ptx.md %} - [Thread Scopes]: ./extended_api/memory_model.md#thread-scopes [Thread Groups]: ./extended_api/thread_groups.md diff --git a/libcudacxx/docs/extended_api/ptx.md b/libcudacxx/docs/ptx.md similarity index 99% rename from libcudacxx/docs/extended_api/ptx.md rename to libcudacxx/docs/ptx.md index 7015d054673..8e7c37ff7c1 100644 --- a/libcudacxx/docs/extended_api/ptx.md +++ b/libcudacxx/docs/ptx.md @@ -1,3 +1,9 @@ +--- +has_children: true +has_toc: false +nav_order: 4 +--- + ## PTX instructions The `cuda::ptx` namespace contains functions that map one-to-one to diff --git a/libcudacxx/docs/releases.md b/libcudacxx/docs/releases.md index d2239ef38a6..d77d1bfe09e 100644 --- a/libcudacxx/docs/releases.md +++ b/libcudacxx/docs/releases.md @@ -1,7 +1,7 @@ --- has_children: true has_toc: true -nav_order: 4 +nav_order: 5 --- # Releases