Skip to content

Commit 84abef2

Browse files
committed
Fix doc headers in the Hopsworks API documentation (#444)
* Fix doc headers in the Hopsworks API documentation The headers in the main documentation are different than the headers in the Hopsworks API documentation. In particular: - Setup and Installation and Administration have been merged into: Setup and Administration - Python API has been renamed to Hopsworks API * Fix index in dropdown.js
1 parent 7a3fea6 commit 84abef2

File tree

3 files changed

+4
-6
lines changed

3 files changed

+4
-6
lines changed

docs/js/dropdown.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
1-
document.getElementsByClassName("md-tabs__link")[7].style.display = "none";
2-
document.getElementsByClassName("md-tabs__link")[9].style.display = "none";
1+
document.getElementsByClassName("md-tabs__link")[6].style.display = "none";
2+
document.getElementsByClassName("md-tabs__link")[8].style.display = "none";

docs/js/inject-api-links.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,6 @@ window.addEventListener("DOMContentLoaded", function () {
2121
document.getElementsByClassName("md-tabs__link")[3].href = "https://docs.hopsworks.ai/" + majorVersion + "/concepts/hopsworks/";
2222
document.getElementsByClassName("md-tabs__link")[4].href = "https://docs.hopsworks.ai/" + majorVersion + "/user_guides/";
2323
document.getElementsByClassName("md-tabs__link")[5].href = "https://docs.hopsworks.ai/" + majorVersion + "/setup_installation/aws/getting_started/";
24-
document.getElementsByClassName("md-tabs__link")[6].href = "https://docs.hopsworks.ai/" + majorVersion + "/admin/";
2524
// Version API dropdown
2625
document.getElementById("hopsworks_api_link").href = "https://docs.hopsworks.ai/hopsworks-api/" + majorVersion + "/generated/api/login/";
2726
document.getElementById("hsfs_api_link").href = "https://docs.hopsworks.ai/feature-store-api/" + majorVersion + "/generated/api/connection_api/";

mkdocs.yml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,9 +14,8 @@ nav:
1414
- Tutorials: https://docs.hopsworks.ai/
1515
- Concepts: https://docs.hopsworks.ai/
1616
- Guides: https://docs.hopsworks.ai/
17-
- Setup and Installation: https://docs.hopsworks.ai/
18-
- Administration: https://docs.hopsworks.ai/
19-
- API<div class="dropdown"><button class="dropbtn"> API </button> <div id="myDropdown" class="dropdown-content"> <a id="hopsworks_api_link" href="https://docs.hopsworks.ai/hopsworks-api/latest">Python API</a> <a id="hsfs_javadoc_link" href="https://docs.hopsworks.ai/hopsworks-api/latest/javadoc">Feature Store JavaDoc</a> </div></div>:
17+
- Setup and Administration: https://docs.hopsworks.ai/
18+
- API<div class="dropdown"><button class="dropbtn"> API </button> <div id="myDropdown" class="dropdown-content"> <a id="hopsworks_api_link" href="https://docs.hopsworks.ai/hopsworks-api/latest">Hopsworks API</a> <a id="hsfs_javadoc_link" href="https://docs.hopsworks.ai/hopsworks-api/latest/javadoc">Feature Store JavaDoc</a> </div></div>:
2019
- Platform API:
2120
- Login: generated/api/login.md
2221
- Connection: generated/api/connection.md

0 commit comments

Comments
 (0)