Skip to content

Commit 4f5063d

Browse files
Sofie Toft Kristensengitbook-bot
authored andcommitted
GITBOOK-20: Cleaning up Docs Contrib docs incl. added missing info
1 parent b66b7d6 commit 4f5063d

File tree

12 files changed

+409
-306
lines changed

12 files changed

+409
-306
lines changed
74.5 KB
Loading
16 KB
Loading
8.73 KB
Loading

contributing/SUMMARY.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,14 +8,14 @@
88

99
## Documentation
1010

11-
* [How to contribute](documentation/getting-started/README.md)
11+
* [How to Contribute](documentation/getting-started/README.md)
1212
* [Submit a Pull Request](documentation/getting-started/pull-request.md)
1313
* [Submit Feedback](documentation/getting-started/issues.md)
14-
* [Create a new version of an article](documentation/getting-started/how-to-add-a-new-version.md)
14+
* [Create a New Version of an Article](documentation/getting-started/how-to-add-a-new-version.md)
1515
* [Style Guide](documentation/style-guide/README.md)
1616
* [Markdown Conventions](documentation/style-guide/markdown-conventions.md)
1717
* [Code Samples](documentation/style-guide/code-samples.md)
18-
* [Structure](documentation/style-guide/structure.md)
18+
* [File Names and Structure](documentation/style-guide/structure.md)
1919
* [UmbracoDocs on GitHub](https://github.com/umbraco/UmbracoDocs)
2020

2121
## Umbraco-CMS
Lines changed: 44 additions & 38 deletions
Original file line numberDiff line numberDiff line change
@@ -1,70 +1,76 @@
11
---
22
description: >-
3-
Whether you've found a broken link or want to add a new article to the Umbraco
4-
documentation, this article will guide you on your way.
3+
Whether you've found a broken link or want to add a new article, this guide
4+
will help you contribute to the Umbraco documentation.
55
---
66

7-
# How to contribute
7+
# How to Contribute
88

9-
The Umbraco Documentation is presented here on [GitBook](https://docs.umbraco.com), however, it is also a [GitHub repository](https://github.com/umbraco/UmbracoDocs) and is as open source as the [Umbraco CMS](https://github.com/umbraco/Umbraco-CMS).
9+
The Umbraco Documentation is presented here on [GitBook](https://docs.umbraco.com). The documentation is also available as a [GitHub repository](https://github.com/umbraco/UmbracoDocs) and is open-source, just like the [Umbraco CMS](https://github.com/umbraco/Umbraco-CMS).
1010

11-
You can contribute to the documentation if something is missing or outdated. **You will need a GitHub account and a fork of the UmbracoDocs GitHub repository**.
11+
You can contribute to the documentation if something is missing or outdated. **A GitHub account and a fork of the UmbracoDocs GitHub repository are required**.
1212

13-
## How to get started
13+
## How to Get Started
1414

1515
There are many ways in which you can contribute to the Umbraco Documentation. The approach you choose to take depends on what you want to achieve with your contribution.
1616

17-
* Request a quick/minor change to an article by submitting a [Pull Request](pull-request.md#option-1-creating-a-pr-directly-on-github)
18-
* Submit a more extensive update/change by [forking the Documentation repository](pull-request.md#options-2-creating-a-pr-through-a-fork)
19-
* Raise a question, start a discussion, or report an issue on the [Issue Tracker](issues.md)
20-
* Help improve the readability of the documentation by verifying articles against our [Style Guide](../style-guide/#test-the-docs-yourself).
17+
* Request a quick/minor change to an article by submitting a [Pull Request](pull-request.md#option-1-creating-a-pr-directly-on-github).
18+
* Submit a more extensive update or change by [forking the Documentation repository](pull-request.md#options-2-creating-a-pr-through-a-fork).
19+
* Raise a question, start a discussion, or report an issue on the [Issue Tracker](issues.md).
20+
* Help improve the readability of the documentation by verifying articles against our [Style Guide](../style-guide/#test-the-documentation-yourself).
2121

2222
## [Style guide](../style-guide/)
2323

24-
We have a few guidelines to follow when writing documentation and we have some tools you can use for it.
24+
Consistency and readability are important when writing and reading documentation. When you contribute, follow the style guidelines and rules outlined in the Style Guide.
2525

26-
## [Format, naming conventions, and files](../style-guide/markdown-conventions.md)
26+
## [Markdown and formatting](../style-guide/markdown-conventions.md)
2727

28-
The Umbraco Documentation is written using the MarkDown markup language. We have put together [an article where you can learn more about MarkDown](../style-guide/markdown-conventions.md).
28+
The Umbraco Documentation is written using the Markdown markup language.
2929

30-
## [File structure](../style-guide/structure.md)
30+
## [File names and structure](../style-guide/structure.md)
3131

3232
Learn how we structure and name files in the Umbraco documentation.
3333

3434
## Writing documentation locally
3535

36-
We recommend using a text editor like Visual Studio Code for making changes to the documentation on your local machine. We do not recommend using an Integrated Development Environment (IDE) like Visual Studio, for making changes to the documentation on your local machine. This is because the IDE may create files in the project which are not needed for the document changes to be implemented.
36+
Use a text editor like Visual Studio Code to make changes to the documentation locally. Although it is possible, it is not recommended to use an Integrated Development Environment (IDE) like Visual Studio for making changes to the documentation on your local machine. This is because the IDE may create files in the project that are not needed for the document changes to be implemented.
3737

3838
## Multi-version documentation
3939

40-
Whenever a new version of an Umbraco product is released, the previous way of doing things may change. This means that there need to be multiple versions of our documentation.
40+
Whenever a new version of an Umbraco product is released, the previous way of doing things may change. This means that multiple versions of our documentation must exist.
4141

42-
We do this by keeping documentation for each version in separate folders.
42+
Versioning is done via the file structure, where all versioned products are located under a folder named by the major version of Umbraco.
4343

44-
<figure><img src="../../../generic/.gitbook/assets/repository-folder-structure.png" alt=""><figcaption><p>And overview of the file structure in the UmbracoDocs GitHub repository.</p></figcaption></figure>
44+
For example, version folders such as '10' and '11' contain documentation specific to those product versions.
4545

46-
In the screenshot above, two versions are available: 10 and 11. Within each of these folders is the documentation for all the versioned products: Umbraco Forms, Umbraco Deploy, Umbraco Workflow, and Umbraco CMS.
46+
<figure><img src="../../../generic/.gitbook/assets/repository-folder-structure.png" alt=""><figcaption><p>An overview of the file structure in the UmbracoDocs GitHub repository.</p></figcaption></figure>
4747

48-
Umbraco Cloud and Umbraco Heartcore are not following the same versioning, which is why they are separate from this structure.
48+
Umbraco Cloud and Umbraco Heartcore are not documented by version, which is why they are separate from this structure.
4949

50-
Learn more about how we handle the multiple version of our documentation in the [documenting multiple versions and products](https://docs.umbraco.com/welcome/documentation-and-versions) article.
50+
Learn more about how versioning is managed in the [Documenting multiple versions and products ](https://docs.umbraco.com/welcome/documentation-and-versions)article.
5151

5252
## Labels
5353

54-
On both Issues and Pull Requests we use labels to categorize the requests and submissions.
55-
56-
Here's a quick explanation of the labels (colors) we use:
57-
58-
* **Category** (e.g. `category/missing-documentation`, `category/umbraco-cloud`, `category/pending-release`)
59-
* **Community** (e.g. `community/pr`, `help wanted`)
60-
* **State** (e.g. `state/hq-discussion`)
61-
* **Status** (e.g. `status/awaiting-feedback`, `status/idea`)
62-
* **Type** (e.g. `type/bug`)
63-
64-
Labels will be added to your Pull Request or Issue once it has been reviewed.
65-
66-
## Contribution badge
67-
68-
If your Pull Request to any Umbraco repository gets merged, you will receive a Contributor badge on your profile on [Our Umbraco](https://our.umbraco.com):
69-
70-
![Contributor badge on Our](../images/c-trib-badge.png)
54+
On both Issues and Pull Requests, labels are used to categorize the requests and submissions.
55+
56+
Here's a quick explanation of the labels (colors):
57+
58+
* **Category**&#x20;
59+
* &#x20;`category/missing-documentation`
60+
* `category/umbraco-cloud`
61+
* &#x20;`category/pending-release`
62+
* **Community**
63+
* &#x20;`community/pr`&#x20;
64+
* `help wanted`
65+
* **State**
66+
* `state/hq-discussion`
67+
* **Status**&#x20;
68+
* `status/awaiting-feedback`
69+
* &#x20;`status/idea`
70+
* **Type**&#x20;
71+
* `type/bug`
72+
* **Internal Review**&#x20;
73+
* `review/docsteam`&#x20;
74+
* `review/developer`
75+
76+
Labels are added during the initial review of your pull request or issue.

contributing/documentation/getting-started/how-to-add-a-new-version.md

Lines changed: 26 additions & 65 deletions
Original file line numberDiff line numberDiff line change
@@ -4,23 +4,23 @@ description: >-
44
including updated material for upcoming releases.
55
---
66

7-
# Create a new version of an article
7+
# Create a New Version of an Article
88

9-
There are 2 scenarios for when you are looking to add a new article to the Umbraco Documentation.
9+
There are 2 common scenarios where you might want to add a new article to the Umbraco Documentation:
1010

1111
1. You are [adding new material](how-to-add-a-new-version.md#add-new-material-to-the-documentation) to the documentation site.
12-
1. This includes not-before-documented topics and new tutorials.
13-
2. You are updating [an article for an **Upcoming major version**](how-to-add-a-new-version.md#update-an-article-for-an-upcoming-major-version).
12+
1. This includes topics or tutorials not previously covered..
13+
2. You are updating [an existing article for an **Upcoming major version**](how-to-add-a-new-version.md#update-an-article-for-an-upcoming-major-version) of a product.
1414

15-
## Add new material to the documentation
15+
## Add New Material to the Documentation
1616

1717
When you are adding a brand new article to the Umbraco Documentation, there are a few questions that we recommend asking yourself before getting started:
1818

1919
<details>
2020

2121
<summary>What type of article are you going to be writing?</summary>
2222

23-
It could be a tutorial, a guide on how to solve something specific, or it could be an article detailing a specific concept or workflow.
23+
It could be a tutorial, a guide on how to solve something specific, or an article detailing a specific concept or workflow.
2424

2525
The type of article you are writing will determine the content and sometimes also the structure of the material.
2626

@@ -42,28 +42,29 @@ Knowing your audience will enable you to write in a manner that fits that partic
4242

4343
Depending on which product you are adding new material for, the structure of the existing documentation will differ. We recommend browsing the existing material to figure out which section will be the best fit for your new article.
4444

45-
If you have doubts about where to place your article, the documentation team at Umbraco HQ can help you out. In this case, add a note in the description when submitting the PR, letting us know that you need help placing the article.
45+
If you have doubts about where to place your article, the team at Umbraco HQ can help you out. In this case, add a note in the description when submitting the PR, letting us know that you need help placing the article.
4646

4747
</details>
4848

49-
The steps to create, write, and add a brand new article to the Umbraco Documentation are outlined below:
49+
The steps to create, write, and add a new article to the Umbraco Documentation are outlined below:
5050

5151
1. Access the [UmbracoDocs GitHub](https://github.com/umbraco/UmbracoDocs) repository.
5252
2. Fork the repository.
5353
3. Clone your fork to your local machine.
5454
4. Create a new branch using the following naming convention: `productname/topic`
5555
* Branch name example: `cms/new-content-app-tutorial`
56-
5. Locate the section/folder in the existing structure, where your article fits.
57-
6. Create a new `.md` file and name it identical to the title you will give the article.
58-
* The file name needs to be all small caps and use hyphens instead of spaces.
56+
5. Locate the section or folder in the existing structure where your article fits.
57+
6. Create a new `.md` file and name it using the title you will give the article.
58+
* The file name needs to be in small caps and use hyphens instead of spaces.
5959
* File name example: `statistics-content-app-tutorial.md`.
60-
7. Write the article.
61-
8. Ensure the article lives up to our [Style Guide](../style-guide/) and follows the outlined [Markdown Conventions](../style-guide/markdown-conventions.md).
62-
9. Add a link to the new article in the [`SUMMARY.md`](#user-content-fn-2)[^2] file.
60+
7. Write the article following:
61+
1. [Umbraco Style Guide](../style-guide/)&#x20;
62+
2. [Markdown Conventions](../style-guide/markdown-conventions.md).
63+
8. Add your new article to the [`SUMMARY.md`](#user-content-fn-2)[^2] file so it appears in the documentation navigation.
64+
9. Commit and push your changes to your forked repository.
65+
10. [Submit a PR to the official UmbracoDocs repository](pull-request.md).
6366

64-
Once you have completed the article, submit the branch to your UmbracoDocs fork and [submit a PR to the official UmbracoDocs repository](pull-request.md).
65-
66-
## Update an article for an upcoming major version
67+
## Update an Article for an Upcoming Major Version
6768

6869
The documentation is versioned using directories in the root of the repository. The **major** Umbraco CMS version number is used to name the directories, and you will find documentation for each versioned Umbraco product within them.
6970

@@ -73,27 +74,22 @@ The documentation follows the Long Term Support (LTS) strategy for Umbraco CMS.
7374
Read the [Versioning Strategy](https://docs.umbraco.com/welcome/documentation-and-versions) article to learn more about how to handle documentation for the different versions.
7475
{% endhint %}
7576

76-
The following sections of the Umbraco Documentation are following the versioning strategy:
77+
The following sections of the Umbraco Documentation follow the versioning strategy:
7778

7879
* Umbraco CMS
7980
* Umbraco Forms
8081
* Umbraco Deploy
8182
* Umbraco Workflow
8283
* Umbraco Commerce
8384
* Umbraco UI Builder
84-
85-
The documentation site for an upcoming major version of any of our products will be publicly available with the Release Candidate (RC). At Umbraco HQ we will typically start working with the site 3-4 weeks before, setting up the structure on GitHub.
86-
87-
Once the RC is released, you can find the associated documentation using the version drop-down on the Documentation site.
85+
* Umbraco Engage
8886

8987
{% hint style="info" %}
90-
Only updated and new material for the upcoming release will be available on the published RC documentation on GitBook. This will occur during the RC phase.
91-
92-
All articles will still be available through the UmbracoDocs GitHub repository.
93-
94-
When the final version is released, all the documentation will again be available for that version in the published documentation.
88+
The documentation site for a new major version is publicly available around the Release Candidate (RC) phase. The structure is set up typically 3-4 weeks before the final release.
9589
{% endhint %}
9690

91+
Once the RC is released, you can find the associated documentation using the version drop-down on the Documentation site.
92+
9793
### Update an article for the upcoming release
9894

9995
1. Access the [UmbracoDocs GitHub](https://github.com/umbraco/UmbracoDocs) repository.
@@ -103,45 +99,10 @@ When the final version is released, all the documentation will again be availabl
10399
* Branch name example: `cms15/configuration`
104100
5. Locate the article you need to make changes to.
105101
6. Make the necessary changes to the article.
106-
107-
After making the changes to the article(s), it needs to be added to the `SUMMARY.md` file to be published on the documentation site.
108-
109-
Follow the steps below to add the article to the [first available `SUMMARY.md` file](#user-content-fn-3)[^3] by looking upwards in the file structure.
110-
111-
1. Locate the article in the [`SUMMARY.md` file for version 14](how-to-add-a-new-version.md#links-to-summary-files-for-version-14).
112-
2. Copy the line along with any ancestors.
113-
1. Siblings to the current and any ancestors should be left out unless they have also been updated.
114-
2. See the image below for an example of what to include.
115-
116-
<figure><img src="../../../generic/.gitbook/assets/image.png" alt=""><figcaption></figcaption></figure>
117-
118-
3. Merge what you have copied with the existing structure in the `SUMMARY.md` file for version 15.
119-
1. You might experience that the article is already there. In this case you do not need to do anything further.
120-
121-
With the article(s) added to the `SUMMARY.md` file, the final steps involve creating a Pull Request.
122-
123-
1. Add and commit the changes.
124-
2. Submit the branch to your UmbracoDocs fork.
125-
3. [Submit a PR to the official UmbracoDocs repository](https://docs.umbraco.com/welcome/contribute/pull-request#step-2-creating-a-pull-request).
126-
127-
<details>
128-
129-
<summary>Links to SUMMARY files for version 14</summary>
130-
131-
[Umbraco CMS](../../../14/umbraco-cms/SUMMARY.md)
132-
133-
[Umbraco Forms](../../../14/umbraco-forms/SUMMARY.md)
134-
135-
[Umbraco Deploy](../../../14/umbraco-deploy/SUMMARY.md)
136-
137-
[Umbraco Workflow](../../../14/umbraco-workflow/SUMMARY.md)
138-
139-
[Umbraco Commerce](../../../14/umbraco-commerce/SUMMARY.md)
140-
141-
</details>
102+
7. Add and commit the changes.
103+
8. Push the branch to your forked repository.
104+
9. [Submit a PR to the official UmbracoDocs repository](https://docs.umbraco.com/welcome/contribute/pull-request#step-2-creating-a-pull-request).
142105

143106
[^1]: Code samples with comments are great for C# developers, while screenshots and step-by-step lists are good for new Umbraco developers.
144107

145108
[^2]: Only articles that are added to the `SUMMARY.md` file will be visible on the published documentation site.
146-
147-
[^3]: This `SUMMARY.md` file defines the navigation structure for the documentation site for which you are currently adding an article. If the file is not added here, it will not appear in the published documentation.

0 commit comments

Comments
 (0)