You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: content/getting-started/contribution/dnn-docs/how-to-edit-an-article/index.md
+15-14Lines changed: 15 additions & 14 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -57,38 +57,39 @@ Now that you've gotten DNN Docs running locally (congrats BTW!) we will talk thr
57
57
58
58
9. Use ```git commit -m [INSERT YOUR COMMIT MESSAGE HERE]``` to commit your files. The ```-m``` stands for "message". Replace the *INSERT YOUR COMMIT MESSAGE HERE* text with brief and relevant text summarizing your commit
59
59
10. Use ```git push origin [INSERT A NEW BRANCH NAME HERE]``` to push your updated files to your remote repo (on Github with name ```origin```). Replace the *INSERT A NEW BRANCH NAME HERE* with the name of your new branch. In this example ```issue-107```
60
-
Go to step 11. below.
60
+
11. Go to your forked GitHub repo on GitHub.com. GitHub should detect the updated code and prompt you to make a pull request.
61
+

62
+
63
+
12. Create a Pull Request on Github.com by clicking the "Compare and Create Pull Request" button. In the description/comments section be sure to include the text "Resolves ```#[INSERT ISSUE NUMBER HERE]``` where your previously created issue number is associated with this pull request.
## Steps to Edit an Article & Create a Pull Request using Visual Studio
64
70
1. Cloning the repository from Visual Studio, as described on [Get DNN Docs Running Locally page](xref:get-dnn-docs-running-locally), has forked the [DNN Docs Repo](https://github.com/DNNCommunity/DNNDocs) into your own Repo on Github.
65
-
2. Step 'Set your remote repositories' is (at this moment) not necessary.
66
-
3. Create an [Issue](https://github.com/DNNCommunity/DNNDocs/issues) on GitHub that corresponds with the edit you're working on by clicking the "New Issue" button in the browser. Be sure to include relevant information providing context to the issue in the description/comment section. This helps reviewers understand what you're working on.
71
+
2. Create an [Issue](https://github.com/DNNCommunity/DNNDocs/issues) on GitHub that corresponds with the edit you're working on by clicking the "New Issue" button in the browser. Be sure to include relevant information providing context to the issue in the description/comment section. This helps reviewers understand what you're working on.
67
72
68
73
Make note of the issue number that GitHub generates.
4. Create a new branch for your work using Visual Studio menu item 'Git...New Branch..'
76
+
3. Create a new branch for your work using Visual Studio menu item 'Git...New Branch..'
72
77

73
78
For more elaborate instructions on how to create a new branch in Visual Studio see https://learn.microsoft.com/en-us/visualstudio/version-control/git-create-branch?view=visualstudio.
74
-
5. Make your edits
75
-
6. & 7. & 8. Preview your work and files locally using the 'Git Changes' tab in Visual Studio.
79
+
4. Make your edits
80
+
5. Preview your work and files locally using the 'Git Changes' tab in Visual Studio.
76
81

77
-
9. & 10. Commit the changed and added files by clicking 'Commit All and Push'.
82
+
6. Commit the changed and added files by clicking 'Commit All and Push'.
78
83

79
-
80
-
81
-
82
-
## Common Steps to Edit an Article & Create a Pull Request (for both Git and Visual Studio)
83
-
11. Go to your forked GitHub repo on GitHub.com. GitHub should detect the updated code and prompt you to make a pull request.
84
+
7. Go to your forked GitHub repo on GitHub.com. GitHub should detect the updated code and prompt you to make a pull request.
84
85

85
86
86
-
12. Create a Pull Request on Github.com by clicking the "Compare and Create Pull Request" button. In the description/comments section be sure to include the text "Resolves ```#[INSERT ISSUE NUMBER HERE]``` where your previously created issue number is associated with this pull request.
87
+
8. Create a Pull Request on Github.com by clicking the "Compare and Create Pull Request" button. In the description/comments section be sure to include the text "Resolves ```#[INSERT ISSUE NUMBER HERE]``` where your previously created issue number is associated with this pull request.
0 commit comments