We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent fbaa917 commit 9e29bcaCopy full SHA for 9e29bca
mkdocs.yml
@@ -5,6 +5,7 @@ site_url: https://knative.dev/
5
site_description: Knative Documentation
6
extra_css:
7
- stylesheets/extra.css
8
+ - overrides/assets/stylesheets/home.css
9
# Don't try to make snippets into regular docs (e.g. link-checking, nav, etc)
10
exclude_docs: |
11
*docs/snippets/
overrides/assets/stylesheets/home.css
@@ -921,3 +921,11 @@ footer nav.md-footer__inner {
921
display: none;
922
}
923
924
+
925
+/* Truncate MkDocs search result preview to 3 lines */
926
+.md-search-result .md-typeset {
927
+ display: -webkit-box;
928
+ -webkit-line-clamp: 3;
929
+ -webkit-box-orient: vertical;
930
+ overflow: hidden;
931
+}
0 commit comments