Skip to content

Conversation

@sandijean90
Copy link
Contributor

Summary

Adding clearer documentation guidelines to the CONTRIBUTING.md file so contributors can have structured guidance as to what is expected from docs updates.

Documentation

  • No Docs Needed:

If this PR adds new feature or changes existing. Make sure documentation is adjusted accordingly. If the docs is not needed, please explain why.

@sandijean90 sandijean90 added the docs Improvements or additions to documentation label Jan 27, 2026
@gemini-code-assist
Copy link
Contributor

Summary of Changes

Hello @sandijean90, 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 significantly refines the documentation contribution process by introducing a detailed and structured set of guidelines within the CONTRIBUTING.md file. The changes aim to provide contributors with clearer expectations and tools for creating high-quality documentation, covering aspects from PR compliance and technical validation to content standards and local previewing capabilities. This enhancement ensures consistency and maintainability of the project's documentation.

Highlights

  • Enhanced Documentation Guidelines: The existing 'Documentation' section in CONTRIBUTING.md has been replaced with a comprehensive 'Documentation Contribution Guidelines' section.
  • Structured Contribution Process: New guidelines are introduced, categorized into 'Process & PR Compliance', 'Technical Validation & Automation', and 'Content & Experience Standards', providing clear expectations for documentation updates.
  • Local Documentation Preview Setup: Instructions for setting up a local Mintlify preview environment are added, allowing contributors to verify visual layout and formatting before submitting changes.

🧠 New Feature in Public Preview: You can now enable Memory to help Gemini Code Assist learn from your team's feedback. This makes future code reviews more consistent and personalized to your project's style. Click here to enable Memory in your admin console.

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 adds detailed documentation contribution guidelines to the CONTRIBUTING.md file. The changes are well-structured and comprehensive. I've provided a few suggestions to improve formatting consistency and align with the project's existing tooling, such as correcting heading levels, using the correct package manager command, and tidying up some minor formatting in the Markdown.

sandijean90 and others added 2 commits January 27, 2026 14:50
fixing heading markdown formatting

Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>
Signed-off-by: Sandi Besen <[email protected]>
changing to pnpm instead of npm to be consistent

Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>
Signed-off-by: Sandi Besen <[email protected]>
@sandijean90 sandijean90 marked this pull request as ready for review January 27, 2026 23:01
@dosubot dosubot bot added the size:M This PR changes 30-99 lines, ignoring generated files. label Jan 27, 2026
@sandijean90 sandijean90 changed the title Adding Docs Guidelines to Contibuting Guidelines docs: Adding Docs Guidelines to Contibuting Guidelines Jan 27, 2026
@dosubot dosubot bot added size:S This PR changes 10-29 lines, ignoring generated files. and removed size:M This PR changes 30-99 lines, ignoring generated files. labels Jan 28, 2026
@sandijean90
Copy link
Contributor Author

@JanPokorny I made your suggested changes, please review

CONTRIBUTING.md Outdated

### 1. Process & PR Compliance
* **Documentation-First PRs:** Any change modifying existing features or introducing new functionality **must** include documentation updates within the same Pull Request.
* **Storage Location:** All new or updated documentation files must be located in the `docs/development` folder. The `docs/stable` is only to be updated if changes are urgent and can't wait until the next release. Reasoning for changes made to `docs/stable` must be explicitly called out in your PR description.
Copy link
Contributor

Choose a reason for hiding this comment

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

Lets clarify "Due to the nature of Mintlify, docs are deployed from the main branch, so we keep docs/stable frozen to correspond to the latest stable release."

CONTRIBUTING.md Outdated
* **Exemption Policy:** If a PR does not require documentation (e.g., internal refactoring, bug fixes with no API changes, or test updates), you must explicitly note this in your PR description: *"No documentation updates required."*

### 2. Technical Validation & Automation
* **Clean Environment Test:** Every code snippet must be verified from a **fresh install** of Agent Stack in a clean virtual environment to ensure all dependencies are correctly accounted for.
Copy link
Contributor

Choose a reason for hiding this comment

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

I would suggest removing this. Wiping the environment is more of an internal standard for reviewing and testing PRs, not something we should expect contributors to do when developing.

CONTRIBUTING.md Outdated

### Mintlify Preview for Live Changes
To verify the visual layout and formatting of your changes before submitting:
1. **Prerequisites:** Ensure you have **Node.js version 19 or higher**.
Copy link
Contributor

Choose a reason for hiding this comment

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

Mise automatically handles dependencies

CONTRIBUTING.md Outdated
1. **Prerequisites:** Ensure you have **Node.js version 19 or higher**.
2. **Setup:** `cd` to the `docs` folder in the repo.
3. **Installation:** Run `pnpm install`. As long as the folder has a `package.json`, this installs the same version of Mintlify used in the repository.
4. **Execution:** Run `npx mintlify dev` to spin up a preview of the docs in your browser. Default is on port 3000: `http://localhost:3000`.
Copy link
Contributor

Choose a reason for hiding this comment

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

we standardize on mise here - mise docs:run

Copy link
Contributor

Choose a reason for hiding this comment

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

pnpm and npx commands not necessary

@dosubot dosubot bot added the lgtm This PR has been approved by a maintainer label Jan 28, 2026
@JanPokorny JanPokorny merged commit e81d6d1 into main Jan 28, 2026
8 checks passed
@JanPokorny JanPokorny deleted the DocsContributionGuide branch January 28, 2026 22:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

docs Improvements or additions to documentation lgtm This PR has been approved by a maintainer size:S This PR changes 10-29 lines, ignoring generated files.

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

4 participants