No contribution is too big or too small.
- Visit the page to edit in the NuGet documentation, then click the Edit button on the top right. This brings you to the appropriate markdown page in the repo.
- Edit the markdown:
- If you're including images (use PNGs, generally), place them in the media folder that's in the topic's folder. Links are then
media/<image_name>.png
. - Relative links to other pages in this docset should be in the form
../<folder>/<topic-file>.md
including the training.md
. If you're linking to another topic in the same folder, then../<folder>/
can be omitted. When using anchors, always remember to include the.md
before the#
. - When using external links, especially to Microsoft Learn, omit any language tag like "en-us" so that a reader in another language lands on a target page in that same language if it's available.
- If you're including images (use PNGs, generally), place them in the media folder that's in the topic's folder. Links are then
- When you're done, enter a commit message below, and click Propose file change.
- Send a pull request for your change. We review PRs on a regular basis.
- Thank you!
If you're creating a new topic, keep the following in mind as well:
-
Always place the new topic in an appropriate subfolder, and follow the conventions for filenames as you see them used here.
-
You must include a metadata block as you see on other topics. Typical defaults (such as for
ms.workload
andms.reviewer
) are set withindocs/docjx.json
, so you need only change the following:- title: The title that appears in search results. For SEO, this ideally isn't the same as the top-level # (H1) of the article.
- description: The abstract of the article that appears in search results.
- author: the author's GitHub ID, to which issues files for this article are assigned.
- ms.author: if the author is a Microsoft employee, this is the Microsoft alias. Used for reporting and forwarding feedback from other channels.
- manager: Microsoft alias of the author's manager, if applicable.
- ms.date: the date of the last revision or review of the article in mm/dd/yyyy format (use leading zeros). This is a communication to the reader about freshness, so it's not updated for minor changes, only for more significant revisions OR when the article has reverified even if there are no changes.
- ms.topic: used to categorize the article in reports. See table below. Most articles are "conceptual".
-
In addition to adding your page, edit
docs/TOC.md
to add a link to that page. -
If you're adding a top-level node to the TOC, also make an entry for it in
docs/index.md
.
ms.topic category | Description |
---|---|
conceptual | Use for any content that doesn't fall into another. This is set as the default in docfx.json. |
overview | Use for any overview or user-guide articles, typically only those that live under an "Overview" node in the TOC. |
quickstart | Anything under the "Quickstart" node in the TOC that's authored according to Quickstart guidelines. |
tutorial | Anything under the "Tutorial" node in the TOC that's authored according to Tutorial guidelines. |
reference | Any reference-type article that isn't auto-generated. |
article | Use for community-contributed content (that is, anything from outside the engineering team or the content team at Microsoft. |