Skip to content

Conversation

@parlough
Copy link
Member

@parlough parlough commented Nov 5, 2025

Includes the page title and description (if present) in the secondary Markdown output for each page.

Staged example: https://flutter-docs-prod--pr12639-feat-header-in-markdown-out-0w19b91b.web.app/ui/layout/tutorial/index.html.md

@parlough parlough requested review from a team and sfshaza2 as code owners November 5, 2025 11:55
@gemini-code-assist
Copy link
Contributor

Summary of Changes

Hello @parlough, I'm Gemini Code Assist1! I'm currently reviewing this pull request and will post my feedback shortly. In the meantime, here's a summary to help you and other reviewers quickly get up to speed!

This pull request enhances the site's content generation by ensuring that page titles and descriptions are automatically included in the secondary Markdown output, improving the readability and context of generated documentation. It also includes a minor refactoring of a core component and updates various package dependencies to maintain compatibility and leverage the latest features and fixes.

Highlights

  • Markdown Output Enhancement: The generated Markdown output for each page now includes the page's title as an H1 heading and its description as a blockquote, if these properties are present in the page data.
  • Component Refactoring: The DashTabs component has been refactored to extend CustomComponent instead of implementing it, along with an update to its constructor.
  • Dependency Updates: Several project dependencies, including crypto, jaspr_content, build_web_compilers, and sass, have been updated to their latest versions.
Using Gemini Code Assist

The full guide for Gemini Code Assist can be found on our documentation page, here are some quick tips.

Invoking Gemini

You can request assistance from Gemini at any point by creating a comment using either /gemini <command> or @gemini-code-assist <command>. Below is a summary of the supported commands on the current page.

Feature Command Description
Code Review /gemini review Performs a code review for the current pull request in its current state.
Pull Request Summary /gemini summary Provides a summary of the current pull request in its current state.
Comment @gemini-code-assist Responds in comments when explicitly tagged, both in pull request comments and review comments.
Help /gemini help Displays a list of available commands.

Customization

To customize Gemini Code Assist for GitHub experience, repository maintainers can create a configuration file and/or provide a custom code review style guide (such as PEP-8 for Python) by creating and adding files to a .gemini/ folder in the base of the repository. Detailed instructions can be found here.

Limitations & Feedback

Gemini Code Assist may make mistakes. Please leave feedback on any instances where its feedback is incorrect or counter productive. You can react with 👍 and 👎 on @gemini-code-assist comments. If you're interested in giving your feedback about your experience with Gemini Code Assist for Github and other Google products, sign up here.

You can also get AI-powered code generation, chat, as well as code reviews directly in the IDE at no cost with the Gemini Code Assist IDE Extension.

Footnotes

  1. Review the Privacy Notices, Generative AI Prohibited Use Policy, Terms of Service, and learn how to configure Gemini Code Assist in GitHub here. Gemini can make mistakes, so double check it and use code with caution.

Copy link
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 updates dependencies and adds a feature to include the page title and description in the secondary Markdown output. The implementation for adding the header is mostly correct, but I've suggested a small improvement to make it more robust by handling cases where a page might have a description but no title. The other changes are dependency updates which look fine.

@flutter-website-bot
Copy link
Collaborator

flutter-website-bot commented Nov 5, 2025

Visit the preview URL for this PR (updated for commit e8c999e):

https://flutter-docs-prod--pr12639-feat-header-in-markdown-out-0w19b91b.web.app

Copy link
Contributor

@sfshaza2 sfshaza2 left a comment

Choose a reason for hiding this comment

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

lgtm

@sfshaza2 sfshaza2 merged commit 52e6bce into main Nov 5, 2025
9 checks passed
@sfshaza2 sfshaza2 deleted the feat/header-in-markdown-output branch November 5, 2025 19:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants