Skip to content

Commit

Permalink
[SPARK-51104][DOC][FOLLOWUP] Self-host docsearch.min.css in Spark web…
Browse files Browse the repository at this point in the history
…site

Follow-up of #49823, we need to self-host docsearch.min.css in Spark website as well

Fix the broken styling on the Spark website.

No

Local build and preview

No

Closes #49838 from gengliangwang/fixWebsiteFollowup.

Authored-by: Gengliang Wang <[email protected]>
Signed-off-by: Gengliang Wang <[email protected]>
(cherry picked from commit 5a925c6)
Signed-off-by: Gengliang Wang <[email protected]>
  • Loading branch information
gengliangwang committed Feb 6, 2025
1 parent 31fbf01 commit 3b892bd
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
6 changes: 3 additions & 3 deletions docs/_layouts/global.html
Original file line number Diff line number Diff line change
Expand Up @@ -27,9 +27,9 @@
<link href="css/custom.css" rel="stylesheet">
<script src="js/vendor/modernizr-2.6.1-respond-1.1.0.min.js"></script>

<link rel="stylesheet" href="css/pygments-default.css">
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/docsearch.js@2/dist/cdn/docsearch.min.css" />
<link rel="stylesheet" href="css/docsearch.css">
<link rel="stylesheet" href="{{ rel_path_to_root }}css/pygments-default.css">
<link rel="stylesheet" href="{{ rel_path_to_root }}css/docsearch.min.css" />
<link rel="stylesheet" href="{{ rel_path_to_root }}css/docsearch.css">

{% production %}
<!-- Matomo -->
Expand Down
2 changes: 2 additions & 0 deletions docs/css/docsearch.min.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 3b892bd

Please sign in to comment.