Skip to content

Latest commit

 

History

History
92 lines (59 loc) · 3.76 KB

CONTRIBUTING.md

File metadata and controls

92 lines (59 loc) · 3.76 KB

Instructions for posting content

Access

  1. Get contributor access to the repository. Email Jason Freeberg with your GitHub username. This will allow you to submit pull requests without creating and maintaining your own fork of the repository.

Environment Setup

  1. Download and install the Ruby development kit

  2. Clone the project

    git clone https://github.com/Azure/AppService.git
  3. Install any missing Ruby gems:

    bundle install
  4. Run the local Jekyll server. From the project directory, run the following command:

    bundle exec jekyll serve

    The blog will be running at http://127.0.0.1:4000/

  5. Install GitHub Desktop for making branches, pull requests, etc.

VSCODE: If you are using VSCode to author your blog post, please install Markdown Linting extension

Authoring your post

  1. Create a new branch for your article(s). If you are not using GitHub Desktop, run the command git checkout -b [name_of_your_new_branch]

  2. Create a markdown file under the _posts directory with the following file name format: YYYY-MM-DD-Your Article Title.md

  3. Add the following to the top of your posts:

    ---
    title: "Title should be the same (or similar to) your filename"
    author_name: "Your Name"
    tags:
        - example
        - multiple words
        - no more than 3 tags
    ---

    The tags section is optional.

  4. Now you can author your markdown-formatted post. When you save the file, the local server will update the file in the browser (~30 second lag time).

Digital Content

To add images, GIFs, or other digital content to your post...

  1. Add the file under the /media/YEAR/MONTH/ directory.

    • Where YEAR and MONTH are the year and month in your article's filename. If the directory for the year or month does not yet exist, please create them.
  2. Once the file is added, you can link to the file in your markdown using the path {{ site.baseurl }}/media/YEAR/MONTH/your_file_name.jpg. For example, to insert an image in Markdown you would use the following syntax

    ![Required description of the image]({{ site.baseurl }}/media/2019/04/portal-picture.jpg)
    

    For more information on baseurl, please see this post.

Publishing

  1. Proofread your post for spelling and grammar:
  1. Submit a pull request
  1. Tag @jasonfreeberg in your pull request
    • Send an email if it is high priority

Notes

  • /media: All images and digital content from the old MSDN blog
  • /resource: All the CSS and JS content from the old MSDN blog