mirror of
https://github.com/angular/angular.git
synced 2026-09-14 13:54:52 +08:00
61894570f1
improve markdown for documentation. Duplicate of #45325 that targets 13.3.x. PR Close #45590
55 lines
1.9 KiB
Markdown
55 lines
1.9 KiB
Markdown
# Updating topics through the GitHub user interface
|
|
|
|
This topic describes how to submit pull requests to the Angular repository using GitHub's user interface.
|
|
If you are unfamiliar with [Git](https://git-scm.com), you might find this process easier for making changes.
|
|
|
|
<div class="alert is-important">
|
|
|
|
Using the GitHub user interface for updates is recommended only for small changes to one file at a time, such as fixing typos, [updating the review date](guide/reviewing-content) or [updating search keywords](guide/updating-search-keywords).
|
|
|
|
</div>
|
|
|
|
**To update a topic through the GitHub user interface:**
|
|
|
|
1. Navigate to the topic for which you want to file a pull request.
|
|
1. Click the edit icon at the top of the topic.
|
|
|
|
<div class="lightbox">
|
|
|
|
<img alt="The edit icon for an Angular topic." src="generated/images/guide/contributors-guide/edit-icon.png">
|
|
|
|
</div>
|
|
|
|
A GitHub page appears, displaying the source of the topic.
|
|
|
|
1. Update the topic.
|
|
1. At the bottom of the screen, update the **Commit changes** box with a description of the change.
|
|
Use the format `docs: <short-description-of-change>`, where `<short-description-of-change>` briefly describes your change.
|
|
Keep the description under 100 characters.
|
|
For example:
|
|
|
|
<code-example format="github" language="markdown">
|
|
|
|
docs: fix typo in Tour of Heroes pt.1
|
|
|
|
</code-example>
|
|
|
|
1. Verify that the **create new branch** option is selected, then click **Commit changes**.
|
|
|
|
A Pull Request screen opens.
|
|
|
|
1. Fill out the form in the Pull Request screen.
|
|
At a minimum, put an `x` in the **Docs have been added / updated** option and the **Documentation content changes** option.
|
|
|
|
1. Click **Create pull request**.
|
|
|
|
At this point, your pull request is added to a list of current requests, which the documentation team reviews weekly.
|
|
|
|
<!-- links -->
|
|
|
|
<!-- external links -->
|
|
|
|
<!-- end links -->
|
|
|
|
@reviewed 2022-02-28
|