Skip to content

[Docs] Copy page and View page as markdown buttons similar to Gemini API docs#30999

Open
samiahmedsiddiqui wants to merge 2 commits intoyugabyte:masterfrom
samiahmedsiddiqui:feature/markdown-actions
Open

[Docs] Copy page and View page as markdown buttons similar to Gemini API docs#30999
samiahmedsiddiqui wants to merge 2 commits intoyugabyte:masterfrom
samiahmedsiddiqui:feature/markdown-actions

Conversation

@samiahmedsiddiqui
Copy link
Copy Markdown
Contributor

No description provided.

Copy link
Copy Markdown
Contributor

@gemini-code-assist gemini-code-assist Bot left a comment

Choose a reason for hiding this comment

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

Code Review

This pull request introduces a "Copy page as markdown" feature, allowing users to view or copy the raw markdown content of documentation pages. It includes Hugo configuration for markdown output, new SCSS styling, and JavaScript for clipboard functionality. Feedback focuses on preventing a potential JavaScript TypeError by checking for element existence before adding event listeners, addressing a color contrast issue in the dropdown menu where text is nearly invisible, and reducing the reliance on !important in the SCSS to improve maintainability.

Comment thread docs/src/index.js Outdated
Comment thread docs/assets/scss/_markdown-actions.scss Outdated
Comment thread docs/assets/scss/_markdown-actions.scss
@netlify
Copy link
Copy Markdown

netlify Bot commented Apr 7, 2026

Deploy Preview for infallible-bardeen-164bc9 ready!

Built without sensitive environment variables

Name Link
🔨 Latest commit 87cb7ba
🔍 Latest deploy log https://app.netlify.com/projects/infallible-bardeen-164bc9/deploys/69d4fe8f6ed36c0008a3055e
😎 Deploy Preview https://deploy-preview-30999--infallible-bardeen-164bc9.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.

@ddhodge ddhodge added the area/documentation Documentation needed label Apr 17, 2026
@ddhodge ddhodge requested a review from aishwarya24 April 17, 2026 11:26
Copy link
Copy Markdown
Collaborator

@aishwarya24 aishwarya24 left a comment

Choose a reason for hiding this comment

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

LGTM

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

Labels

area/documentation Documentation needed

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants