The Documentation team uses Jira, Github, Git Bash and Flare when updating online help content. This section describes that process, which is driven by the Documentation Status field in Jira.
Edit me

Peer Reviews Content in Flare

  1. In Windows-Explorer, right-click on your dsp-docs local file and select Git Bash Here.
    Right-click menu with Git Bash Here option
    Right-click menu with Git Bash Here option
  2. Switch to the release branch you are working in now, for example, develop_67.
  3. Synchronize your release branch by entering the git command git pull origin <release branch name>
  4. As a reviewer, you are notified by email when you are assigned a PR and you can click a link to view the pull request in GitHub. Otherwise, the writer may include a link when they message you in Slack.
  5. To pull the new branch to your local repo so you can view the changes in Flare, in Git Bash navigate to your local dsp-docs repo and enter the git command git fetch origin <new branch name>  Ex. git fetch origin DSP-2345
    Where to find PR branch name in GitHub
    Where to find PR branch name in GitHub
  6. Switch to the new branch locally by entering the git command git checkout <new branch name>
  7. Once the appropriate branch has been checked out, open the BackOffice Associates Solutions.flprj project file from your local dsp-docs repo.
  8. Review the content for clarity.
  9. Test the steps.
  10. Check the content for the standard styles and content organization, if applicable.
  11. Check grammar and spelling.
  12. Test links.
  13. View the Build log to check for build warnings and errors. Refer to the [Build Help Targets][BOADocProcess_BuildHelpTargets] section for moreinformation.
  14. If a new page has been added to the product, confirm that a Map ID was added to the alias file. See [Add Context-sensitive Help Links][BOADocProcess_UpdateOnlineHelp.html#addcslinks] for more information.

Peer Review Passes: Peer Reviewer has made no updates to content during review.

Merge the updates and delete the branch in GitHub

  1. If everything looks good, close Flare.
  2. Make sure the branch you are merging into is the correct release branch. If it is not, click the Edit button and select the correct release branch.
    How to edit branch in GitHub
    How to edit branch in GitHub
  3. Click the Add your review button, select Approve, then click Submit review.
    Add your review in GitHub
    Add your review in GitHub
  4. Click the Merge pull request button.
  5. Click the Confirm merge button.
  6. Click the Delete branch button to remove the branch from GitHub.

Delete the branch in your local repo

  1. Open Git Bash and navigate to your dsp repo.
  2. Switch out of the branch you want to delete by entering the git command git checkout <release branch name>
  3. Delete the branch by entering the git command git branch -D <new branch name>

Peer Review Fails: Edits are necessary in review

  1. Make updates in Flare on the writer’s branch that you pulled from GitHub.
  2. Stage the updates for commit by entering the git command git add .
  3. Commit the updates to your local repo by entering the git command git commit -m '<put a message that describes your updates>'.
  4. Push the updates to the dsp-docs remote repo by entering the git command git push origin <branch name>
  5. Go to the PR in GitHub to ensure that your commit was added to the PR.
  6. Make sure the branch you are merging into is the correct release branch. If it is not, click the Edit button and select the correct release branch.
    How to edit branch in GitHub
    How to edit branch in GitHub
  7. Click the Add your review button, select Approve, then click Submit review.
  8. Click the Merge pull request button.
  9. Click the Confirm merge button.
  10. Click the Delete branch button to remove the branch from GitHub.com.

Resolving metadata merge conflicts in GitHub

Sometimes Flare adds metadata/XML markup updates to topics in the XML Editor that are not displayed in the Text Editor. These “behind the scenes” code updates can cause merge conflicts if another team member has altered the same topic. This situation is likely to occur when updating the What’s New topic because it is updated with a release note for each JIRA ticket that is written during a release.

  1. When you go to the PR page a note from GitHub that tells you when there are merge conflicts.
    Merge conflicts message in GitHub
    Merge conflicts message in GitHub
  2. After peer reviewing the updates in Flare, click the Resolve conflicts button.
  3. Delete from the equal signs ======== down to the >>>>> including the feature branch name.
    What to delete when solving merge conflicts in GitHub
    What to delete when solving merge conflicts in GitHub
  4. Delete the <<<<<< and your new branch name.
  5. Click the Mark as resolved button when it displays. Then a green checkmark is displayed to indicate the conflict is resolved.
  6. Click the green Commit merge button to merge the updates.

Keep your repo clean of merged branches

After you receive notification that your branch has been merged into the main feature branch, it is best to delete your branch from your local repo. Otherwise you end up with a lot of unused branches in your repos.

To delete branches on your local repo, open Git Bash and enter the git command git branch -D <name of branch>