We welcome contributions from all users and the community. By contributing, you agree to the Percona Community code of conduct. Thank you for deciding to contribute and help us improve the Percona Server documentation.
You can contribute to the documentation in the following ways:
Each documentation page includes a Rate this page feature at the bottom that allows you to assign stars (1-5) and leave comments. This is a quick and easy way to provide feedback about the documentation.
To rate a page:
-
Scroll to the bottom of any documentation page.
-
Use the star rating system to rate the page (1-5 stars).
-
Leave a comment describing your feedback.
!!! important "Please leave detailed comments"
If you want the documentation team to fix or improve something, **please leave detailed comments** explaining:
* What issue you encountered or what improvement you'd like to see
* Which section or topic needs clarification or correction
* Any specific examples or use cases that would help
* The version or environment you're using (if relevant)
* Steps to reproduce any issues you found
**Detailed comments are essential** - they help us understand your needs and make the documentation better for everyone. Brief comments like "this is confusing" or "needs improvement" are helpful, but specific details about what's confusing or what needs improvement allow us to take action.
The Percona Community Forum is a public discussion platform where you can ask questions, share feedback, or suggest improvements to the documentation. Use the forum to start a conversation about documentation issues, request clarifications, or discuss potential changes with the community and documentation team.
To add a topic, navigate to the Percona Product Documentation category in the Percona Community Forum and select New Topic. Complete the form and select Create Topic to add the topic to the forum.
Create a Jira ticket to report documentation issues or request changes. This method is useful for formal tracking or when you want the documentation team to handle the changes.
-
Open the Percona Server Jira project in your browser.
-
Sign in (or create a Percona Jira account if you don't have one).
-
Click the Create button.
-
Fill in the required fields:
-
Summary: Provide a brief description of the issue.
-
Description: Provide more information about the issue. If needed, add a Steps To Reproduce section and information about your environment (version number, your operating system, etc.). Be detailed.
-
Version, Environment, and other relevant fields as needed.
-
-
Click Create to submit the ticket.
!!! tip "Shortcut to the issue creation screen"
To go directly to the Create Issue form, use this URL: [https://jira.percona.com/secure/CreateIssue!default.jspa?pid=10100](https://jira.percona.com/secure/CreateIssue!default.jspa?pid=10100)
Use the Edit documentation online with GitHub method or the Edit documentation locally method to make changes to the documentation and create a pull request.
The documentation is primarily in plain text, but you may use Markdown to add syntax elements (notes, tables, and so on) to the documentation.
Our team reviews your pull request and provides feedback or approval. Once approved, we merge your changes into the appropriate branch. Thank you for taking the time to improve our documentation!
!!! note
We appreciate your work, but the PR may be revised to meet internal requirements.
-
At the top of the documentation page, select Edit this page on GitHub (or the pencil icon) to open the source file in the GitHub editor. If you haven't worked with the repository before, GitHub creates a fork automatically.
-
Edit the page using the Markdown syntax.
-
Review your changes by clicking the Preview tab to see how they will appear.
-
Scroll to the bottom of the page to the Commit changes section.
-
Add a commit message (72 characters or less) describing what you changed.
-
Select the Create a new branch for this commit and start a pull request option. GitHub will suggest a branch name, which you can accept or modify.
-
Click Commit changes.
-
GitHub creates a branch and commit for your changes, then displays a page where you can create a pull request. This page shows:
-
The base branch where you're proposing your changes
-
Your commit message
-
A visual diff of your changes
-
-
Review the information and click Create pull request.
For more information, see Editing files in GitHub.
This option is for users who are comfortable with git commands.
-
Fork this repository on GitHub.
-
Clone your forked repository to your machine:
git clone https://github.com/<your_github_name>/psmysql-docs.git cd psmysql-docs
!!! note "SSH alternative"
If you have SSH keys set up with GitHub, you can use `git@github.com:<your_github_name>/psmysql-docs.git` instead. -
Add the upstream remote to track the original repository:
git remote add upstream https://github.com/percona/psmysql-docs.git
-
Checkout the appropriate branch for the version you're working on (for example,
8.4for version 8.4 documentation) and pull the latest changes from upstream:git checkout 8.4 git pull upstream 8.4!!! note "Which branch to use"
Use the branch that matches the version of the documentation you're editing. For example, use the `8.4` branch for Percona Server 8.4 documentation. If the branch doesn't exist locally, Git will create a tracking branch automatically. -
Create a separate branch for your changes:
git checkout -b <my_changes>
-
Edit the files in the
/docsdirectory. Add code examples, if necessary. We recommend that you check your changes using either a Preview built into your editor (if you have one) or build HTML on your machine. -
Add the changed file (replace
docs/example.mdwith your actual file path):git add docs/example.md
-
Commit your changes (replace the message with a description of your changes):
git commit -m 'Fixed typo in install-audit-log-filter.md' -
Push your branch to your fork:
git push -u origin <my_changes>
-
On GitHub, you'll see a notification banner with a Compare & pull request button. Click it to open a pull request to the Percona repository. Alternatively, navigate to your fork and click Create pull request.
To verify your changes, you can use MkDocs to build and preview the documentation locally.
!!! note "Prerequisites"
You need Python 3.x installed on your system. If you don't have Python installed, see the [Python installation guide](https://www.python.org/downloads/).
-
Install the required dependencies:
pip install -r requirements.txt
-
In the root directory, start the local development server:
mkdocs serve
-
Open your browser and navigate to
http://127.0.0.1:8000/to view the documentation. The server automatically reloads when you make changes to the files. -
Navigate to the document you changed to verify your edits. The documentation structure matches the
/docsdirectory, so you can find your file by following the same path structure in the browser.
!!! tip "Browser recommendation"
This procedure works best in Google Chrome. Other browsers may not render the PDF correctly.
To build the PDF documentation:
-
Build the documentation site:
mkdocs build
-
Open the
site/print_page.htmlfile in Chrome. You can do this by:-
Navigating to the file in your file manager and double-clicking it, or
-
Opening Chrome and using File > Open File to navigate to
site/print_page.html
-
-
In Chrome, press
Ctrl+P(orCmd+Pon Mac) to open the Print dialog, or select Print from the menu. -
In the Print dialog:
-
Set the Destination to Save as PDF
-
Adjust any print settings as needed (margins, paper size, etc.)
-
Click Save and choose where to save the PDF file
-
