Skip to content

Conversation

@codeEvolveZenith345
Copy link

Proposed Changes

  • Truncate search result previews to 3 lines (about 100 characters) via custom CSS in home.css
  • Update mkdocs.yml to ensure the CSS file is loaded
  • Improves search result usability by preventing display of excessive content

Fixes #6316
close #6316

Signed-off-by: codeEvolveZenith345 <suntiwari3495@gmail.com>
@netlify
Copy link

netlify bot commented Nov 1, 2025

Deploy Preview for knative ready!

Built without sensitive environment variables

Name Link
🔨 Latest commit 9e29bca
🔍 Latest deploy log https://app.netlify.com/projects/knative/deploys/6905adbd67e9b80008ca5ecf
😎 Deploy Preview https://deploy-preview-6485--knative.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

@linux-foundation-easycla
Copy link

linux-foundation-easycla bot commented Nov 1, 2025

CLA Signed
The committers listed above are authorized under a signed CLA.

  • ✅ login: codeEvolveZenith345 / name: codeEvolveZenith345 (9e29bca)

@knative-prow
Copy link

knative-prow bot commented Nov 1, 2025

[APPROVALNOTIFIER] This PR is NOT APPROVED

This pull-request has been approved by: codeEvolveZenith345
Once this PR has been reviewed and has the lgtm label, please assign dsimansk for approval. For more information see the Code Review Process.

The full list of commands accepted by this bot can be found here.

Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@knative-prow knative-prow bot added the size/XS Denotes a PR that changes 0-9 lines, ignoring generated files. label Nov 1, 2025
site_description: Knative Documentation
extra_css:
- stylesheets/extra.css
- overrides/assets/stylesheets/home.css
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This doesn't seem to be loading properly on e.g. https://deploy-preview-6485--knative.netlify.app/docs/ if you search for "auto".

(Part of it may be needing to remove the overrides/assets path.)

I'm also wondering if this should simply go into extra.css, as home.css is specific styling for the homepage, which has custom-written HTML.

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ok I will look into it and make an implementation as instructed !

@evankanderson
Copy link
Member

/assign

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

size/XS Denotes a PR that changes 0-9 lines, ignoring generated files.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Truncate search results

2 participants