зеркало из https://github.com/github/docs.git
Guidelines for adding new doc sets to the homepage (#33931)
This commit is contained in:
Родитель
2fd94e6759
Коммит
d6a3505ddf
|
@ -19,17 +19,46 @@ Consistency helps people form mental models of the documentation and understand
|
|||
|
||||
Docs are organized into multiple levels of hierarchy on our site:
|
||||
|
||||
Top-level doc set
|
||||
- Categories
|
||||
- Map topics
|
||||
- Articles
|
||||
- Top-level doc set
|
||||
- Categories
|
||||
- Map topics
|
||||
- Articles
|
||||
|
||||
### Homepage content
|
||||
|
||||
The GitHub Docs homepage, [docs.github.com](https://docs.github.com/), highlights the most important topics that people want to find. We limit the number of doc sets on the homepage so that people can find information and the homepage does not become overcrowded and difficult to search.
|
||||
|
||||
The homepage includes all top-level doc sets and some categories. Content on the homepage is organized around GitHub concepts and practices. For example, the "CI/CD and DevOps" group includes top-level doc sets for GitHub Actions, GitHub Packages, and GitHub Pages.
|
||||
|
||||
#### Adding a doc set to the homepage
|
||||
|
||||
The goal of the homepage is to help people find information about the GitHub feature or product that they want to learn about. Every item on the homepage dilutes the discoverability of every other item, so we limit the number of doc sets included on the homepage.
|
||||
|
||||
If a new top-level doc set is created, it is added to the homepage.
|
||||
|
||||
If a category serves as the starting point for using a GitHub product or feature, it can be added to the homepage.
|
||||
|
||||
For example, under the "Security" grouping on the homepage, in addition to the "[Code security](https://docs.github.com/en/code-security)" top-level doc set, the "[Supply chain security](https://docs.github.com/en/code-security/supply-chain-security)," "[Security advisories](https://docs.github.com/en/code-security/security-advisories)," "[Dependabot](https://docs.github.com/en/code-security/dependabot)," "[Code scanning](https://docs.github.com/en/code-security/code-scanning)," and "[Secret scanning](https://docs.github.com/en/code-security/secret-scanning)" categories are included because each of those categories are the entry point to GitHub products and features. "[Security overview](https://docs.github.com/en/code-security/security-overview)" is not included on the homepage because it provides additional information for using code security products and is not an introduction to a product or feature.
|
||||
|
||||
### Top-level doc set
|
||||
|
||||
Top-level doc sets are organized around a GitHub product, feature, or core workflow. All top-level doc sets appear on the Docs homepage. You should only create a top-level doc set when there is a large amount of content to be contained in the new doc set, multiple categories that are broken down into map topics, and the topic applies across products, features, or account types. If the content could fit in any existing top-level doc set, it probably belongs in that existing doc set.
|
||||
- Top-level doc sets are of roughly equal importance to one another (each is centered on a GitHub product or major feature)
|
||||
- Most top-level doc sets have a landing page layout, unless there is a significant exception. For example, the "[Site policy](https://docs.github.com/en/site-policy)" doc set does not have guides or procedural articles like other doc sets, so it does not use a landing page layout.
|
||||
|
||||
#### Titles for top-level doc sets
|
||||
- Feature or product based.
|
||||
- Describes what part of GitHub someone is using.
|
||||
- Examples
|
||||
- [Organizations](https://docs.github.com/en/organizations)
|
||||
- [GitHub Issues](https://docs.github.com/en/issues)
|
||||
|
||||
### Category
|
||||
|
||||
Categories are usually organized around a feature or a discrete set of tasks within a top-level doc set, aligning with product themes. A category's subject isn't so broad that its contents are hard to manage or the category grows too large to use.
|
||||
Categories are usually organized around a feature or a discrete set of tasks within a top-level doc set, aligning with product themes. A category's subject isn't so broad that its contents are hard to manage or the category grows too large to use. Some categories appear on the Docs homepage.
|
||||
- Categories often start small and grow with the product.
|
||||
- Large categories may contain map topics to subdivide content around more specific user journeys or tasks.
|
||||
- Use long procedural articles to group related chunks of content and keep articles within the category streamlined.
|
||||
- Use long procedural articles to group related chunks of content and keep articles within the category streamlined.
|
||||
- When categories have more than ten articles, consider breaking the content into map topics or additional categories, unless there's a reason to keep all of the content together.
|
||||
|
||||
#### Titles for categories
|
||||
|
|
Загрузка…
Ссылка в новой задаче