From 55e60ffca341bc3ce1ddb715763219f2a2a5192f Mon Sep 17 00:00:00 2001 From: Ben Frederickson Date: Tue, 14 May 2024 20:53:21 -0700 Subject: [PATCH] Fix rust api docs (#119) The rust api docs on docs.rapids.ai are deployed to https://docs.rapids.ai/api/cuvs/nightly/rust_api/index.html but the relative link in the iframe was assuming that these were at https://docs.rapids.ai/api/cuvs/nightly/rust_api.html. (There seems to be some difference in the url structure depending on whether you build locally or not) Fix by forcing the url structure to always be `rust_api/index.html` Authors: - Ben Frederickson (https://github.com/benfred) Approvers: - Corey J. Nolet (https://github.com/cjnolet) URL: https://github.com/rapidsai/cuvs/pull/119 --- docs/source/api_docs.rst | 2 +- docs/source/{rust_api.rst => rust_api/index.rst} | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) rename docs/source/{rust_api.rst => rust_api/index.rst} (78%) diff --git a/docs/source/api_docs.rst b/docs/source/api_docs.rst index c911539b95..fe71ff3131 100644 --- a/docs/source/api_docs.rst +++ b/docs/source/api_docs.rst @@ -8,4 +8,4 @@ API Reference c_api.rst cpp_api.rst python_api.rst - rust_api.rst + rust_api/index.rst diff --git a/docs/source/rust_api.rst b/docs/source/rust_api/index.rst similarity index 78% rename from docs/source/rust_api.rst rename to docs/source/rust_api/index.rst index 8297dbef94..f79d04fdf8 100644 --- a/docs/source/rust_api.rst +++ b/docs/source/rust_api/index.rst @@ -4,7 +4,7 @@ Rust API Documentation .. raw:: html - +