1
0
mirror of synced 2025-12-25 02:17:36 -05:00

Make sure there is a blank line above and below headings (#37922)

This commit is contained in:
Grace Park
2023-06-26 13:24:44 -07:00
committed by GitHub
parent 6b51cec1f9
commit 32af69c277
347 changed files with 1236 additions and 5 deletions

View File

@@ -13,6 +13,7 @@ redirect_from:
{% endif %}
## Finding discussions
{% ifversion global-nav-update %}
1. In the top-left corner of {% data variables.location.product_location %}, select {% octicon "three-bars" aria-label="Open global navigation menu" %}, then click {% octicon "comment-discussion" aria-hidden="true" %} **Discussions**.

View File

@@ -47,7 +47,9 @@ Each category must have a unique name and emoji pairing, and can be accompanied
1. Click **Create**.
{% ifversion discussions-category-section %}
## Creating a section
1. On {% data variables.location.product_location %}, navigate to the main page of the repository or organization where you want to create a category.
{% data reusables.discussions.discussions-tab %}
{% data reusables.discussions.edit-categories %}
@@ -72,6 +74,7 @@ You can edit a category to change the category's emoji, title, description, and
1. Click **Save changes**.
{% ifversion discussions-category-section %}
## Editing a section
You can edit a section to change the section's emoji and title, and to add and remove categories from the section.
@@ -97,6 +100,7 @@ When you delete a category, {% data variables.product.product_name %} will move
1. Click **Delete & Move**.
{% ifversion discussions-category-section %}
## Deleting a section
When you delete a section, all categories within the section will no longer belong to a section.

View File

@@ -54,6 +54,7 @@ This is what it looks like when you have a globally pinned discussion and a disc
![Screenshot of a globally pinned discussion and a discussion pinned to the Ideas category.](/assets/images/help/discussions/overview-pinned-discussions.png)
### Pinning a discussion globally
{% endif %}
You can pin up to four important discussions above the list of discussions for the repository or organization.
@@ -72,6 +73,7 @@ You can pin up to four important discussions above the list of discussions for t
1. Click **Pin discussion**.
{% ifversion discussions-category-specific-pins %}
### Pinning a discussion to a category
You can pin up to four important discussions above the list of discussions in a specific category.
@@ -120,6 +122,7 @@ You can unpin a globally pinned discussion. This will not delete the discussion,
1. Read the warning, then click **Unpin discussion**.
{% ifversion discussions-category-specific-pins %}
### Unpinning a discussion from a category
You can unpin a discussion pinned to a specific category. This will not delete the discussion, but the discussion will no longer be displayed at the top of the category.
@@ -164,6 +167,7 @@ To transfer a discussion, you must have permissions to create discussions in the
1. Read the warning, then click **Delete this discussion**.
{% ifversion discussions-closable %}
## Closing a discussion
{% data reusables.discussions.closing-discussions %}
@@ -177,6 +181,7 @@ To transfer a discussion, you must have permissions to create discussions in the
{% endif %}
{% ifversion converting-issues-to-discussions %}
## Converting issues based on labels
You can convert all issues with the same label to discussions in bulk. Future issues with this label will also automatically convert to the discussion and category you configure.

View File

@@ -40,6 +40,7 @@ It's appropriate to lock a conversation when the entire conversation is not cons
1. When you're ready to unlock the conversation, click **Unlock conversation** in the right margin of a discussion, then click **Unlock conversation**.
{% ifversion converting-issues-to-discussions %}
## Converting an issue to a discussion
When you convert an issue to a discussion, the discussion is automatically created using the content from the issue. People with write access to a repository, or source repository for organization discussions, can bulk convert issues based on labels. For more information, see "[AUTOTITLE](/discussions/managing-discussions-for-your-community/managing-discussions)."
@@ -53,6 +54,7 @@ When you convert an issue to a discussion, the discussion is automatically creat
{% endif %}
{% ifversion discussions-hide-comments-on-block %}
## Blocking a user from your organization
Organization owners and moderators can block a user from the organization if their comments don't align with the community's code of conduct. When you block a user, they will no longer be able to comment on discussions. You can also hide all of the comments a user has made in the organization. For more information, see "[AUTOTITLE](/communities/maintaining-your-safety-on-github/blocking-a-user-from-your-organization)."