-
Notifications
You must be signed in to change notification settings - Fork 453
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #1555 from mijin85cho/add_review_point_guide
Add review point guide
- Loading branch information
Showing
37 changed files
with
489 additions
and
0 deletions.
There are no files selected for viewing
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,301 @@ | ||
# Review points in Guide | ||
|
||
This page describes the review points that were often asked to be updated. | ||
|
||
When you review a guide page, check these points and get the page consistency. | ||
|
||
- [Branches](#branch) | ||
- [Headings](#headings) | ||
- [Add new page](#create) | ||
- [toc_all.md](#create_toc_all) | ||
- [overview.md](#create_overview) | ||
- [Change file name / delete the page](#change_delete) | ||
- [Change the file location](#change_move) | ||
- [Tag](#tag) | ||
- [Note tag](#tag_note) | ||
- [Code and bold](#tag_code_bold) | ||
- [Code block](#codeblock) | ||
- [Indentation of the code block](#codeblock_inden) | ||
- [Code block type](#codeblock_type) | ||
- [Consistency between code block and description](#codeblock_check) | ||
- [Hyper link](#hyperlink) | ||
- [Page in docs.tizen.org](#hyperlink_guide) | ||
- [Native or Web API](#hyperlink_not_dotnet) | ||
- [.NET API](#hyperlink_dotnet) | ||
- [Outside of docs.tizen.org](#hyperlink_out) | ||
- [Feature and privileges](#hyperlink_not_link) | ||
- [Images](#images) | ||
- [Related information](#related_info) | ||
- [Dependencies](#related_info_dependencies) | ||
|
||
<a name="branch"></a> | ||
|
||
## Branches | ||
|
||
There are several branches in tizen-docs repository. When a PR is created, check what branch the PR is targeting. Guide the author to use apposite branch according to the purpose of the PR. | ||
|
||
- **master** branch | ||
|
||
To handle the document for the latest published Tizen Platform version. The updates in this branch is to be displayed on docs.tizen.org. If document for current Tizen version needs to be updated, use this branch. | ||
- **live** branch | ||
|
||
To update the docs.tizen.org with the update on master branch. | ||
- **tizen\_\<VERSION>\_prepare** branch | ||
|
||
To prepare the next Tizen document. It holds the updates till the next Tizen version is published. When the next Tizen is published, merge this branch into master, and resolve the conflicts. | ||
|
||
<a name="headings"></a> | ||
|
||
## Headings | ||
|
||
- Follow the sentence case : | ||
|
||
**Ref. :** https://github.com/Samsung/tizen-docs/pull/1501#discussion_r723023920 | ||
|
||
- The heading uses verb or noun, but not gerund : | ||
|
||
**Example :** Use "Check points" instead of "Checking points". | ||
|
||
- Make the heading simple, and add a simple description sentence for the additional information and basic knowledge. | ||
|
||
![Simple description](./media/guide_simple_description.png) | ||
|
||
<a name="create"></a> | ||
|
||
## Add new page | ||
|
||
When a new page is added, check the **toc_all.md** and **overview** of the created page. | ||
|
||
- **Ref. :** https://github.com/Samsung/tizen-docs/pull/1504#discussion_r707019761 | ||
- **Ref. :** https://github.com/Samsung/tizen-docs/pull/1504#issuecomment-905646111 | ||
|
||
<a name="create_toc_all"></a> | ||
|
||
### toc_all.md | ||
|
||
This file is to update the LNB menu when a new pages is added. LNB of docs.tizen.org is listed as in order of `toc_all.md`. | ||
|
||
**Example :** | ||
|
||
![Update toc_all](./media/guide_update_toc.png) | ||
|
||
**Added page** : application-launcher.md | ||
|
||
As `application-launcher.md` file is added, update `toc_all.md` file to locate the page in the LNB of docs.tizen.org. | ||
|
||
Check the validation of the toc_all.md using the stg build. | ||
|
||
![Check toc](./media/guide_check_toc.png) | ||
|
||
<a name="create_overview"></a> | ||
|
||
### overview.md | ||
|
||
If a new file is added, add a simple description and a hyper link to `overview.md` of the section that the new page is included. Each `overview.md` gives simple description of sub pages and hyper links to the sub page. | ||
|
||
**Example :** | ||
|
||
![Overview](./media/guide_overview.png) | ||
|
||
If a new page is added under `/dotnet/guides/multimedia`, `/dotnet/guides/multimedia/overview.md` must be updated also. | ||
|
||
<a name="change_delete"></a> | ||
## Change file name / delete the page | ||
|
||
When a page is deleted or changed the file name, | ||
1. Check the **toc_all.md** and **overview** of the page and update the files, referencing [Add new page](#create) section. | ||
2. Search the name of deleted or renamed file and remove the **links**, to prevent the broken link. | ||
|
||
**Example :** `application/dotnet/guides/uiapplication/widget-app.md` file is linked in `application/uiapplication/nui-widget-app.md` and `application/uiapplication/overview.md` | ||
|
||
![Search file name](./media/guide_grep_file_name.png) | ||
|
||
So in case `application/dotnet/guides/uiapplication/widget-app.md` file is removed or renamed, the links in `application/uiapplication/nui-widget-app.md` and `application/uiapplication/overview.md` must be removed or updated also. | ||
|
||
Also, if a file is deleted, check the images used it the file. If there are images that are not used any more, remove the images also. | ||
|
||
<a name="change_move"></a> | ||
|
||
## Change the file location | ||
|
||
When a file is moved its location, check the links in the file. The hyper links are in relative path, so the links should be also check the path and updated. Otherwise broken links can be happen. | ||
|
||
**Example :** | ||
|
||
![Moved file](./media/guide_moved_file.png) | ||
|
||
In this PR, `/dotnet/get-started/iot/first-app.md` file is changed to `/dotnet/guides/user-interface/xamarin/iot/first-app.md`. file. So from `/dotnet/` folder, the depth required to get to `first-app.md` is changed from 4 to 6. | ||
|
||
In the `first-app.md` file, there is a link to other page, there is a link to `/vstools/install.md` file. | ||
|
||
![Moved file without link update](./media/guide_moved_with_link.png) | ||
|
||
As the link is in relative path and the folder depth of `first-app.md` file is changed, if we don't update the hyper link, it goes to the broken link `/dotnet/guides/vstools/install.md`, while it actually should goes to `/vstools/install.md`. | ||
|
||
![Broken link](./media/guide_broken_link.png) | ||
|
||
<a name="tag"></a> | ||
|
||
## Tag | ||
|
||
There are some note and font style that can be used. | ||
|
||
<a name="tag_note"></a> | ||
|
||
### Note tag | ||
Follow the [note style for tizen-docs repository](https://github.com/Samsung/tizen-docs/blob/master/styleguide/custom-style.md#alerts-note-tip-important-caution-warning). | ||
|
||
<a name="tag_code_bold"></a> | ||
|
||
### Code and bold | ||
**Ref. :** https://github.com/Samsung/tizen-docs/blob/master/styleguide/style.md#text-styling | ||
|
||
<a name="codeblock"></a> | ||
## Code block | ||
|
||
When a code block is used, check below points : | ||
|
||
- [Indentation of the code block](#codeblock_inden) | ||
- [Code block type](#codeblock_type) | ||
- [Consistency between code block and description](#codeblock_check) | ||
|
||
<a name="codeblock_inden"></a> | ||
|
||
### Indentation of the code block | ||
|
||
Check the code block layout. If the indentation is wrong, the layout doesn't array well. | ||
|
||
|Wrong indentation |Correct indentation | | ||
| ------------------------------------------------------------ | ------------------------------------------------------------ | | ||
| ![Wrong indentation](./media/guide_wrong_indentation.png) | ![Right indentation](./media/guide_right_indentation.png) | | ||
|
||
To arrange the indentation, check the spaces. | ||
|
||
|In md file|In browser| | ||
| ------------------------------------------------------------ | ------------------------------------------------------------ | | ||
|![Indentation in editor view](./media/guide_indentation_in_editor.png)|![Indentation in browser view](./media/guide_indentation_in_browser.png)| | ||
|
||
<a name="codeblock_type"></a> | ||
### Code block type | ||
|
||
Always check language identifier when a code block is used. | ||
|
||
**Ref. :** https://github.com/Samsung/tizen-docs/blob/master/styleguide/style.md#inline-code-blocks-with-language-identifier | ||
|
||
<a name="codeblock_check"></a> | ||
### Consistency between code block and description | ||
|
||
Check whether if there is a difference between the code block and the description | ||
|
||
**Ref. :** https://github.com/Samsung/tizen-docs/pull/1503#discussion_r747340097 | ||
|
||
**Example :** There is a difference as `Prefrence.Keys` in description, but `Preference.Keys` in the code block. | ||
|
||
![Check code and description](./media/guide_check_code.png) | ||
|
||
<a name="hyperlink"></a> | ||
|
||
## Hyper link | ||
There are links to other pages. Mostly the hyper links are going to below locations : | ||
- [page in docs.tizen.org](#hyperlink_guide) | ||
- API link | ||
- [Native or Web API](#hyperlink_not_dotnet) | ||
- [.NET API](#hyperlink_dotnet) | ||
- [Other page from outside of docs.tizen.org](#hyperlink_out) | ||
|
||
<a name="hyperlink_guide"></a> | ||
|
||
### Page in docs.tizen.org | ||
|
||
Relative Path is suggested. | ||
|
||
**Example :** ![Hyper link to inner page](./media/guide_page_in_github.png) | ||
|
||
<a name="hyperlink_not_dotnet"></a> | ||
### Native or Web API | ||
Use the relative path, including the "latest" symbolic link | ||
|
||
**Example :** | ||
- Native API : | ||
`../../api/<PROFILE>/latest/group__NOTIFICATION__MODULE.html` | ||
- Web API : | ||
`../../api/latest/device_api/<PROFILE>/tizen/feedback.html#FeedbackPattern` | ||
|
||
![Api link in native and web](./media/guide_api_linke_native_web.png) | ||
|
||
This symbolic link should be checked on stg build of each PR, as it doesn't work on github preview. | ||
|
||
<a name="hyperlink_dotnet"></a> | ||
### .NET API | ||
|
||
Use the /application/dotnet/api/TizenFX/latest/api/... form, including the "latest" symbolic link. | ||
|
||
**Example :** ![API link in dotnet](./media/guide_api_link_dotnet.png) | ||
|
||
This link should checked on stg build of each PR, as it doesn't work on github preview. | ||
|
||
<a name="hyperlink_out"></a> | ||
|
||
### Outside of docs.tizen.org | ||
Check whether if the link is not broken. | ||
|
||
<a name="hyperlink_not_link"></a> | ||
|
||
### Feature and privileges | ||
|
||
![image-20211124113834841](./media/guide_not_hyperlink.png) | ||
|
||
Tizen features and privileges looks like a kind of URL, but not. As they are easy to be confused as a URL, always use code tag to features and privileges to prevent the hyper link. | ||
|
||
<a name="images"></a> | ||
|
||
|
||
## Images | ||
|
||
When an image is inserted, please check if the image is not broken. | ||
|
||
Also, check the image itself so not to include the author's personal information. | ||
|
||
**Example :** In the path of the project or in the login UI, user name must not be included. | ||
|
||
![No personal information in image](./media/guide_no_personal_info.png) ![Hidden personal information in image](./media/guide_hidden_personal_info.png) | ||
|
||
If an image is not used any more, delete the image for the maintenance. | ||
|
||
<a name="related_info"></a> | ||
|
||
## Related information | ||
Related information section is to list up the additional link that user can read more, and Dependencies section that shows the least support version of Tizen. This section is used in guide and Tizen Studio pages. | ||
|
||
<a name="related_info_dependencies"></a> | ||
|
||
### Dependencies | ||
|
||
This section shows **the least support Tizen Platform version**. | ||
|
||
- .NET guides | ||
|
||
.Net guide doesn't require profile, so only 1 line is needed. | ||
|
||
- Tizen X.X and Higher | ||
|
||
**Example :** | ||
|
||
![Dependencies in .NET](./media/guide_dotnet_dependencies.png) | ||
- Native / Web guides | ||
|
||
There are 2 profiles, Mobile and Wearable. So 2 lines are needed. | ||
|
||
- Tizen X.X and Higher for Mobile | ||
|
||
- Tizen X.X and Higher for Wearable | ||
|
||
**Example :** | ||
|
||
![Dependencies in Native and Web](./media/guide_native_web_dependencies.png) | ||
|
||
When only one profile is needed, listing that profile only is enough. | ||
|
||
**Example :** | ||
|
||
![One profile in dependencies](./media/guide_one_profile.png) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,87 @@ | ||
# Review points in Release Notes | ||
|
||
This page describes the review points that were often asked to be updated. | ||
|
||
When you review a release note page, check these points and get the page consistency. | ||
|
||
There are two release notes, release note for Tizen studio, and release note for Tizen Platform. | ||
|
||
- [Tizen Studio](#studio) | ||
- [Release date](#studio_date) | ||
- [Tone](#studio_tone) | ||
- [toc_all.md](#studio_toc) | ||
- [Tizen Platform](#tizen) | ||
- [Release date](#tizen_date) | ||
- [Tone](#tizen_tone) | ||
- [Release Details](#tizen_detail) | ||
|
||
|
||
<a name="studio"></a> | ||
## Tizen Studio | ||
|
||
To add release note for Tizen Studio, 3 files must be added and updated. | ||
|
||
- Added : Release note for new version | ||
- Updated : | ||
- toc_all.md | ||
- /tizen-studio/release-notes/release-notes.md | ||
|
||
**Ref. :** https://github.com/Samsung/tizen-docs/pull/1523 | ||
|
||
<a name="studio_date"></a> | ||
|
||
### Release date | ||
|
||
Use the actual date. When the release date is changed during the review, update it. | ||
|
||
<a name="studio_tone"></a> | ||
|
||
### Tone | ||
|
||
Use "has been pp". | ||
|
||
<a name="studio_toc"></a> | ||
|
||
### toc_all.md | ||
|
||
Use the same release date that is written in the release note. | ||
|
||
|In release note|In toc_all.md| | ||
|---|---| | ||
|![Release date in md](./media/release_date_md.png)|![Release date in toc](./media/release_date_toc.png)| | ||
|
||
<a name="tizen"></a> | ||
|
||
## Tizen Platform | ||
|
||
To add release note for Tizen platform, 2 files are needed to be added and updated. | ||
|
||
- Added : Release note for new version | ||
- Updated : toc_all.md | ||
|
||
**Ref. :** https://github.com/Samsung/tizen-docs/pull/1517 | ||
|
||
<a name="tizen_date"></a> | ||
|
||
### Release date | ||
|
||
Use the actual date. When the release date is changed during the review, update it. | ||
|
||
<a name="tizen_tone"></a> | ||
### Tone | ||
|
||
Use "has been pp". | ||
|
||
<a name="tizen_detail"></a> | ||
|
||
### Release Details | ||
|
||
Tizen Platform release note has 2 big sections. One is **Release Notes** and the other is **Release Details**. | ||
|
||
In **Release Notes** the updated history is listed up. In **Release Details** the download link for the binaries are listed up. | ||
|
||
As the download links are created after approval of Tizen Platform, during the review the links often not be created yet. | ||
|
||
Skip the **Release details** section during the review, and add that section when download links are created after the platform approval. | ||
|
||
**Ref. :** https://github.com/Samsung/tizen-docs/pull/1547 |
Oops, something went wrong.