Skip to content

Latest commit

 

History

History
57 lines (40 loc) · 3.29 KB

CONTRIBUTING.md

File metadata and controls

57 lines (40 loc) · 3.29 KB

Contributing

Are you looking to become a member of Percona Community? We have a site dedicated to contributions. For questions, you can best reach us on our forums or chat with us on Discord. By contributing, you become a Percona Community member and agree to our Code of Conduct.

If you've already looked at those and just want to get started, continue reading.

Structure

We will highlight the folders that you will most likely touch if you are contributing to the percona.community website with blog posts. The general directory structure follows the standard Hugo pattern. We are not using a theme and instead built the design based on this community's needs.

> .github
> archetypes
> assets            ## pictures and CSS
    > blog          ## add blog post pictures here
        ...         ## pick the right year
        > authors   ## add your author picture here
    ...
> content
    > authors       ## create new folder for yourself here
        > ...
        > <you>     ## folder with your name, add _index.md file
          _index.md ## copy from other author, change to your details
    > blog          ## add your post here, follow naming pattern
    > contribute
    > ...
    ...
> layouts
> static
...

How to Submit a Pull Request or Report a Bug/Issue

If you would like to report a bug/issue or add a suggestion for future consideration, let us know on Discord or open an issue.

Our mission is to keep open source open which is why we are dedicated to making contributions as free from barriers as possible.

I just want to add/edit one file (blog post, code, illustrations, and more)

That's great! Did you find a typo or would like to add/edit something? You can easily use GitHub's user interface to create a pull request and submit your changes.

I want to add code, a blog post with pictures, or more

In this case, we presume you already have some knowledge about Git and that Git is already installed on your computer. If not, reach out to us and we might be able to help.

Assuming that Git is already installed on your computer, you will only need the static site generator Hugo to test any changes you make.

Download a hugo_extended_ version release for your operating system from the Hugo releases page. You might have to scroll further down. Follow the installation instructions and you're all set to go.

Next, you can type this in your terminal:

hugo serve --disableFastRender

For more options on how to run Hugo, check out the official Hugo documentation. In your terminal, Hugo will point you to a URL, most likely http://localhost:1313/. You should be able to click on it or simply type the URL into your browser and see the built website. You can now add your contribution, test whether everything is working, and then submit a pull request that we will review within a few days.