Skip to content

Latest commit

 

History

History
82 lines (56 loc) · 3.35 KB

CONTRIBUTING.md

File metadata and controls

82 lines (56 loc) · 3.35 KB

Instructions for posting content

For Antares team members only. You will need write access to create pull request. Email Jason Freeberg with any questions or to request access.

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/

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 comfortable on the command line, download GitHub Desktop.
  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
  2. Submit a pull request
  3. 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