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 either of the following ways:
In the Percona Product Documentation category in the Percona Community Forum, select New Topic. Complete the form and select Create Topic to add the topic to the forum.
If you would rather not contribute to the documentation yourself, let us know about the issue by adding a Jira ticket. Use the following procedure to create a Jira ticket:
In the Contact Us section, select the link in "open a JIRA ticket"
-
In the
Contact Us
section, located at the bottom of the page, select the open a JIRA ticket link. This action opens the Jira issue tracker for the doc project. -
Log in (create a Jira account if you don't have one) and select Create to open the Jira form.
- In the following fields, describe the issue:
- In the Summary, provide a brief description of the issue.
- In the 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.
- Select CREATE to create the ticket.
Use either the Edit documentation online with GitHub method or the Edit documentation locally method to make changes to the documentation and create a pull request.
Most of the document is in plain text, but you may use Markdown to add syntax elements (notes, tables, and so on) to the documentation.
A core developer reviews your request and either comments or approves the request. A core developer merges the approved request to the main branch usually when a newer version of the product is released.
!!! note
We appreciate your work but the pull request may be redone to meet internal requirements.
Next to the page title, select the pencil icon to open the source file in the GitHub editor. In this editor, you can make the changes, view the changes in the Preview tab, and create a pull request. The source .md
file of the page opens in a GitHub editor in your browser. If you haven't worked with the repository before, GitHub creates a fork.
Edit the page using the Markdown syntax.
You should review your changes on the Preview tab.
Commit your changes to a pull request.
In the Commit changes section, add a summary (72 characters or less) of what was changed.
Then select the Create a new branch for this commit and start a pull request option. Accept the name for the branch and then Select Commit changes.
GitHub creates a branch and a commit for your changes. The operation loads a page that shows the following:
-
a base branch where you offer your changes
-
your commit message
-
a visual representation of your changes against the original page
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.
The steps are the following:
-
Fork this repository.
-
Clone the forked repository to your machine:
git clone git@github.com:<your_github_name>/proxysql-admin-tool-doc.git cd <directory name>/proxysql-admin-tool-doc
-
Add the remote origin repository:
git remote add origin https://github.com/percona/proxysql-admin-tool-doc.git
-
Checkout the appropriate branch and pull the latest changes from origin:
git checkout main && git pull origin main
-
Create a separate branch for your changes:
git checkout -b <my_changes>
-
Work in the
/docs
directory. 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:
git add <changed file>
-
Commit your changes:
git commit -m 'Fixed typing error in <document name>'
-
Open a pull request to Percona:
git push <my repo> <my_changes>
To verify your changes, you can use a MkDocs command to build HTML.
Follow the MkDocs Installation instructions.
After the installation, in the root directory, run the following command to build the documentation:
mkdocs serve
The output is the following:
Open a browser and navigate to http://127.0.0.1:8000/percona-server/8.0/
or http://127.0.0.1:8000/percona-server/5.7/
to see the HTML files. You may need to navigate to the document that you have changed.