Create Pull Request in Docs Repo

learn pr review process

## SLA Mature content (Content quality meet Learn quality criteria)

PDETs final PR review

#sign-off

Learn SLA Reference:
Best practices
How to create pr
Learn PR Reviewer SLA

Before creating final pull request(final PR)

click-through the module in git repo to correct things like:

  1. Check the files name meet following rules:
  2. Check the content of markdown files meet following rules:

Click-through the module work item to correct things like:

  1. Check the summary length is 20-25 words; up to 35 words is acceptable.
  2. Check the summary, learning objectieves to avoid using unnecessary numbered list.
  3. Update the ms.date to today, and sync the date to all its Unit work items.

Create final pull request(final PR) for internal PR review

Pull request(PR) patterns:
learn-pr repo:

https://github.com/MicrosoftDocs/learn-pr/pull/{pr#}

learn-m365-pr repo:

https://github.com/MicrosoftDocs/learn-m365-pr/pull/{pr#}

learn-dynamics-pr repo:

https://github.com/MicrosoftDocs/learn-dynamics-pr/pull/{pr#}

learn-bizapps-pr repo:

https://github.com/MicrosoftDocs/learn-bizapps-pr/pull/{pr#}

Replace the {pr#} in the patterns, you could get the {pr#} from the Auto Publishing to Learn notification email.
get pr# from the build notification email

Task 1: Create final PR, and tag the author in the work item

  1. Create a final PR for internal test.
  2. Go to work item.
  3. In Discussion tab, add a comment to notify author that the final PR is in iternal review.
    notify author pr is in review

Task 2: Run internal PR review, and work with author to fix all.

PR review Test Cases:
Content Review
PR review

Test by Role:
Git source check
PR page review
Preview page check

Task 3: Check-in the Policheck result into git repo Compliance_Results folder.

Use general badge or general trophy

If the badge for the module is not available when launching the module, use the general badge.
“/learn/achievements/generic-badge.svg”

If the trophy for the LP is not available when launching the LP, use the general trophy.
“/learn/achievements/generic-trophy.svg”

NOTE: Make sure to replace the general badge or general trophy as soon as you received the real one.

Sign-off

  1. Go to the PR, check Pull request(PR) patterns section.
  2. Add comment #sign-off.
    sign-off pr
  3. Tag the author in the work item.

Merged to Release branch

If the final pr is merged to release branch, (NOW, go to PR2master directly):
pr is merged

  1. Go to work item.
  2. Tag Ashley that the PR is merged, and it is ready to go live.
    pr go live

Create a pull request (PR) from Release branch to master

After the final pr is merged:

  1. Go to the release branch, by clicking the to branch in final pr.
    Go to release branch
  2. Make sure the release branch is selected, click Create Pull Request.
    create pr
  3. When the build is green, tag @asajohnson for merge.
    tag Ashley for merge

Create a pull request (PR) from master to live

Ashley will do that and let us know when it’s live.

Content is live

Task 1: Verify content is live

Module Url pattern:

https://docs.microsoft.com/en-us/learn/modules/{module_folder}/

Learning Path Url pattern:

https://docs.microsoft.com/en-us/learn/paths/{lp_folder}/

NOTE: Replace the {module_folder} or {lp_folder} with real-folder name.

To verify a new module is live:

  1. Go to the module metadata file in git repos.
  2. Find the real-folder name, which is the Target folder in github.
  3. Construct the docs url using Module Url pattern and real-folder name.
  4. Open the Browser to try access the module using docs url.

If you could access the module with the docs url, then the module is live.
Else if you get a 404 Error, then the module is not live.

To verify an update module is live:

  1. Go to the module metadata file in git repos.
  2. Find the real-folder name, which is the Target folder in github.
  3. Construct the docs url using Module Url pattern and real-folder name.
  4. Open the Browser to try access the module using docs url.
  5. In the module page, right-click the page, select View Source.
    view source in html page
  6. Select Element -> head -> <meta name="ms.date" content="10/15/2019" />
    make sure ms.date value is updated

If the ms.date value is latest, then the module is updated.
Else the module update is not live yet.

Task 2: Tag the content author in work item

  1. Go to work item.
  2. In the Discussion tab, add a comment to notify author that the content is live and what the docs url is.
    tag author the content is live
  3. In the 04-Publishing Team Use Only tab:
  4. In the Discussion tab:
  5. Create a version (Module Update work item).