diff --git a/docs/js/inject-api-links.js b/docs/js/inject-api-links.js index 6c8a4a3b3..b6aca0755 100644 --- a/docs/js/inject-api-links.js +++ b/docs/js/inject-api-links.js @@ -5,8 +5,6 @@ window.addEventListener("DOMContentLoaded", function () { if (majorVersionRegex.test(windowPathNameSplits[1])) { // On landing page docs.hopsworks.api/3.0 - URL contains major version // Version API dropdown document.getElementById("hopsworks_api_link").href = "https://docs.hopsworks.ai/hopsworks-api/" + windowPathNameSplits[1] + "/generated/api/login/"; - document.getElementById("hsfs_api_link").href = "https://docs.hopsworks.ai/feature-store-api/" + windowPathNameSplits[1] + "/generated/api/connection_api/"; - document.getElementById("hsml_api_link").href = "https://docs.hopsworks.ai/machine-learning-api/" + windowPathNameSplits[1] + "/generated/connection_api/"; } else { // on docs.hopsworks.api/feature-store-api/3.0 / docs.hopsworks.api/hopsworks-api/3.0 / docs.hopsworks.api/machine-learning-api/3.0 if (latestRegex.test(windowPathNameSplits[2]) || latestRegex.test(windowPathNameSplits[1])) { var majorVersion = "latest"; @@ -24,8 +22,6 @@ window.addEventListener("DOMContentLoaded", function () { document.getElementsByClassName("md-tabs__link")[6].href = "https://docs.hopsworks.ai/" + majorVersion + "/admin/"; // Version API dropdown document.getElementById("hopsworks_api_link").href = "https://docs.hopsworks.ai/hopsworks-api/" + majorVersion + "/generated/api/login/"; - document.getElementById("hsfs_api_link").href = "https://docs.hopsworks.ai/feature-store-api/" + majorVersion + "/generated/api/connection_api/"; document.getElementById("hsfs_javadoc_link").href = "https://docs.hopsworks.ai/feature-store-api/" + majorVersion + "/javadoc"; - document.getElementById("hsml_api_link").href = "https://docs.hopsworks.ai/machine-learning-api/" + majorVersion + "/generated/connection_api/"; } }); diff --git a/mkdocs.yml b/mkdocs.yml index a7b710183..2341c5ae1 100644 --- a/mkdocs.yml +++ b/mkdocs.yml @@ -17,6 +17,7 @@ nav: - Setup and Installation: https://docs.hopsworks.ai/ - Administration: https://docs.hopsworks.ai/ - API: + - Login: generated/api/login.md - Platform API: - Connection: generated/api/connection.md - Datasets: generated/api/datasets.md @@ -29,7 +30,6 @@ nav: - Jobs: generated/api/jobs.md - KafkaSchema: generated/api/kafka_schema.md - KafkaTopic: generated/api/kafka_topic.md - - Login: generated/api/login.md - OpenSearch: generated/api/opensearch.md - Projects: generated/api/projects.md - Secrets: generated/api/secrets.md