The path towards better documentation
docs.nuget.org is the authoritative guide on everything NuGet. It is used as reference by nearly 180k developers with over 500k page views a month. Summary of the most consistent feedback we heard is given below:
- The grouping is not intuitive and makes it difficult to find the right document.
- Figuring out the end to end steps to build packages for new platforms is hard.
- Lack of indexing and cross referencing makes it difficult navigate between samples, reference docs and release notes.
- Some items only appear in release notes and blogs, but do not appear in the final docs.
In this post, we are going to talk about the changes we recently made based on your feedback, and plans going forward.
Before diving into details, we would like to thank a number of people who have helped us review and give feedback on these changes or inspired us to write new guides. Some of them have written a number of blog posts and tools that has significantly helped the community in understanding various package authoring techniques, NuGet concepts and APIs. There are many more who provided feedback through issues, tweets and other channels.
- Oren Novotny (@onovotny)
- Dave Glick (@daveaglick)
- Paul Betts (@xpaulbettsx)
- Ryan Davis (@rdavis_au)
- Nicholas Blumhardt (@nblumhardt)
- Stephen Cleary (@aSteveCleary)
What did we change?
We have revamped the NuGet docs experience and we have a preview for you to try out. NuGet Docs Preview addresses the majority of feedback from the community. Just to be clear, we are not replacing docs.nuget.org just yet.
We have made several improvements including:
- New quick-starts for creating and consuming packages.
- End to end guides for new platforms such as .NET Standard and UWP.
- A simpler and more intuitive organization of topics.
- Left pane of contents serves as an index and allows you to glance at all topics.
- Cross-references with links to recommended reading, related topics and reference docs.
- And finally, a modern look and feel to the docs site.
How are the new docs organized?
- Quickstarts – These are very basic guides for both authors and consumers to get started
- Guides – The idea here is to give you everything you need to know to execute a scenario end to end. Some of the key guides we have built are:
- Installing NuGet
- Creating a UWPpackage
- Creating a .NET Standard package
- Creating a Bait and switch package
- Creating, Consuming and Hosting packages
- Tools, Schema, API and Visual Studio Extensibility – Reference documentation
- Policies – FAQs, Governance, and the policy around Dispute resolution and Deleting packages
- Contribute guidance has been moved to the Nuget/Home wiki on Github
Will my existing references break?
No, existing references will not break. When we update docs.nuget.org, we’ll have permanent redirects in place that will redirect you to the new page.
How can I Contribute?
We made the contribution link a lot more obvious. Every page that allows contribution has a “Edit in Github” link right at the top. This link will you take you to the md file. Feel free to make changes and create a PR from your branch. The NuGet team will review the change and work with you to get it in.
If you would like to raise a request for new docs or changes to existing docs, feel free to open a new issue.
What are we going to do moving forward?
With the advent of .NET Core, the NuGet community is growing by leaps and bounds. We understand that we have to lower the barrier to entry to make it easy for authors to create packages and for users to consume them. The first step there is to have fantastic documentation in place that enables this.
In the coming quarter, we are looking into starting our docs migration into docs.microsoft.com similar to .NET Core documentation. Since NuGet and .NET are tied at the hip for the majority of its use cases, it’ll make it easier for our users to find and reference docs. In addition, we’ll have a consistent way to get feedback and enable contributions to docs from our users.
We want to hear your feedback!
We want NuGet to meet the evolving needs of our community. If you would like share your pain points and your current and future needs, use the calendly link to set up a quick 15-30 min call with us. If you would like to send us an email instead, hit us up at email@example.com.
You can also leave a comment below, and as always, if you run into any issues or have an idea, open an issue on GitHub.