Skip to content
Closed
Show file tree
Hide file tree
Changes from 7 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
21 changes: 15 additions & 6 deletions latest/ug/contribute/contribute.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -19,11 +19,20 @@ You can now edit the EKS Docs directly on GitHub. Our streamlined process includ

We look forward to your contributions.

*To edit a single page from a web browser*
include::edit-single-web.adoc[leveloffset=+1]

include::edit-web.adoc[leveloffset=+1]

include::vale-github.adoc[leveloffset=+1]

include::vale-local.adoc[leveloffset=+1]

include::create-page.adoc[leveloffset=+1]

include::insert-link.adoc[leveloffset=+1]

include::create-content-q.adoc[leveloffset=+1]

include::pr-preview.adoc[leveloffset=+1]

. Navigate to the page in the EKS User Guide
. Select *Edit this page on GitHub* in the right sidebar
. Open the GitHub editor: press `e` or select *Edit in Place* from the pencil icon dropdown menu
. Make your edits, and then select *Commit changes...*
** Confirm your email and include a short description of the changes

49 changes: 49 additions & 0 deletions latest/ug/contribute/create-content-q.adoc
Original file line number Diff line number Diff line change
@@ -0,0 +1,49 @@
[.topic]
[#create-content-q]
= Create docs content with Amazon Q

Check notice on line 3 in latest/ug/contribute/create-content-q.adoc

View workflow job for this annotation

GitHub Actions / vale

[vale] latest/ug/contribute/create-content-q.adoc#L3

[RedHat.Headings] Use sentence-style capitalization in 'Create docs content with Amazon Q'.
Raw output
{"message": "[RedHat.Headings] Use sentence-style capitalization in 'Create docs content with Amazon Q'.", "location": {"path": "latest/ug/contribute/create-content-q.adoc", "range": {"start": {"line": 3, "column": 3}}}, "severity": "INFO"}
:info_titleabbrev: Create with Amazon Q

You can use Amazon Q to create and revise docs content. This is an easy way to get started on a new page. Amazon Q is available as an extension to Visual Studio (VS) Code.

Check warning on line 6 in latest/ug/contribute/create-content-q.adoc

View workflow job for this annotation

GitHub Actions / vale

[vale] latest/ug/contribute/create-content-q.adoc#L6

[RedHat.TermsWarnings] Consider using 'compared to' rather than 'VS' unless updating existing content that uses the term.
Raw output
{"message": "[RedHat.TermsWarnings] Consider using 'compared to' rather than 'VS' unless updating existing content that uses the term.", "location": {"path": "latest/ug/contribute/create-content-q.adoc", "range": {"start": {"line": 6, "column": 163}}}, "severity": "WARNING"}

In the following image, Amazon Q generated the lines marked with green.

Check warning on line 8 in latest/ug/contribute/create-content-q.adoc

View workflow job for this annotation

GitHub Actions / vale

[vale] latest/ug/contribute/create-content-q.adoc#L8

[RedHat.DoNotUseTerms] Do not use colors to describe something unless it is also described non-visually, for example, with the name of the item.
Raw output
{"message": "[RedHat.DoNotUseTerms] Do not use colors to describe something unless it is also described non-visually, for example, with the name of the item.", "location": {"path": "latest/ug/contribute/create-content-q.adoc", "range": {"start": {"line": 8, "column": 66}}}, "severity": "WARNING"}

image::images/contribute-q.png["Amazon Q in VS Code"]

Check warning on line 10 in latest/ug/contribute/create-content-q.adoc

View workflow job for this annotation

GitHub Actions / vale

[vale] latest/ug/contribute/create-content-q.adoc#L10

[RedHat.TermsWarnings] Consider using 'compared to' rather than 'VS' unless updating existing content that uses the term.
Raw output
{"message": "[RedHat.TermsWarnings] Consider using 'compared to' rather than 'VS' unless updating existing content that uses the term.", "location": {"path": "latest/ug/contribute/create-content-q.adoc", "range": {"start": {"line": 10, "column": 45}}}, "severity": "WARNING"}

Check notice on line 10 in latest/ug/contribute/create-content-q.adoc

View workflow job for this annotation

GitHub Actions / vale

[vale] latest/ug/contribute/create-content-q.adoc#L10

[RedHat.CaseSensitiveTerms] Use 'Visual Studio Code' rather than 'VS Code'.
Raw output
{"message": "[RedHat.CaseSensitiveTerms] Use 'Visual Studio Code' rather than 'VS Code'.", "location": {"path": "latest/ug/contribute/create-content-q.adoc", "range": {"start": {"line": 10, "column": 45}}}, "severity": "INFO"}

== Install Amazon Q with VS Code

Check notice on line 12 in latest/ug/contribute/create-content-q.adoc

View workflow job for this annotation

GitHub Actions / vale

[vale] latest/ug/contribute/create-content-q.adoc#L12

[RedHat.Headings] Use sentence-style capitalization in 'Install Amazon Q with VS Code'.
Raw output
{"message": "[RedHat.Headings] Use sentence-style capitalization in 'Install Amazon Q with VS Code'.", "location": {"path": "latest/ug/contribute/create-content-q.adoc", "range": {"start": {"line": 12, "column": 4}}}, "severity": "INFO"}

Check notice on line 12 in latest/ug/contribute/create-content-q.adoc

View workflow job for this annotation

GitHub Actions / vale

[vale] latest/ug/contribute/create-content-q.adoc#L12

[RedHat.CaseSensitiveTerms] Use 'Visual Studio Code' rather than 'VS Code'.
Raw output
{"message": "[RedHat.CaseSensitiveTerms] Use 'Visual Studio Code' rather than 'VS Code'.", "location": {"path": "latest/ug/contribute/create-content-q.adoc", "range": {"start": {"line": 12, "column": 26}}}, "severity": "INFO"}

Check warning on line 12 in latest/ug/contribute/create-content-q.adoc

View workflow job for this annotation

GitHub Actions / vale

[vale] latest/ug/contribute/create-content-q.adoc#L12

[RedHat.TermsWarnings] Consider using 'compared to' rather than 'VS' unless updating existing content that uses the term.
Raw output
{"message": "[RedHat.TermsWarnings] Consider using 'compared to' rather than 'VS' unless updating existing content that uses the term.", "location": {"path": "latest/ug/contribute/create-content-q.adoc", "range": {"start": {"line": 12, "column": 26}}}, "severity": "WARNING"}

1. Open VS Code

Check notice on line 14 in latest/ug/contribute/create-content-q.adoc

View workflow job for this annotation

GitHub Actions / vale

[vale] latest/ug/contribute/create-content-q.adoc#L14

[RedHat.CaseSensitiveTerms] Use 'Visual Studio Code' rather than 'VS Code'.
Raw output
{"message": "[RedHat.CaseSensitiveTerms] Use 'Visual Studio Code' rather than 'VS Code'.", "location": {"path": "latest/ug/contribute/create-content-q.adoc", "range": {"start": {"line": 14, "column": 9}}}, "severity": "INFO"}

Check warning on line 14 in latest/ug/contribute/create-content-q.adoc

View workflow job for this annotation

GitHub Actions / vale

[vale] latest/ug/contribute/create-content-q.adoc#L14

[RedHat.TermsWarnings] Consider using 'compared to' rather than 'VS' unless updating existing content that uses the term.
Raw output
{"message": "[RedHat.TermsWarnings] Consider using 'compared to' rather than 'VS' unless updating existing content that uses the term.", "location": {"path": "latest/ug/contribute/create-content-q.adoc", "range": {"start": {"line": 14, "column": 9}}}, "severity": "WARNING"}
2. Go to the Extensions view (Ctrl+Shift+X or Cmd+Shift+X)
3. Search for "Amazon Q"
4. Click Install on the Amazon Q extension
5. Wait for installation to complete
6. Restart VS Code when prompted

Check notice on line 19 in latest/ug/contribute/create-content-q.adoc

View workflow job for this annotation

GitHub Actions / vale

[vale] latest/ug/contribute/create-content-q.adoc#L19

[RedHat.CaseSensitiveTerms] Use 'Visual Studio Code' rather than 'VS Code'.
Raw output
{"message": "[RedHat.CaseSensitiveTerms] Use 'Visual Studio Code' rather than 'VS Code'.", "location": {"path": "latest/ug/contribute/create-content-q.adoc", "range": {"start": {"line": 19, "column": 12}}}, "severity": "INFO"}

Check warning on line 19 in latest/ug/contribute/create-content-q.adoc

View workflow job for this annotation

GitHub Actions / vale

[vale] latest/ug/contribute/create-content-q.adoc#L19

[RedHat.TermsWarnings] Consider using 'compared to' rather than 'VS' unless updating existing content that uses the term.
Raw output
{"message": "[RedHat.TermsWarnings] Consider using 'compared to' rather than 'VS' unless updating existing content that uses the term.", "location": {"path": "latest/ug/contribute/create-content-q.adoc", "range": {"start": {"line": 19, "column": 12}}}, "severity": "WARNING"}

== Login to Amazon Q

Check notice on line 21 in latest/ug/contribute/create-content-q.adoc

View workflow job for this annotation

GitHub Actions / vale

[vale] latest/ug/contribute/create-content-q.adoc#L21

[RedHat.Headings] Use sentence-style capitalization in 'Login to Amazon Q'.
Raw output
{"message": "[RedHat.Headings] Use sentence-style capitalization in 'Login to Amazon Q'.", "location": {"path": "latest/ug/contribute/create-content-q.adoc", "range": {"start": {"line": 21, "column": 4}}}, "severity": "INFO"}

1. After installing, click the Amazon Q icon in the VS Code activity bar

Check notice on line 23 in latest/ug/contribute/create-content-q.adoc

View workflow job for this annotation

GitHub Actions / vale

[vale] latest/ug/contribute/create-content-q.adoc#L23

[RedHat.CaseSensitiveTerms] Use 'Visual Studio Code' rather than 'VS Code'.
Raw output
{"message": "[RedHat.CaseSensitiveTerms] Use 'Visual Studio Code' rather than 'VS Code'.", "location": {"path": "latest/ug/contribute/create-content-q.adoc", "range": {"start": {"line": 23, "column": 53}}}, "severity": "INFO"}

Check warning on line 23 in latest/ug/contribute/create-content-q.adoc

View workflow job for this annotation

GitHub Actions / vale

[vale] latest/ug/contribute/create-content-q.adoc#L23

[RedHat.TermsWarnings] Consider using 'compared to' rather than 'VS' unless updating existing content that uses the term.
Raw output
{"message": "[RedHat.TermsWarnings] Consider using 'compared to' rather than 'VS' unless updating existing content that uses the term.", "location": {"path": "latest/ug/contribute/create-content-q.adoc", "range": {"start": {"line": 23, "column": 53}}}, "severity": "WARNING"}
2. Click "Sign in to Amazon Q"
3. Enter your {aws} credentials when prompted
4. Once authenticated, you'll see the Amazon Q chat interface

== Use Amazon Q to create content

Check notice on line 28 in latest/ug/contribute/create-content-q.adoc

View workflow job for this annotation

GitHub Actions / vale

[vale] latest/ug/contribute/create-content-q.adoc#L28

[RedHat.Headings] Use sentence-style capitalization in 'Use Amazon Q to create content'.
Raw output
{"message": "[RedHat.Headings] Use sentence-style capitalization in 'Use Amazon Q to create content'.", "location": {"path": "latest/ug/contribute/create-content-q.adoc", "range": {"start": {"line": 28, "column": 4}}}, "severity": "INFO"}

1. Open the file you want to edit in VS Code

Check warning on line 30 in latest/ug/contribute/create-content-q.adoc

View workflow job for this annotation

GitHub Actions / vale

[vale] latest/ug/contribute/create-content-q.adoc#L30

[RedHat.TermsWarnings] Consider using 'compared to' rather than 'VS' unless updating existing content that uses the term.
Raw output
{"message": "[RedHat.TermsWarnings] Consider using 'compared to' rather than 'VS' unless updating existing content that uses the term.", "location": {"path": "latest/ug/contribute/create-content-q.adoc", "range": {"start": {"line": 30, "column": 38}}}, "severity": "WARNING"}

Check notice on line 30 in latest/ug/contribute/create-content-q.adoc

View workflow job for this annotation

GitHub Actions / vale

[vale] latest/ug/contribute/create-content-q.adoc#L30

[RedHat.CaseSensitiveTerms] Use 'Visual Studio Code' rather than 'VS Code'.
Raw output
{"message": "[RedHat.CaseSensitiveTerms] Use 'Visual Studio Code' rather than 'VS Code'.", "location": {"path": "latest/ug/contribute/create-content-q.adoc", "range": {"start": {"line": 30, "column": 38}}}, "severity": "INFO"}
2. Select the text you want to revise or the location for new content
3. Press *Ctrl+I* or *Cmd+I*

Check warning on line 32 in latest/ug/contribute/create-content-q.adoc

View workflow job for this annotation

GitHub Actions / vale

[vale] latest/ug/contribute/create-content-q.adoc#L32

[RedHat.TermsWarnings] Consider using 'you' rather than 'I' unless updating existing content that uses the term.
Raw output
{"message": "[RedHat.TermsWarnings] Consider using 'you' rather than 'I' unless updating existing content that uses the term.", "location": {"path": "latest/ug/contribute/create-content-q.adoc", "range": {"start": {"line": 32, "column": 16}}}, "severity": "WARNING"}

Check warning on line 32 in latest/ug/contribute/create-content-q.adoc

View workflow job for this annotation

GitHub Actions / vale

[vale] latest/ug/contribute/create-content-q.adoc#L32

[RedHat.TermsWarnings] Consider using 'you' rather than 'I' unless updating existing content that uses the term.
Raw output
{"message": "[RedHat.TermsWarnings] Consider using 'you' rather than 'I' unless updating existing content that uses the term.", "location": {"path": "latest/ug/contribute/create-content-q.adoc", "range": {"start": {"line": 32, "column": 27}}}, "severity": "WARNING"}
4. In the prompt, be specific about:
* The type of content you need
* The target audience
* Key points to cover
* Desired tone and style

Check warning on line 37 in latest/ug/contribute/create-content-q.adoc

View workflow job for this annotation

GitHub Actions / vale

[vale] latest/ug/contribute/create-content-q.adoc#L37

[RedHat.TermsWarnings] Consider using 'needed' or 'required' rather than 'Desired' unless updating existing content that uses the term.
Raw output
{"message": "[RedHat.TermsWarnings] Consider using 'needed' or 'required' rather than 'Desired' unless updating existing content that uses the term.", "location": {"path": "latest/ug/contribute/create-content-q.adoc", "range": {"start": {"line": 37, "column": 6}}}, "severity": "WARNING"}
5. Review the generated content in the inline preview
6. Use *enter* to accept the changes, or *esc* to reject them.

Check warning on line 39 in latest/ug/contribute/create-content-q.adoc

View workflow job for this annotation

GitHub Actions / vale

[vale] latest/ug/contribute/create-content-q.adoc#L39

[RedHat.Spelling] Verify the word 'esc'. It is not in the American English spelling dictionary used by Vale.
Raw output
{"message": "[RedHat.Spelling] Verify the word 'esc'. It is not in the American English spelling dictionary used by Vale.", "location": {"path": "latest/ug/contribute/create-content-q.adoc", "range": {"start": {"line": 39, "column": 43}}}, "severity": "WARNING"}
7. Edit further as needed

== Tips

* Start with a simple request and iterate to get the content you want.
* Create a first draft of the page headings, then ask Q to fill them in.
* Amazon Q may output Markdown. This is fine. The AsciiDoc tooling can understand most markdown syntax.

Check warning on line 46 in latest/ug/contribute/create-content-q.adoc

View workflow job for this annotation

GitHub Actions / vale

[vale] latest/ug/contribute/create-content-q.adoc#L46

[RedHat.TermsWarnings] Consider using 'might' or 'can' rather than 'may' unless updating existing content that uses the term.
Raw output
{"message": "[RedHat.TermsWarnings] Consider using 'might' or 'can' rather than 'may' unless updating existing content that uses the term.", "location": {"path": "latest/ug/contribute/create-content-q.adoc", "range": {"start": {"line": 46, "column": 12}}}, "severity": "WARNING"}

Check warning on line 46 in latest/ug/contribute/create-content-q.adoc

View workflow job for this annotation

GitHub Actions / vale

[vale] latest/ug/contribute/create-content-q.adoc#L46

[RedHat.TermsWarnings] Consider using 'tool' or 'tools' rather than 'tooling' unless updating existing content that uses the term.
Raw output
{"message": "[RedHat.TermsWarnings] Consider using 'tool' or 'tools' rather than 'tooling' unless updating existing content that uses the term.", "location": {"path": "latest/ug/contribute/create-content-q.adoc", "range": {"start": {"line": 46, "column": 60}}}, "severity": "WARNING"}

To learn more about Amazon Q Developer, see link:amazonq/latest/qdeveloper-ug/q-in-IDE.html["Using Amazon Q Developer in the IDE",type="documentation"].

35 changes: 35 additions & 0 deletions latest/ug/contribute/create-page.adoc
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
[.topic]
[#create-page]
= Create a new page
:info_titleabbrev: Create page


Learn how to create a new docs page. This topic includes instructions for creating the initial page metadata, and adding the page to the guide table of contents.

Check notice on line 7 in latest/ug/contribute/create-page.adoc

View workflow job for this annotation

GitHub Actions / vale

[vale] latest/ug/contribute/create-page.adoc#L7

[RedHat.SelfReferentialText] Avoid using self-referential text such as 'This topic'.
Raw output
{"message": "[RedHat.SelfReferentialText] Avoid using self-referential text such as 'This topic'.", "location": {"path": "latest/ug/contribute/create-page.adoc", "range": {"start": {"line": 7, "column": 38}}}, "severity": "INFO"}

== Create page

. Navigate to the chapter directory. For example, if you want to create a new page in the "Security" section, navigate to the `latest/ug/security` directory.
. Determine the page ID. By convention, the page ID is all lowercase and seperated with `-`. The ID of this page is `create-page`.

Check notice on line 12 in latest/ug/contribute/create-page.adoc

View workflow job for this annotation

GitHub Actions / vale

[vale] latest/ug/contribute/create-page.adoc#L12

[RedHat.SimpleWords] Use simple language. Consider using 'decide' or 'find' rather than 'Determine'.
Raw output
{"message": "[RedHat.SimpleWords] Use simple language. Consider using 'decide' or 'find' rather than 'Determine'.", "location": {"path": "latest/ug/contribute/create-page.adoc", "range": {"start": {"line": 12, "column": 3}}}, "severity": "INFO"}

Check warning on line 12 in latest/ug/contribute/create-page.adoc

View workflow job for this annotation

GitHub Actions / vale

[vale] latest/ug/contribute/create-page.adoc#L12

[RedHat.Spelling] Verify the word 'seperated'. It is not in the American English spelling dictionary used by Vale.
Raw output
{"message": "[RedHat.Spelling] Verify the word 'seperated'. It is not in the American English spelling dictionary used by Vale.", "location": {"path": "latest/ug/contribute/create-page.adoc", "range": {"start": {"line": 12, "column": 74}}}, "severity": "WARNING"}
. Create a new file with the page ID and the `adoc` extension. For example, `create-page.adoc`.
. Insert the page metadata using this template:

image::images/contribute-new-page.png["New page metadata"]


== Add page to navigation

. Navigate to the parent page. The parent page of top level sections is `book.adoc`.
. At the bottom of the parent page, include the child page.
+
[source]
====
+++include::${filename}[leveloffset=+1]+++
====
+
_For example:_
+
[source]
====
+++include::create-page.adoc[leveloffset=+1]+++
====

59 changes: 59 additions & 0 deletions latest/ug/contribute/edit-single-web.adoc
Original file line number Diff line number Diff line change
@@ -0,0 +1,59 @@
[.topic]
[#edit-single-web]
= Edit a single page from a web browser
:info_titleabbrev: Edit single page

You can easily edit a single page in the EKS User Guide directly through your web browser.

image::images/contribute-web-edit.png["View of GitHub web edit interface"]

If you want to edit multiple pages from your web browser, see <<edit-web>>.

Check notice on line 10 in latest/ug/contribute/edit-single-web.adoc

View workflow job for this annotation

GitHub Actions / vale

[vale] latest/ug/contribute/edit-single-web.adoc#L10

[RedHat.SimpleWords] Use simple language. Consider using 'many' rather than 'multiple'.
Raw output
{"message": "[RedHat.SimpleWords] Use simple language. Consider using 'many' rather than 'multiple'.", "location": {"path": "latest/ug/contribute/edit-single-web.adoc", "range": {"start": {"line": 10, "column": 21}}}, "severity": "INFO"}

Check notice on line 10 in latest/ug/contribute/edit-single-web.adoc

View workflow job for this annotation

GitHub Actions / vale

[vale] latest/ug/contribute/edit-single-web.adoc#L10

[RedHat.UserReplacedValues] Separate words by underscores in user-replaced values.
Raw output
{"message": "[RedHat.UserReplacedValues] Separate words by underscores in user-replaced values.", "location": {"path": "latest/ug/contribute/edit-single-web.adoc", "range": {"start": {"line": 10, "column": 64}}}, "severity": "INFO"}

== Prerequisites

* Docs page to change opened in web browser
* Signed into GitHub

== Procedure

. Navigate to the page you want to edit in the EKS User Guide documentation

. Look for the *Edit this page on GitHub* button located in the right sidebar of the page

. Once on GitHub, open the editor by either:
** Pressing the `e` key on your keyboard
** Clicking the pencil icon and selecting *Edit in Place* from the dropdown menu
** If you don't have the option to edit, you need to login to GitHub. Your GitHub account does not need any special permissions to suggest changes. However, internal Amazon contributors should link their GitHub profile.

Check notice on line 26 in latest/ug/contribute/edit-single-web.adoc

View workflow job for this annotation

GitHub Actions / vale

[vale] latest/ug/contribute/edit-single-web.adoc#L26

[RedHat.Contractions] Avoid contractions. Use ''do not'' rather than 'don't.'
Raw output
{"message": "[RedHat.Contractions] Avoid contractions. Use ''do not'' rather than 'don't.'", "location": {"path": "latest/ug/contribute/edit-single-web.adoc", "range": {"start": {"line": 26, "column": 11}}}, "severity": "INFO"}

. Make your desired changes to the content in the GitHub editor

Check warning on line 28 in latest/ug/contribute/edit-single-web.adoc

View workflow job for this annotation

GitHub Actions / vale

[vale] latest/ug/contribute/edit-single-web.adoc#L28

[RedHat.TermsWarnings] Consider using 'needed' or 'required' rather than 'desired' unless updating existing content that uses the term.
Raw output
{"message": "[RedHat.TermsWarnings] Consider using 'needed' or 'required' rather than 'desired' unless updating existing content that uses the term.", "location": {"path": "latest/ug/contribute/edit-single-web.adoc", "range": {"start": {"line": 28, "column": 13}}}, "severity": "WARNING"}
** The editor provides syntax highlighting and preview capabilities
** You can use AsciiDoc markup to format your changes
** You can use `ctrl-f` to open a find/replace interface.

. (Optional) Preview your changes.
** Use the `preview` tab to preview your changes with rich formatting.
** Use the `show diff` option to highlight changed sections. Removed sections have a red indicator in the left margin. New sections have a green indicator in the left margin.

Check warning on line 35 in latest/ug/contribute/edit-single-web.adoc

View workflow job for this annotation

GitHub Actions / vale

[vale] latest/ug/contribute/edit-single-web.adoc#L35

[RedHat.DoNotUseTerms] Do not use colors to describe something unless it is also described non-visually, for example, with the name of the item.
Raw output
{"message": "[RedHat.DoNotUseTerms] Do not use colors to describe something unless it is also described non-visually, for example, with the name of the item.", "location": {"path": "latest/ug/contribute/edit-single-web.adoc", "range": {"start": {"line": 35, "column": 86}}}, "severity": "WARNING"}

Check warning on line 35 in latest/ug/contribute/edit-single-web.adoc

View workflow job for this annotation

GitHub Actions / vale

[vale] latest/ug/contribute/edit-single-web.adoc#L35

[RedHat.DoNotUseTerms] Do not use colors to describe something unless it is also described non-visually, for example, with the name of the item.
Raw output
{"message": "[RedHat.DoNotUseTerms] Do not use colors to describe something unless it is also described non-visually, for example, with the name of the item.", "location": {"path": "latest/ug/contribute/edit-single-web.adoc", "range": {"start": {"line": 35, "column": 140}}}, "severity": "WARNING"}

. When finished editing, click the *Commit changes...* button at the top of the editor

. In the commit dialog:
** Verify your email address is correct

Check notice on line 40 in latest/ug/contribute/edit-single-web.adoc

View workflow job for this annotation

GitHub Actions / vale

[vale] latest/ug/contribute/edit-single-web.adoc#L40

[RedHat.SimpleWords] Use simple language. Consider using 'discuss' rather than 'address'.
Raw output
{"message": "[RedHat.SimpleWords] Use simple language. Consider using 'discuss' rather than 'address'.", "location": {"path": "latest/ug/contribute/edit-single-web.adoc", "range": {"start": {"line": 40, "column": 22}}}, "severity": "INFO"}
** Add a brief but descriptive commit message explaining your changes
** Optionally add a longer description if needed
** Select to create a new branch and pull request

You have created a pull request including the proposed changes.

== Pull Request Overview

Check notice on line 47 in latest/ug/contribute/edit-single-web.adoc

View workflow job for this annotation

GitHub Actions / vale

[vale] latest/ug/contribute/edit-single-web.adoc#L47

[RedHat.Headings] Use sentence-style capitalization in 'Pull Request Overview'.
Raw output
{"message": "[RedHat.Headings] Use sentence-style capitalization in 'Pull Request Overview'.", "location": {"path": "latest/ug/contribute/edit-single-web.adoc", "range": {"start": {"line": 47, "column": 4}}}, "severity": "INFO"}

When you create a PR:

* Your changes are submitted for review by repository maintainers

Check notice on line 51 in latest/ug/contribute/edit-single-web.adoc

View workflow job for this annotation

GitHub Actions / vale

[vale] latest/ug/contribute/edit-single-web.adoc#L51

[RedHat.PassiveVoice] 'are submitted' is passive voice. In general, use active voice. Consult the style guide for acceptable use of passive voice.
Raw output
{"message": "[RedHat.PassiveVoice] 'are submitted' is passive voice. In general, use active voice. Consult the style guide for acceptable use of passive voice.", "location": {"path": "latest/ug/contribute/edit-single-web.adoc", "range": {"start": {"line": 51, "column": 16}}}, "severity": "INFO"}
* Reviewers can comment on your changes and request modifications
* Automated tests may run to validate your changes

Check warning on line 53 in latest/ug/contribute/edit-single-web.adoc

View workflow job for this annotation

GitHub Actions / vale

[vale] latest/ug/contribute/edit-single-web.adoc#L53

[RedHat.TermsWarnings] Consider using 'might' or 'can' rather than 'may' unless updating existing content that uses the term.
Raw output
{"message": "[RedHat.TermsWarnings] Consider using 'might' or 'can' rather than 'may' unless updating existing content that uses the term.", "location": {"path": "latest/ug/contribute/edit-single-web.adoc", "range": {"start": {"line": 53, "column": 19}}}, "severity": "WARNING"}
* Once approved, your changes can be merged into the main repository

Check notice on line 54 in latest/ug/contribute/edit-single-web.adoc

View workflow job for this annotation

GitHub Actions / vale

[vale] latest/ug/contribute/edit-single-web.adoc#L54

[RedHat.PassiveVoice] 'be merged' is passive voice. In general, use active voice. Consult the style guide for acceptable use of passive voice.
Raw output
{"message": "[RedHat.PassiveVoice] 'be merged' is passive voice. In general, use active voice. Consult the style guide for acceptable use of passive voice.", "location": {"path": "latest/ug/contribute/edit-single-web.adoc", "range": {"start": {"line": 54, "column": 35}}}, "severity": "INFO"}

Pull requests help ensure quality and provide a way to discuss changes before they are integrated.

Check notice on line 56 in latest/ug/contribute/edit-single-web.adoc

View workflow job for this annotation

GitHub Actions / vale

[vale] latest/ug/contribute/edit-single-web.adoc#L56

[RedHat.SimpleWords] Use simple language. Consider using 'give' or 'offer' rather than 'provide'.
Raw output
{"message": "[RedHat.SimpleWords] Use simple language. Consider using 'give' or 'offer' rather than 'provide'.", "location": {"path": "latest/ug/contribute/edit-single-web.adoc", "range": {"start": {"line": 56, "column": 39}}}, "severity": "INFO"}

Check notice on line 56 in latest/ug/contribute/edit-single-web.adoc

View workflow job for this annotation

GitHub Actions / vale

[vale] latest/ug/contribute/edit-single-web.adoc#L56

[RedHat.PassiveVoice] 'are integrated' is passive voice. In general, use active voice. Consult the style guide for acceptable use of passive voice.
Raw output
{"message": "[RedHat.PassiveVoice] 'are integrated' is passive voice. In general, use active voice. Consult the style guide for acceptable use of passive voice.", "location": {"path": "latest/ug/contribute/edit-single-web.adoc", "range": {"start": {"line": 56, "column": 84}}}, "severity": "INFO"}

https://docs.github.com/en/pull-requests/collaborating-with-pull-requests/reviewing-changes-in-pull-requests/about-pull-request-reviews[Learn how pull requests are reviewed and approved in the GitHub Docs.]

Check notice on line 58 in latest/ug/contribute/edit-single-web.adoc

View workflow job for this annotation

GitHub Actions / vale

[vale] latest/ug/contribute/edit-single-web.adoc#L58

[RedHat.PassiveVoice] 'are reviewed' is passive voice. In general, use active voice. Consult the style guide for acceptable use of passive voice.
Raw output
{"message": "[RedHat.PassiveVoice] 'are reviewed' is passive voice. In general, use active voice. Consult the style guide for acceptable use of passive voice.", "location": {"path": "latest/ug/contribute/edit-single-web.adoc", "range": {"start": {"line": 58, "column": 161}}}, "severity": "INFO"}

31 changes: 31 additions & 0 deletions latest/ug/contribute/edit-web.adoc
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
[.topic]
[#edit-web]
= Edit multiple files from a web browser with the GitHub Web Editor

Check notice on line 3 in latest/ug/contribute/edit-web.adoc

View workflow job for this annotation

GitHub Actions / vale

[vale] latest/ug/contribute/edit-web.adoc#L3

[RedHat.SimpleWords] Use simple language. Consider using 'many' rather than 'multiple'.
Raw output
{"message": "[RedHat.SimpleWords] Use simple language. Consider using 'many' rather than 'multiple'.", "location": {"path": "latest/ug/contribute/edit-web.adoc", "range": {"start": {"line": 3, "column": 8}}}, "severity": "INFO"}
:info_titleabbrev: Edit files with GitHub

If you want to propose change to multiple pages, or create a new docs page, use the GitHub.dev web editor. This web editor is based on the popular Visual Studio Code text editor.

Check notice on line 6 in latest/ug/contribute/edit-web.adoc

View workflow job for this annotation

GitHub Actions / vale

[vale] latest/ug/contribute/edit-web.adoc#L6

[RedHat.SimpleWords] Use simple language. Consider using 'many' rather than 'multiple'.
Raw output
{"message": "[RedHat.SimpleWords] Use simple language. Consider using 'many' rather than 'multiple'.", "location": {"path": "latest/ug/contribute/edit-web.adoc", "range": {"start": {"line": 6, "column": 34}}}, "severity": "INFO"}

Check notice on line 6 in latest/ug/contribute/edit-web.adoc

View workflow job for this annotation

GitHub Actions / vale

[vale] latest/ug/contribute/edit-web.adoc#L6

[RedHat.PassiveVoice] 'is based' is passive voice. In general, use active voice. Consult the style guide for acceptable use of passive voice.
Raw output
{"message": "[RedHat.PassiveVoice] 'is based' is passive voice. In general, use active voice. Consult the style guide for acceptable use of passive voice.", "location": {"path": "latest/ug/contribute/edit-web.adoc", "range": {"start": {"line": 6, "column": 124}}}, "severity": "INFO"}

image::images/contribute-web-dev.png["GitHub.dev web editor user interface]

== Prerequisites

* Logged in to GitHub
* Familiarity with Visual Studio Code editor
* Familiarity with Git

== Procedure

NOTE: The EKS Docs team has created a workspace file that includes suggested configurations for the editor, such as text wrapping and AsciiDoc syntax highlighting. We suggest you load this workspace file.

. Open the https://github.dev/awsdocs/amazon-eks-user-guide/blob/mainline/eks-docs.code-workspace?workspace=true[workspace] on GitHub.dev

Check failure on line 20 in latest/ug/contribute/edit-web.adoc

View workflow job for this annotation

GitHub Actions / vale

[vale] latest/ug/contribute/edit-web.adoc#L20

[EksDocs.ExternalDomains] External domain detected: ' https://github.dev/awsdocs/amazon-eks-user-guide/blob/mainline/eks-docs.code-workspace?workspace=true[workspace] -- Review non-aws domains carefully
Raw output
{"message": "[EksDocs.ExternalDomains] External domain detected: ' https://github.dev/awsdocs/amazon-eks-user-guide/blob/mainline/eks-docs.code-workspace?workspace=true[workspace] -- Review non-aws domains carefully", "location": {"path": "latest/ug/contribute/edit-web.adoc", "range": {"start": {"line": 20, "column": 11}}}, "severity": "ERROR"}
** You can bookmarl the URL `https://github.dev/awsdocs/amazon-eks-user-guide/blob/mainline/eks-docs.code-workspace?workspace=true`

Check warning on line 21 in latest/ug/contribute/edit-web.adoc

View workflow job for this annotation

GitHub Actions / vale

[vale] latest/ug/contribute/edit-web.adoc#L21

[RedHat.Spelling] Verify the word 'bookmarl'. It is not in the American English spelling dictionary used by Vale.
Raw output
{"message": "[RedHat.Spelling] Verify the word 'bookmarl'. It is not in the American English spelling dictionary used by Vale.", "location": {"path": "latest/ug/contribute/edit-web.adoc", "range": {"start": {"line": 21, "column": 12}}}, "severity": "WARNING"}
. (First time setup only) You may be propted to create a fork of the repo in your own GitHub account. Accept this prompt. For more information, see https://docs.github.com/en/pull-requests/collaborating-with-pull-requests/working-with-forks/about-forks[About forks] in the GitHub docs.

Check warning on line 22 in latest/ug/contribute/edit-web.adoc

View workflow job for this annotation

GitHub Actions / vale

[vale] latest/ug/contribute/edit-web.adoc#L22

[RedHat.TermsWarnings] Consider using 'might' or 'can' rather than 'may' unless updating existing content that uses the term.
Raw output
{"message": "[RedHat.TermsWarnings] Consider using 'might' or 'can' rather than 'may' unless updating existing content that uses the term.", "location": {"path": "latest/ug/contribute/edit-web.adoc", "range": {"start": {"line": 22, "column": 31}}}, "severity": "WARNING"}

Check notice on line 22 in latest/ug/contribute/edit-web.adoc

View workflow job for this annotation

GitHub Actions / vale

[vale] latest/ug/contribute/edit-web.adoc#L22

[RedHat.PassiveVoice] 'be propted' is passive voice. In general, use active voice. Consult the style guide for acceptable use of passive voice.
Raw output
{"message": "[RedHat.PassiveVoice] 'be propted' is passive voice. In general, use active voice. Consult the style guide for acceptable use of passive voice.", "location": {"path": "latest/ug/contribute/edit-web.adoc", "range": {"start": {"line": 22, "column": 35}}}, "severity": "INFO"}

Check warning on line 22 in latest/ug/contribute/edit-web.adoc

View workflow job for this annotation

GitHub Actions / vale

[vale] latest/ug/contribute/edit-web.adoc#L22

[RedHat.Spelling] Verify the word 'propted'. It is not in the American English spelling dictionary used by Vale.
Raw output
{"message": "[RedHat.Spelling] Verify the word 'propted'. It is not in the American English spelling dictionary used by Vale.", "location": {"path": "latest/ug/contribute/edit-web.adoc", "range": {"start": {"line": 22, "column": 38}}}, "severity": "WARNING"}

Check warning on line 22 in latest/ug/contribute/edit-web.adoc

View workflow job for this annotation

GitHub Actions / vale

[vale] latest/ug/contribute/edit-web.adoc#L22

[RedHat.Spelling] Verify the word 'repo'. It is not in the American English spelling dictionary used by Vale.
Raw output
{"message": "[RedHat.Spelling] Verify the word 'repo'. It is not in the American English spelling dictionary used by Vale.", "location": {"path": "latest/ug/contribute/edit-web.adoc", "range": {"start": {"line": 22, "column": 70}}}, "severity": "WARNING"}
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

. (First time setup only) You may be prompted to create a fork of the repo in your own GitHub account. Accept this prompt. For more information, see https://docs.github.com/en/pull-requests/collaborating-with-pull-requests/working-with-forks/about-forks[About forks] in the GitHub docs.

. (First time setup only) Accept the prompt in the bottom right to install the AsciiDoc extension.

Check warning on line 23 in latest/ug/contribute/edit-web.adoc

View workflow job for this annotation

GitHub Actions / vale

[vale] latest/ug/contribute/edit-web.adoc#L23

[RedHat.TermsWarnings] Consider using 'lower right' rather than 'bottom right' unless updating existing content that uses the term.
Raw output
{"message": "[RedHat.TermsWarnings] Consider using 'lower right' rather than 'bottom right' unless updating existing content that uses the term.", "location": {"path": "latest/ug/contribute/edit-web.adoc", "range": {"start": {"line": 23, "column": 52}}}, "severity": "WARNING"}
. Navigate to the docs content at `latest/ug`
** Docs files are organized by their top level section. For example, pages in the "Security" chapter have source files under the "security/" directory.

Check notice on line 25 in latest/ug/contribute/edit-web.adoc

View workflow job for this annotation

GitHub Actions / vale

[vale] latest/ug/contribute/edit-web.adoc#L25

[RedHat.PassiveVoice] 'are organized' is passive voice. In general, use active voice. Consult the style guide for acceptable use of passive voice.
Raw output
{"message": "[RedHat.PassiveVoice] 'are organized' is passive voice. In general, use active voice. Consult the style guide for acceptable use of passive voice.", "location": {"path": "latest/ug/contribute/edit-web.adoc", "range": {"start": {"line": 25, "column": 15}}}, "severity": "INFO"}
. To view a preview of a docs page, use the *Open preview to the Side* button in the top right. The icon includes a small magnifying glass.
. Use the *Source Control* tab in the left to commit your changes. For more information, see the Visual Studio Code docs:
** https://code.visualstudio.com/docs/sourcecontrol/overview#_commit[Commit changes]
** https://code.visualstudio.com/docs/sourcecontrol/github#_creating-pull-requests[Create a pull request]

After you create a pull request, it will be reviewed by the docs team.

Check notice on line 31 in latest/ug/contribute/edit-web.adoc

View workflow job for this annotation

GitHub Actions / vale

[vale] latest/ug/contribute/edit-web.adoc#L31

[RedHat.PassiveVoice] 'be reviewed' is passive voice. In general, use active voice. Consult the style guide for acceptable use of passive voice.
Raw output
{"message": "[RedHat.PassiveVoice] 'be reviewed' is passive voice. In general, use active voice. Consult the style guide for acceptable use of passive voice.", "location": {"path": "latest/ug/contribute/edit-web.adoc", "range": {"start": {"line": 31, "column": 42}}}, "severity": "INFO"}
1 change: 1 addition & 0 deletions latest/ug/contribute/images
33 changes: 33 additions & 0 deletions latest/ug/contribute/insert-link.adoc
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
[.topic]
[#insert-link]
= Insert a link
:info_titleabbrev: Insert link

AsciiDoc supports multiple types of links. Using the right link type is important so the link works properly in different environments.

Check notice on line 6 in latest/ug/contribute/insert-link.adoc

View workflow job for this annotation

GitHub Actions / vale

[vale] latest/ug/contribute/insert-link.adoc#L6

[RedHat.SimpleWords] Use simple language. Consider using 'many' rather than 'multiple'.
Raw output
{"message": "[RedHat.SimpleWords] Use simple language. Consider using 'many' rather than 'multiple'.", "location": {"path": "latest/ug/contribute/insert-link.adoc", "range": {"start": {"line": 6, "column": 19}}}, "severity": "INFO"}

== Link to a page or section in the EKS User Guide

Use cross references (xref) to link between pages/sections within the same documentation site, such as the EKS User Guide. They automatically update if the target section moves or is renamed.

Check warning on line 10 in latest/ug/contribute/insert-link.adoc

View workflow job for this annotation

GitHub Actions / vale

[vale] latest/ug/contribute/insert-link.adoc#L10

[RedHat.Slash] Use either 'or' or 'and' in 'pages/sections'
Raw output
{"message": "[RedHat.Slash] Use either 'or' or 'and' in 'pages/sections'", "location": {"path": "latest/ug/contribute/insert-link.adoc", "range": {"start": {"line": 10, "column": 45}}}, "severity": "WARNING"}

Check notice on line 10 in latest/ug/contribute/insert-link.adoc

View workflow job for this annotation

GitHub Actions / vale

[vale] latest/ug/contribute/insert-link.adoc#L10

[RedHat.PassiveVoice] 'is renamed' is passive voice. In general, use active voice. Consult the style guide for acceptable use of passive voice.
Raw output
{"message": "[RedHat.PassiveVoice] 'is renamed' is passive voice. In general, use active voice. Consult the style guide for acceptable use of passive voice.", "location": {"path": "latest/ug/contribute/insert-link.adoc", "range": {"start": {"line": 10, "column": 181}}}, "severity": "INFO"}

=== Define custom link text

`xref` `:section-id[${link-text}]`

=== Use page title as link text

Use the section ID surrounded by angle brackets. For example `<<` `page-id>>`.
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Use the section ID surrounded by angle brackets. For example <<page-id>>.


== Link to another page in the {aws} Docs

. Find the link to the {aws} Docs page
. Remove the `https://docs.aws.amazon.com/` prefix, keeping only the path. The path should start with an a-z character.
. Create a link as shown below

`link` `:AmazonS3/latest/userguide/create-bucket-overview.html["Create a bucket", type="documentation"]`

== Link out to the internet

This format creates a standard link out to the internet. Use this for Non-Amazon content or content on GitHub.

`link` `:https://example.com[Visit Example Site]`

40 changes: 40 additions & 0 deletions latest/ug/contribute/pr-preview.adoc
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
[.topic]
[#pr-preview]
= View a preview of pull request content
:info_titleabbrev: View PR Preview

The EKS User Guide GitHub is configured to build and generate a preview of the docs site. This preview doesn't have the full {aws} theme, but it does check the content builds properly and links work.

Check notice on line 6 in latest/ug/contribute/pr-preview.adoc

View workflow job for this annotation

GitHub Actions / vale

[vale] latest/ug/contribute/pr-preview.adoc#L6

[RedHat.PassiveVoice] 'is configured' is passive voice. In general, use active voice. Consult the style guide for acceptable use of passive voice.
Raw output
{"message": "[RedHat.PassiveVoice] 'is configured' is passive voice. In general, use active voice. Consult the style guide for acceptable use of passive voice.", "location": {"path": "latest/ug/contribute/pr-preview.adoc", "range": {"start": {"line": 6, "column": 27}}}, "severity": "INFO"}

Check notice on line 6 in latest/ug/contribute/pr-preview.adoc

View workflow job for this annotation

GitHub Actions / vale

[vale] latest/ug/contribute/pr-preview.adoc#L6

[RedHat.Contractions] Avoid contractions. Use ''does not'' rather than 'doesn't.'
Raw output
{"message": "[RedHat.Contractions] Avoid contractions. Use ''does not'' rather than 'doesn't.'", "location": {"path": "latest/ug/contribute/pr-preview.adoc", "range": {"start": {"line": 6, "column": 104}}}, "severity": "INFO"}

image::images/contribute-preview.png["GitHub comment with preview URL"]

This preview is hosted at a temporary URL by {aws} Amplify.

Check notice on line 10 in latest/ug/contribute/pr-preview.adoc

View workflow job for this annotation

GitHub Actions / vale

[vale] latest/ug/contribute/pr-preview.adoc#L10

[RedHat.PassiveVoice] 'is hosted' is passive voice. In general, use active voice. Consult the style guide for acceptable use of passive voice.
Raw output
{"message": "[RedHat.PassiveVoice] 'is hosted' is passive voice. In general, use active voice. Consult the style guide for acceptable use of passive voice.", "location": {"path": "latest/ug/contribute/pr-preview.adoc", "range": {"start": {"line": 10, "column": 14}}}, "severity": "INFO"}

== View Preview

Check notice on line 12 in latest/ug/contribute/pr-preview.adoc

View workflow job for this annotation

GitHub Actions / vale

[vale] latest/ug/contribute/pr-preview.adoc#L12

[RedHat.Headings] Use sentence-style capitalization in 'View Preview'.
Raw output
{"message": "[RedHat.Headings] Use sentence-style capitalization in 'View Preview'.", "location": {"path": "latest/ug/contribute/pr-preview.adoc", "range": {"start": {"line": 12, "column": 4}}}, "severity": "INFO"}

When you submit a pull request, {aws} Amplify attemps to build and deploy a preview of the content.

Check warning on line 14 in latest/ug/contribute/pr-preview.adoc

View workflow job for this annotation

GitHub Actions / vale

[vale] latest/ug/contribute/pr-preview.adoc#L14

[RedHat.Spelling] Verify the word 'attemps'. It is not in the American English spelling dictionary used by Vale.
Raw output
{"message": "[RedHat.Spelling] Verify the word 'attemps'. It is not in the American English spelling dictionary used by Vale.", "location": {"path": "latest/ug/contribute/pr-preview.adoc", "range": {"start": {"line": 14, "column": 47}}}, "severity": "WARNING"}

If the build succeeds, *aws-amplify-us-east-1* comments the preview link on the pull request.

If the build fails, the repo admins can see the logs and provide feedback.

Check warning on line 18 in latest/ug/contribute/pr-preview.adoc

View workflow job for this annotation

GitHub Actions / vale

[vale] latest/ug/contribute/pr-preview.adoc#L18

[RedHat.Spelling] Verify the word 'repo'. It is not in the American English spelling dictionary used by Vale.
Raw output
{"message": "[RedHat.Spelling] Verify the word 'repo'. It is not in the American English spelling dictionary used by Vale.", "location": {"path": "latest/ug/contribute/pr-preview.adoc", "range": {"start": {"line": 18, "column": 25}}}, "severity": "WARNING"}

Check notice on line 18 in latest/ug/contribute/pr-preview.adoc

View workflow job for this annotation

GitHub Actions / vale

[vale] latest/ug/contribute/pr-preview.adoc#L18

[RedHat.SimpleWords] Use simple language. Consider using 'give' or 'offer' rather than 'provide'.
Raw output
{"message": "[RedHat.SimpleWords] Use simple language. Consider using 'give' or 'offer' rather than 'provide'.", "location": {"path": "latest/ug/contribute/pr-preview.adoc", "range": {"start": {"line": 18, "column": 58}}}, "severity": "INFO"}

NOTE: If you haven't contributed before, a project maintainer may need to approve running the build.

Check notice on line 20 in latest/ug/contribute/pr-preview.adoc

View workflow job for this annotation

GitHub Actions / vale

[vale] latest/ug/contribute/pr-preview.adoc#L20

[RedHat.Contractions] Avoid contractions. Use ''have not'' rather than 'haven't.'
Raw output
{"message": "[RedHat.Contractions] Avoid contractions. Use ''have not'' rather than 'haven't.'", "location": {"path": "latest/ug/contribute/pr-preview.adoc", "range": {"start": {"line": 20, "column": 14}}}, "severity": "INFO"}

Check warning on line 20 in latest/ug/contribute/pr-preview.adoc

View workflow job for this annotation

GitHub Actions / vale

[vale] latest/ug/contribute/pr-preview.adoc#L20

[RedHat.TermsWarnings] Consider using 'might' or 'can' rather than 'may' unless updating existing content that uses the term.
Raw output
{"message": "[RedHat.TermsWarnings] Consider using 'might' or 'can' rather than 'may' unless updating existing content that uses the term.", "location": {"path": "latest/ug/contribute/pr-preview.adoc", "range": {"start": {"line": 20, "column": 63}}}, "severity": "WARNING"}

== Preview limitations

The preview is built as a single large HTML file. It will be displayed as multiple pages when published.

Check notice on line 24 in latest/ug/contribute/pr-preview.adoc

View workflow job for this annotation

GitHub Actions / vale

[vale] latest/ug/contribute/pr-preview.adoc#L24

[RedHat.PassiveVoice] 'is built' is passive voice. In general, use active voice. Consult the style guide for acceptable use of passive voice.
Raw output
{"message": "[RedHat.PassiveVoice] 'is built' is passive voice. In general, use active voice. Consult the style guide for acceptable use of passive voice.", "location": {"path": "latest/ug/contribute/pr-preview.adoc", "range": {"start": {"line": 24, "column": 13}}}, "severity": "INFO"}

Check notice on line 24 in latest/ug/contribute/pr-preview.adoc

View workflow job for this annotation

GitHub Actions / vale

[vale] latest/ug/contribute/pr-preview.adoc#L24

[RedHat.SimpleWords] Use simple language. Consider using 'many' rather than 'multiple'.
Raw output
{"message": "[RedHat.SimpleWords] Use simple language. Consider using 'many' rather than 'multiple'.", "location": {"path": "latest/ug/contribute/pr-preview.adoc", "range": {"start": {"line": 24, "column": 75}}}, "severity": "INFO"}

*What works:*

* Cross references (`xref`)
* Links to the internet
* Images
* Content hosted from `samples/`

*What doesn't work:*

Check notice on line 33 in latest/ug/contribute/pr-preview.adoc

View workflow job for this annotation

GitHub Actions / vale

[vale] latest/ug/contribute/pr-preview.adoc#L33

[RedHat.Contractions] Avoid contractions. Use ''does not'' rather than 'doesn't.'
Raw output
{"message": "[RedHat.Contractions] Avoid contractions. Use ''does not'' rather than 'doesn't.'", "location": {"path": "latest/ug/contribute/pr-preview.adoc", "range": {"start": {"line": 33, "column": 7}}}, "severity": "INFO"}

* Links to other {aws} content, links with `type="documentation"`.
** This content doesn't exist in the preview environment.

Check notice on line 36 in latest/ug/contribute/pr-preview.adoc

View workflow job for this annotation

GitHub Actions / vale

[vale] latest/ug/contribute/pr-preview.adoc#L36

[RedHat.Contractions] Avoid contractions. Use ''does not'' rather than 'doesn't.'
Raw output
{"message": "[RedHat.Contractions] Avoid contractions. Use ''does not'' rather than 'doesn't.'", "location": {"path": "latest/ug/contribute/pr-preview.adoc", "range": {"start": {"line": 36, "column": 17}}}, "severity": "INFO"}
* The variable `aws` will not display properly. The value of this changes based on the environment.



75 changes: 75 additions & 0 deletions latest/ug/contribute/pr-status.adoc
Original file line number Diff line number Diff line change
@@ -0,0 +1,75 @@
[.topic]
[#pr-status]
= View the status of your GitHub Pull Request (PR)

Check notice on line 3 in latest/ug/contribute/pr-status.adoc

View workflow job for this annotation

GitHub Actions / vale

[vale] latest/ug/contribute/pr-status.adoc#L3

[RedHat.Headings] Use sentence-style capitalization in 'View the status of your GitHub Pull Request (PR)'.
Raw output
{"message": "[RedHat.Headings] Use sentence-style capitalization in 'View the status of your GitHub Pull Request (PR)'.", "location": {"path": "latest/ug/contribute/pr-status.adoc", "range": {"start": {"line": 3, "column": 3}}}, "severity": "INFO"}
:info_titleabbrev: View PR Status

After you create a pull request, you can track it's status. Pull requests have three important statuses: merged, closed, and changes requested.

Check notice on line 6 in latest/ug/contribute/pr-status.adoc

View workflow job for this annotation

GitHub Actions / vale

[vale] latest/ug/contribute/pr-status.adoc#L6

[RedHat.Contractions] Avoid contractions. Use ''it is'' rather than 'it's.'
Raw output
{"message": "[RedHat.Contractions] Avoid contractions. Use ''it is'' rather than 'it's.'", "location": {"path": "latest/ug/contribute/pr-status.adoc", "range": {"start": {"line": 6, "column": 48}}}, "severity": "INFO"}

If a pull request is merged, the changes were accepted. It may take a few hours for the website to update. If the PR was closed, please understand we appreciate the contribution but could not approve the changes. For example, we may have been unable to replicate the problem. If a pull request has changes requested, review the feedback and update the pull request.

Check notice on line 8 in latest/ug/contribute/pr-status.adoc

View workflow job for this annotation

GitHub Actions / vale

[vale] latest/ug/contribute/pr-status.adoc#L8

[RedHat.PassiveVoice] 'is merged' is passive voice. In general, use active voice. Consult the style guide for acceptable use of passive voice.
Raw output
{"message": "[RedHat.PassiveVoice] 'is merged' is passive voice. In general, use active voice. Consult the style guide for acceptable use of passive voice.", "location": {"path": "latest/ug/contribute/pr-status.adoc", "range": {"start": {"line": 8, "column": 19}}}, "severity": "INFO"}

Check notice on line 8 in latest/ug/contribute/pr-status.adoc

View workflow job for this annotation

GitHub Actions / vale

[vale] latest/ug/contribute/pr-status.adoc#L8

[RedHat.PassiveVoice] 'were accepted' is passive voice. In general, use active voice. Consult the style guide for acceptable use of passive voice.
Raw output
{"message": "[RedHat.PassiveVoice] 'were accepted' is passive voice. In general, use active voice. Consult the style guide for acceptable use of passive voice.", "location": {"path": "latest/ug/contribute/pr-status.adoc", "range": {"start": {"line": 8, "column": 42}}}, "severity": "INFO"}

Check warning on line 8 in latest/ug/contribute/pr-status.adoc

View workflow job for this annotation

GitHub Actions / vale

[vale] latest/ug/contribute/pr-status.adoc#L8

[RedHat.TermsWarnings] Consider using 'might' or 'can' rather than 'may' unless updating existing content that uses the term.
Raw output
{"message": "[RedHat.TermsWarnings] Consider using 'might' or 'can' rather than 'may' unless updating existing content that uses the term.", "location": {"path": "latest/ug/contribute/pr-status.adoc", "range": {"start": {"line": 8, "column": 60}}}, "severity": "WARNING"}

Check notice on line 8 in latest/ug/contribute/pr-status.adoc

View workflow job for this annotation

GitHub Actions / vale

[vale] latest/ug/contribute/pr-status.adoc#L8

[RedHat.PassiveVoice] 'was closed' is passive voice. In general, use active voice. Consult the style guide for acceptable use of passive voice.
Raw output
{"message": "[RedHat.PassiveVoice] 'was closed' is passive voice. In general, use active voice. Consult the style guide for acceptable use of passive voice.", "location": {"path": "latest/ug/contribute/pr-status.adoc", "range": {"start": {"line": 8, "column": 118}}}, "severity": "INFO"}

Check warning on line 8 in latest/ug/contribute/pr-status.adoc

View workflow job for this annotation

GitHub Actions / vale

[vale] latest/ug/contribute/pr-status.adoc#L8

[RedHat.DoNotUseTerms] Do not use "please" in technical documentation.
Raw output
{"message": "[RedHat.DoNotUseTerms] Do not use \"please\" in technical documentation.", "location": {"path": "latest/ug/contribute/pr-status.adoc", "range": {"start": {"line": 8, "column": 130}}}, "severity": "WARNING"}

Check warning on line 8 in latest/ug/contribute/pr-status.adoc

View workflow job for this annotation

GitHub Actions / vale

[vale] latest/ug/contribute/pr-status.adoc#L8

[RedHat.TermsWarnings] Consider using 'might' or 'can' rather than 'may' unless updating existing content that uses the term.
Raw output
{"message": "[RedHat.TermsWarnings] Consider using 'might' or 'can' rather than 'may' unless updating existing content that uses the term.", "location": {"path": "latest/ug/contribute/pr-status.adoc", "range": {"start": {"line": 8, "column": 230}}}, "severity": "WARNING"}

include::images/contribute-pr.png["View PR feedback"]

== View the pull requests you created
To view pull requests you created:

. Go to the GitHub repository
. Click the "Pull requests" tab
. Select *Filters* and then *Your pull requests*
. Review the list of your open pull requests

== View pull requests assigned to you
To view pull requests assigned to you for review:

. Go to the GitHub repository
. Click the "Pull requests" tab
. Select *filters* and then *assigned to you*
. Review the list of pull requests awaiting your review

== Review a pull request

Learn how to https://docs.github.com/en/pull-requests/collaborating-with-pull-requests/reviewing-changes-in-pull-requests/reviewing-proposed-changes-in-a-pull-request[review a pull request] in the GitHub Docs.

== Make further changes on a pull request

If changes are requested on a pull request, you can make further changes in the pull request.

Check notice on line 34 in latest/ug/contribute/pr-status.adoc

View workflow job for this annotation

GitHub Actions / vale

[vale] latest/ug/contribute/pr-status.adoc#L34

[RedHat.PassiveVoice] 'are requested' is passive voice. In general, use active voice. Consult the style guide for acceptable use of passive voice.
Raw output
{"message": "[RedHat.PassiveVoice] 'are requested' is passive voice. In general, use active voice. Consult the style guide for acceptable use of passive voice.", "location": {"path": "latest/ug/contribute/pr-status.adoc", "range": {"start": {"line": 34, "column": 12}}}, "severity": "INFO"}

{aws} suggests using the GitHub.dev web editor to make further changes to a pull request. This supports viewing PR comments inside the text editor.

Check warning on line 36 in latest/ug/contribute/pr-status.adoc

View workflow job for this annotation

GitHub Actions / vale

[vale] latest/ug/contribute/pr-status.adoc#L36

[RedHat.Using] Use 'by using' instead of 'using' when it follows a noun for clarity and grammatical correctness.
Raw output
{"message": "[RedHat.Using] Use 'by using' instead of 'using' when it follows a noun for clarity and grammatical correctness.", "location": {"path": "latest/ug/contribute/pr-status.adoc", "range": {"start": {"line": 36, "column": 7}}}, "severity": "WARNING"}

=== Make further changes with a web browser

. Use the `.` (period) key to open the pull request in the GitHub web editor
. Review the comments and make changes in the text editor. You can mark comments as resolved from within the editor.
. Use the *source control* menu in the left sidebar to commit the changes, which updates the PR.

=== Make further changes locally

Use the GitHub CLI to pull the changes locally.

==== Setup GitHub CLI

Check notice on line 48 in latest/ug/contribute/pr-status.adoc

View workflow job for this annotation

GitHub Actions / vale

[vale] latest/ug/contribute/pr-status.adoc#L48

[RedHat.Headings] Use sentence-style capitalization in 'Setup GitHub CLI'.
Raw output
{"message": "[RedHat.Headings] Use sentence-style capitalization in 'Setup GitHub CLI'.", "location": {"path": "latest/ug/contribute/pr-status.adoc", "range": {"start": {"line": 48, "column": 6}}}, "severity": "INFO"}

. Install the GitHub CLI if you haven't already:

Check notice on line 50 in latest/ug/contribute/pr-status.adoc

View workflow job for this annotation

GitHub Actions / vale

[vale] latest/ug/contribute/pr-status.adoc#L50

[RedHat.Contractions] Avoid contractions. Use ''have not'' rather than 'haven't.'
Raw output
{"message": "[RedHat.Contractions] Avoid contractions. Use ''have not'' rather than 'haven't.'", "location": {"path": "latest/ug/contribute/pr-status.adoc", "range": {"start": {"line": 50, "column": 33}}}, "severity": "INFO"}
* For macOS: `brew install gh`
* For Windows: `winget install GitHub.cli`
* For Linux: Follow instructions at https://github.com/cli/cli#installation

. Authenticate with GitHub:
* Run `gh auth login`
* Follow the prompts to complete authentication

==== Checkout pull request

. Check out the pull request branch:
* Run `gh pr checkout <PR-NUMBER>`
* Replace <PR-NUMBER> with your pull request number
* The pull request number is visible at the top of the PR
* This creates a local branch with the PR changes

. Make your changes locally using your preferred text editor

. Commit and push your changes:
* Stage changes: `git add .`
* Commit changes: `git commit -m "your commit message"`
* Push to GitHub: `git push`

The pull request will automatically update with your new changes.

26 changes: 26 additions & 0 deletions latest/ug/contribute/vale-github.adoc
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
[.topic]
[#vale-github]
= View style feedback online for a pull request
:info_titleabbrev: View PR feedback

When you create a pull request to propose docs changes, multiple GitHub actions run. This includes a style check using Vale.

Check notice on line 6 in latest/ug/contribute/vale-github.adoc

View workflow job for this annotation

GitHub Actions / vale

[vale] latest/ug/contribute/vale-github.adoc#L6

[RedHat.SimpleWords] Use simple language. Consider using 'many' rather than 'multiple'.
Raw output
{"message": "[RedHat.SimpleWords] Use simple language. Consider using 'many' rather than 'multiple'.", "location": {"path": "latest/ug/contribute/vale-github.adoc", "range": {"start": {"line": 6, "column": 57}}}, "severity": "INFO"}

Check warning on line 6 in latest/ug/contribute/vale-github.adoc

View workflow job for this annotation

GitHub Actions / vale

[vale] latest/ug/contribute/vale-github.adoc#L6

[RedHat.Using] Use 'by using' instead of 'using' when it follows a noun for clarity and grammatical correctness.
Raw output
{"message": "[RedHat.Using] Use 'by using' instead of 'using' when it follows a noun for clarity and grammatical correctness.", "location": {"path": "latest/ug/contribute/vale-github.adoc", "range": {"start": {"line": 6, "column": 108}}}, "severity": "WARNING"}

image::images/contribute-style-web.png["View style feedback on GitHub"]

The style check:

* Returns an error if the string "AWS" is used instead of the variable `{aws}`

Check notice on line 12 in latest/ug/contribute/vale-github.adoc

View workflow job for this annotation

GitHub Actions / vale

[vale] latest/ug/contribute/vale-github.adoc#L12

[RedHat.PassiveVoice] 'is used' is passive voice. In general, use active voice. Consult the style guide for acceptable use of passive voice.
Raw output
{"message": "[RedHat.PassiveVoice] 'is used' is passive voice. In general, use active voice. Consult the style guide for acceptable use of passive voice.", "location": {"path": "latest/ug/contribute/vale-github.adoc", "range": {"start": {"line": 12, "column": 40}}}, "severity": "INFO"}
** Pull requests cannot be merged until this is resolved.

Check notice on line 13 in latest/ug/contribute/vale-github.adoc

View workflow job for this annotation

GitHub Actions / vale

[vale] latest/ug/contribute/vale-github.adoc#L13

[RedHat.PassiveVoice] 'be merged' is passive voice. In general, use active voice. Consult the style guide for acceptable use of passive voice.
Raw output
{"message": "[RedHat.PassiveVoice] 'be merged' is passive voice. In general, use active voice. Consult the style guide for acceptable use of passive voice.", "location": {"path": "latest/ug/contribute/vale-github.adoc", "range": {"start": {"line": 13, "column": 25}}}, "severity": "INFO"}

Check notice on line 13 in latest/ug/contribute/vale-github.adoc

View workflow job for this annotation

GitHub Actions / vale

[vale] latest/ug/contribute/vale-github.adoc#L13

[RedHat.PassiveVoice] 'is resolved' is passive voice. In general, use active voice. Consult the style guide for acceptable use of passive voice.
Raw output
{"message": "[RedHat.PassiveVoice] 'is resolved' is passive voice. In general, use active voice. Consult the style guide for acceptable use of passive voice.", "location": {"path": "latest/ug/contribute/vale-github.adoc", "range": {"start": {"line": 13, "column": 46}}}, "severity": "INFO"}
* Adds style comments to the pull request.

== View style feedback

. Open your Pull Request
** https://github.com/awsdocs/amazon-eks-user-guide/pulls[View a list of open pull requests]
. Select the *Files changed* tab
. Feedback from Vale is visible as line comments, that start with `[vale]`.
** Use the style feedback to identify typos, spelling errors, and awkward phrasing.

When you update a pull request, the Vale check runs again.

Learn how to https://docs.github.com/en/pull-requests/collaborating-with-pull-requests/proposing-changes-to-your-work-with-pull-requests/creating-a-pull-request#making-changes-to-files-in-your-pull-request[Make changes to files in your pull request] in the GitHub docs.
Loading
Loading