Skip to main content

Contribute to Sumo Docs

icon

We're a developer/practitioner community building reliable and secure modern apps. We welcome all contributions, from minor typo fixes to new docs/topics. Your expertise and sharing can help fellow users learn and expand their knowledge of Sumo Logic.

Sumo Logic Documentation is an Open Source project available as a GitHub repository. This section will grow as we answer questions and provide support for submissions and new content. Here you'll information on creating files, writing in markdown, using our templates, submitting pull requests (PRs), and more.

Prerequisites

  • You must have a GitHub account to contribute to Sumo Logic documentation.
  • We recommend adding 2FA protection when contributing to Sumo Logic repositories.

Ways to Contribute

There are many ways that you can contribute to Sumo Docs, beyond writing code. Here's a high-level overview of how you can get involved.

Submit an Issue

To report a bug or request more information, you can help us by Submitting a GitHub Issue to our repository. Enter as much information as you can, including content corrections, steps to reproduce, command/code updates, and clarifying questions. To share your knowledge, submit a PR with a fix.

Before submitting an issue, you can browse our existing GitHub issues to see if someone has already reported it, and join the discussion via comments.

Edit a Page

  1. If you come across a bug on our site, scroll to the bottom of that doc and click the Edit this page link. This will open your selected doc in Edit file mode on our GitHub repo website.
  2. Apply your edits to the file.
  3. Scroll to the bottom and select Create a new branch for this commit and start a pull request. In the field underneath, enter a name for your branch and click Propose Change. This will fork and submit changes to us for review.

Fork and Clone the Sumo Docs Repository

For larger contributions like extensive edits or a creating new doc, we recommend forking our repo, making changes in a new branch, and submitting a PR for review.

Feel free to reach out to us, the Docs Team, to discuss. We're happy to work with you on the project and talk through rewriting content, changing flow, adding a new topic or section, and deprecating content.

  1. Fork the Sumo Docs repository. Remember to sync your fork and update branches as needed.

  2. Review our README documentation guidelines.

  3. Create a new branch from your cloned repo/fork using a name that best describes the work or references a GitHub issue number. For example: <your initials>-apps-gitlab.

  4. Edit or create markdown (.md) files in your branch. See Create a Document and our Style Guide for more info.

  5. Commit your changes to the branch with a meaningful message.
    pull request. Use descriptive commit messages (and issue or ticket numbers, if applicable) detailing the content updates you are entering for content. One-line messages are fine for small changes, but bigger changes should look like this:

    $ git commit -m "A brief summary of the commit
    >
    > A paragraph describing what changed and its impact."
  6. Set permissions to allow maintainers to edit and update the PR (learn more).

  7. Push your branch to the repo/fork.

  8. Visit GitHub after pushing your branch. If you see an option to Compare & Pull Request for your branch click this.
    compare

    • If you don't see it, create a new PR.
      1. Select main for the base branch. This is the branch all staging and production content builds from).
      2. Select your branch for the compare.
      3. Click Create Pull Request.
  9. On the Pull Request page, enter the following:

    • Make sure base branch is main and compare branch is the one you pushed.
    • Enter a title for the PR.
    • Include an issue number from GitHub or Jira, etc.
    • Describe what changed, new pages, updates.
    • Apply a label that best describes your contribution.
    Our GitHub Labels (click to expand)

    The labels we use for issues and PRs include the following:

    LabelIssues/PRDescription
    doc:minor editbothSmall updates for typos, fixes for styles/formats, link fixes, etc.
    doc:newbothA new topic or topic section, typically requires deeper tech and writer reviews.
    doc:site techbothUpdates, maintenance, and new additions to site code. Includes plugins, CSS, templates, etc.
    doc:updatebothAn update to an existing document/topic. This includes revised content, instructions, screenshots, etc.
    status:backlogbothWork will be completed at a later time, added to backlog items.
    status:committedbothWork is committed and is planned or in-progress.
    status:duplicatebothThe issue/PR is a duplicate of other work. A link to the new item will be added when closing as a dupe.
    status:in reviewPRWork is incomplete and ready/in review. Developers and writers are actively reviewing content.
    status:invalidbothThe issue or report is not valid. A reason should be provided when closing.
    status:wontfixbothThe request or issue will not be worked on. A reason should be provided when closing.
    type:bugissuesProblem in a documentation page or site code.
    type:featureissuesNew feature, option, site format, etc.
    type:feedbackissuesFeedback entered for a page or through the website when clicking report an issue.
  10. Click Create Pull Request.
    pull request

  11. Sign our Contributor License Agreement (built using cla-bot). We allow individual contributions and contributions made on behalf of companies. If you have any questions, please submit an issue.

Docs Team members will review contributions, provide feedback, and approve. When approved, the Docs Team will merge and update staging. Updates to production will be handled by the Docs Team.

Submit a Feature Request

You can also:

If you're new to GitHub and writing Markdown documentation, we recommend using the following apps:

  • Atom: Create new branches, stage and commit, push and pull, resolve merge conflicts, view PRs and more - all from within your editor. The GitHub package comes bundled with Atom.
  • GitHub Desktop: Easy-to-use interface to update your local machine clone, create branches, push to GitHub and more.
  • VS Code: Development application to open the repo, edit and create files, and preview pages as you write. We recommend the following extensions:
    • Markdown All in One
    • Markdown Preview GitHub Styling
    • Markdown Preview Enhanced
    • Markdown Preview Mermaid and Mermaid Markdown Syntax Highlighting for charts and graphs
  • iTerm2 - Terminal application for macOS. You can also install Oh My Zsh for theming.

Contact Us

Need to get in touch? You can find us on Sumo Dojo Slack.

Sumo Logic YouTubeSumo Logic Twitter
Legal
Privacy Statement
Terms of Use

Copyright © 2022 by Sumo Logic, Inc.