Skip to content

Commit 3e4d5a9

Browse files
committed
Minimal changes
1 parent 9fec664 commit 3e4d5a9

File tree

5 files changed

+10
-7
lines changed

5 files changed

+10
-7
lines changed

docs/css/custom.css

+5-2
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
:root {
1+
[data-md-color-scheme="hopsworks"] {
22
--md-primary-fg-color: #1eb382;
33
--md-secondary-fg-color: #188a64;
44
--md-tertiary-fg-color: #0d493550;
@@ -9,7 +9,6 @@
99
.md-footer__inner:not([hidden]) {
1010
display: none;
1111
}
12-
1312
/* Lex did stuff here */
1413
.svg_topnav {
1514
width: 12px;
@@ -24,6 +23,10 @@
2423
box-shadow: 0 0 0 0;
2524
}
2625

26+
.md-tabs__item {
27+
min-width: 2.5rem;
28+
}
29+
2730
.md-tabs__item:hover {
2831
background-color: var(--md-tertiary-fg-color);
2932
transition: background-color 450ms;

docs/css/dropdown.css

+1-1
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ overflow: inherit;
1717

1818
/* The container <div> - needed to position the dropdown content */
1919
.dropdown {
20-
position: relative;
20+
position: absolute;
2121
display: inline-block;
2222
}
2323

docs/js/inject-api-links.js

+2-3
Original file line numberDiff line numberDiff line change
@@ -6,14 +6,13 @@ window.addEventListener("DOMContentLoaded", function () {
66
document.getElementById("hopsworks_api_link").href = "https://docs.hopsworks.ai/hopsworks-api/" + windowPathNameSplits[1] + "/generated/api/login/";
77
document.getElementById("hsfs_api_link").href = "https://docs.hopsworks.ai/feature-store-api/" + windowPathNameSplits[1] + "/generated/api/connection_api/";
88
document.getElementById("hsml_api_link").href = "https://docs.hopsworks.ai/machine-learning-api/" + windowPathNameSplits[1] + "/generated/connection_api/";
9-
document.getElementById("hsfs_javadoc_link").href = "https://docs.hopsworks.ai/feature-store-api/" + windowPathNameSplits[1] + "/javadoc";
109
} 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
1110
var apiVersion = windowPathNameSplits[2];
1211
var majorVersion = apiVersion.match(majorVersionRegex)[0];
1312
// Version main navigation
1413
document.getElementsByClassName("md-tabs__link")[0].href = "https://docs.hopsworks.ai/" + majorVersion;
15-
document.getElementsByClassName("md-tabs__link")[1].href = "https://docs.hopsworks.ai/" + majorVersion + "/getting_started/quickstart/";
16-
document.getElementsByClassName("md-tabs__link")[2].href = "https://docs.hopsworks.ai/" + majorVersion + "/tutorials/fraud_batch/1_feature_groups/";
14+
document.getElementsByClassName("md-tabs__link")[1].href = "https://colab.research.google.com/github/logicalclocks/hopsworks-tutorials/blob/master/quickstart.ipynb";
15+
document.getElementsByClassName("md-tabs__link")[2].href = "https://docs.hopsworks.ai/" + majorVersion + "/tutorials/";
1716
document.getElementsByClassName("md-tabs__link")[3].href = "https://docs.hopsworks.ai/" + majorVersion + "/concepts/hopsworks/";
1817
document.getElementsByClassName("md-tabs__link")[4].href = "https://docs.hopsworks.ai/" + majorVersion + "/user_guides/";
1918
document.getElementsByClassName("md-tabs__link")[5].href = "https://docs.hopsworks.ai/" + majorVersion + "/setup_installation/aws/getting_started/";
File renamed without changes.

mkdocs.yml

+2-1
Original file line numberDiff line numberDiff line change
@@ -281,7 +281,7 @@ nav:
281281

282282
theme:
283283
name: material
284-
custom_dir: overrides
284+
custom_dir: docs/overrides
285285
favicon: assets/images/favicon.ico
286286
logo: assets/images/hops-logo.png
287287
icon:
@@ -291,6 +291,7 @@ theme:
291291
code: "IBM Plex Mono"
292292
palette:
293293
accent: teal
294+
scheme: hopsworks
294295
features:
295296
- navigation.tabs
296297
- navigation.tabs.sticky

0 commit comments

Comments
 (0)