Skip to content

Commit 2ebfe51

Browse files
authored
Fix sidebar z-index (#538)
* Fix sidebar z-index * Fix robots.txt * Ignore dejavu.css * Ignore it by the full URL
1 parent 98f2c2b commit 2ebfe51

File tree

3 files changed

+3
-13
lines changed

3 files changed

+3
-13
lines changed

.github/workflows/mkdocs-test.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,8 @@ jobs:
7575
sleep 1
7676
done
7777
echo "Launching linkchecker"
78-
linkchecker --no-warnings --no-status http://127.0.0.1:8000/
78+
# Ignore dejavu.css for now, it is a JDK bug.
79+
linkchecker --no-warnings --no-status http://127.0.0.1:8000/ --ignore-url http://127.0.0.1:8000/javadoc/resources/fonts/dejavu.css
7980
8081
# If ok just kill the server
8182
kill -9 $SERVER_PID

docs/css/custom.css

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -174,9 +174,6 @@
174174
header.md-header {
175175
z-index: 900 !important;
176176
}
177-
.md-sidebar {
178-
z-index: 1000 !important;
179-
}
180177
.md-overlay {
181178
z-index: 950 !important;
182179
}

docs/robots.txt

Lines changed: 1 addition & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,2 @@
11
User-agent: *
2-
Disallow: /
3-
Allow: /4.1/
4-
Allow: /latest/
5-
6-
Allow: /hopsworks-api/4.1/
7-
Allow: /hopsworks-api/latest/
8-
9-
Allow: /hopsworks-api/4.1/javadoc/
10-
Allow: /hopsworks-api/latest/javadoc/
2+
Allow: /

0 commit comments

Comments
 (0)