Giter Site home page Giter Site logo

sitedata / docs-6 Goto Github PK

View Code? Open in Web Editor NEW

This project forked from mattermost/docs

0.0 1.0 0.0 269.63 MB

Mattermost documentation

Home Page: https://docs.mattermost.com

Makefile 6.35% Batchfile 6.60% Python 29.78% HTML 28.07% CSS 17.63% JavaScript 5.53% Shell 6.04%

docs-6's Introduction

Mattermost Documentation

This repository generates the documentation available at https://docs.mattermost.com/. All documentation is available under the terms of a Creative Commons License.

If you have any questions, sign up to community.mattermost.com and join the Documentation channel.

Table of Contents

Contributing

Getting Started

You can edit or create Mattermost documentation directly in GitHub or by downloading the repo onto your machine and using an editor such as Atom. Consult the Mattermost Documentation Style Guide and reStructuredText Markup section for stylistic and technical guidance.

If this is your first time contributing to Mattermost, first read the Mattermost Contributor Agreement and sign it (at the bottom of the page), so you can be added to the Mattermost Approved Contributor List.

Editing

The quickest way to begin is editing directly on GitHub on your fork of the Mattermost docs repo. Click the Edit icon on the top right corner of the page you want to edit in the Mattermost documentation.

If this is the first time you're contributing, follow these steps:

  1. Select Fork in the top-right corner of the GitHub page to fork the repository.
  2. Navigate to file you want to edit and select the Pencil icon (Edit the file) to open the editing interface.

Creating Pull Requests

  1. When you're ready to submit your changes, add a descriptive title and comments to summarize the changes made.
  2. Select Create a new branch for this commit and start a pull request.
  3. Check the Propose file change button.
  4. Scroll down to compare changes with the original document.
  5. Select Create pull request.

Using Labels

Labels are used to track the lifecycle and status of a pull request. Using the correct labels helps with managing workflows and ensuring that content is edited, merged and released at the correct time. Take a look at the Labels page for information about how and when to use which labels.

Commenting on Pull Requests

Once a pull request is submitted, multiple committers may comment on it and provide edits or suggestions which you can commit directly. You can also add line comments. Take a look at Commenting on pull requests for more details.

Reviewing Pull Requests

Once a pull request has been submitted and the correct label assigned, the review process begins. This includes aligning the content with the Style Guide, validating processes, and tagging any other relevant committers. You can read more about the review process and expectations here.

Once the review process is complete and depending on the type of issue it is (e.g., a typo fix vs. a new feature), the change is either merged into master and pushed immediately or merged into the release branch and pushed in alignment with the release. The branch is then deleted.

Any merged PRs with an Editor Review or Reviews Complete label will be processed by the editor reviewer to ensure the documentation is correctly formatted at https://docs.mattermost.com/.

Building and Validating

If you've downloaded the repository and are editing Mattermost documentation on your local machine, you can generate the HTML files from markdown in the /source directory. You can review your changes before you commit them or create pull requests.

Note: Commands can be executed on Linux, Mac, and Windows (using Powershell).

  1. Open a terminal window, then clone a forked copy of the documentation repository by running the following command::
git clone https://github.com/mattermost/docs.git
  1. Install pipenv by using one of the following commands based on your operating system:

For Mac users where Homebrew is installed:

brew install pipenv  

For other operating systems

pip install pipenv 
  1. In the terminal window, navigate into the cloned repository:
cd docs
  1. Install the required packages by running the following command:
pipenv install
  1. Build the documentation set using make html. This generates files in /build directory.
  2. Navigate to the /build directory to preview your changes by running the following command:
cd /build

The build process may generate this error: WARNING: toctree contains reference to document u'foo' that doesn't have a title: no link will be generated. It can be ignored as it does not negatively impact the documentation.

docs-6's People

Contributors

amyblais avatar asaadmahmood avatar comharris avatar coreyhulen avatar cpanato avatar cvitter avatar cwarnermm avatar davidlu1997 avatar enahum avatar esethna avatar grundleborg avatar hmhealey avatar icelander avatar it33 avatar james-mm avatar jasonblais avatar jeffschering avatar jespino avatar johnthompson365 avatar jthebab avatar justinegeffen avatar justinreynolds-mm avatar jwilander avatar lfbrock avatar lieut-data avatar lindy65 avatar shieldsjared avatar svelle avatar tapaswenipathak avatar wiersgallak avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.