Skip to content

Commit bd15f08

Browse files
committed
Added logo redirecting to documentation root
1 parent 360805d commit bd15f08

File tree

3 files changed

+9
-1
lines changed

3 files changed

+9
-1
lines changed

Diff for: .github/workflows/deploy_guide.yml

+2-1
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,8 @@ jobs:
3838
cp ./mkdocs.yml ./build/mkdocs.yml
3939
cp -r ./assets/images ./build/docs/assets/images
4040
cp -r ./assets/css ./build/docs/assets/css
41-
41+
cp -r ./assets/js ./build/docs/assets/js
42+
4243
site_name=$(yq e '.website_name' ${{ github.event.inputs.config }}) yq e '.site_name = env(site_name)' -i ./build/mkdocs.yml
4344
4445
cp ./assets/pages/header.md ./build/docs/index.md

Diff for: assets/js/extra.js

+5
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
let logos = document.querySelectorAll("[data-md-component='logo']");
2+
3+
logos.forEach((logo) => {
4+
logo.setAttribute('href', 'https://docs.diskoverdata.com/');
5+
});

Diff for: mkdocs.yml

+2
Original file line numberDiff line numberDiff line change
@@ -15,3 +15,5 @@ markdown_extensions:
1515
toc_depth: 3
1616
extra_css:
1717
- assets/css/extra.css
18+
extra_javascript:
19+
- assets/js/extra.js

0 commit comments

Comments
 (0)