docfx 2.70.1

Prefix Reserved
There is a newer version of this package available.
See the version list below for details.
dotnet tool install --global docfx --version 2.70.1                
This package contains a .NET tool you can call from the shell/command line.
dotnet new tool-manifest # if you are setting up this repo
dotnet tool install --local docfx --version 2.70.1                
This package contains a .NET tool you can call from the shell/command line.
#tool dotnet:?package=docfx&version=2.70.1                
nuke :add-package docfx --version 2.70.1                

Build your docs with docfx

NuGet Help Wanted Gitter

Build your technical documentation site with docfx, with landing pages, markdown, API reference docs for .NET, REST API and more.

⚠️⚠️⚠️ NOTICE ⚠️⚠️⚠️

DocFX is being transitioned to the .NET Foundation as an official .NET project!

  • The DocFX team is working on improving the main branch. This will introduce new features and bug fixes to the project, remove some older code and features that are no longer necessary, as well as update the dependencies and simplify the project structure. Stay tuned for a roadmap.
  • Due to architectural changes in the site, DocFX can no longer support building Microsoft Learn content directly. The open source repos holding Markdown content for Microsoft Learn will still accept pull requests and changes, but are not directly buildable with DocFX.
  • Moving forward, we will only be supporting this tool as a static site generator for new sites, not as a tool to build official Microsoft content on Microsoft Learn.

Getting Started

  1. Install docfx as a global tool:

    dotnet tool install -g docfx
    
  2. Create and start a website locally:

    docfx init -q
    docfx build docfx_project\docfx.json --serve
    
  3. Go to https://localhost:8080 to see the sample site.

For more information, refer to Getting Started.

Contributing

Use Discussions for questions and general discussions. Use Issues to report bugs and proposing features.

We welcome code contributions through pull requests, issues tagged as help-wanted are good candidate to start contributing code.

Prerequisites

Build and Test

  • Build site templates in templates directory:
    • Run npm install to restore npm dependencies.
    • Run npm run build to build the templates.
  • Run dotnet build to build the project or use Visual Studio to build docfx.sln.
  • Run dotnet test to test the project or use Visual Studio test explorer.
    • Run git lfs checkout to checkout files for snapshot testing

Branch and Release

The main branch is the default branch for pull requests and most other development activities. We occasionally use feature/* branches for epic feature development.

Releases are based on a stable main branch commit using GitHub Releases. Use of Conventional Commit is encouraged.

Docfx is not released under a regular cadence, new versions arrive when maintainers see enough changes that warrant a new releases. Sometimes we use prereleases to dogfood breaking changes and get feedbacks from the community.

Roadmap

We use Milestones to communicate upcoming changes docfx:

  • Working Set are features being actively worked on. Not every features in this bucket will be committed in the next release but they reflect top of minds of maintainers in the upcoming period.

  • Backlog is a set of feature candidates for some future releases, but are not being actively worked on.

License

This project is licensed under the MIT License.

.NET Foundation

This project is supported by the .NET Foundation.

This project has adopted the code of conduct defined by the Contributor Covenant to clarify expected behavior in our community. For more information see the .NET Foundation Code of Conduct.

Product Compatible and additional computed target framework versions.
.NET net6.0 is compatible.  net6.0-android was computed.  net6.0-ios was computed.  net6.0-maccatalyst was computed.  net6.0-macos was computed.  net6.0-tvos was computed.  net6.0-windows was computed.  net7.0 is compatible.  net7.0-android was computed.  net7.0-ios was computed.  net7.0-maccatalyst was computed.  net7.0-macos was computed.  net7.0-tvos was computed.  net7.0-windows was computed.  net8.0 is compatible.  net8.0-android was computed.  net8.0-browser was computed.  net8.0-ios was computed.  net8.0-maccatalyst was computed.  net8.0-macos was computed.  net8.0-tvos was computed.  net8.0-windows was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

This package has no dependencies.

Version Downloads Last updated
2.77.0 274,975 7/1/2024
2.76.0 245,833 4/7/2024
2.75.3 199,523 2/18/2024
2.75.2 68,565 1/27/2024
2.75.1 89,062 1/13/2024
2.75.0 8,804 1/12/2024
2.74.1 141,239 11/30/2023
2.74.0 48,725 11/20/2023
2.73.2 29,946 11/13/2023
2.73.1 8,943 11/7/2023
2.73.0 9,480 11/2/2023
2.72.1 12,963 10/28/2023
2.72.0 10,587 10/24/2023
2.71.1 8,182 10/18/2023
2.71.0 37,066 9/30/2023
2.70.4 29,579 9/18/2023
2.70.3 38,128 9/5/2023
2.70.2 1,588 9/4/2023
2.70.1 16,922 8/21/2023
2.70.0 42,180 8/2/2023
2.67.5 81,220 6/21/2023
2.67.3 22,991 6/2/2023
2.67.2 6,419 5/26/2023
2.67.1 35,365 5/16/2023
2.67.0 15,396 5/6/2023
2.66.2 27,411 4/26/2023
2.66.1 1,897 4/25/2023
2.66.0 2,181 4/24/2023
2.65.3 12,870 4/14/2023
2.65.2 5,292 4/11/2023
2.65.1 2,891 4/9/2023
2.65.0 1,965 4/7/2023
2.64.0 47,853 3/30/2023
2.63.1 9,411 3/21/2023
2.63.0 1,545 3/20/2023
2.62.2 13,295 3/7/2023
2.62.1 19,049 2/15/2023
2.62.0 1,205 2/14/2023
2.61.0 61,311 1/30/2023
2.60.2 34,630 1/20/2023
2.60.1 5,573 1/18/2023
2.60.0 3,353 1/13/2023
2.60.0-preview.2 835 12/25/2022
2.60.0-preview.1 674 12/20/2022
2.59.4 7,065 9/7/2022
2.59.3 1,343 7/6/2022
2.59.2 1,574 4/11/2022
2.59.1 774 3/31/2022
2.59.0 1,290 1/19/2022
2.58.9 1,147 11/4/2021
2.58.8 532 11/1/2021
2.58.5 519 10/26/2021
2.58.4 1,606 9/14/2021
2.58.3 753 9/7/2021
2.58.2 1,131 8/24/2021
2.58.1 530 8/23/2021
2.58.0 3,455 6/9/2021
2.57.2 1,652 4/14/2021
2.57.1 608 4/13/2021
2.57.0 671 4/9/2021
2.56.7 3,248 3/2/2021
2.56.6 4,244 12/10/2020
2.56.5 1,416 11/10/2020
2.56.4 1,060 10/20/2020
2.56.3 763 10/12/2020
2.56.2 2,383 7/27/2020
2.56.1 1,252 7/6/2020
2.56.0 972 6/29/2020
2.55.0 1,207 6/12/2020
2.53.1 2,357 5/11/2020
2.52.0 1,817 4/13/2020
2.51.0 1,628 3/20/2020
2.50.0 1,753 3/2/2020
2.49.0 839 2/17/2020
2.48.1 2,923 1/13/2020
2.48.0 2,105 12/9/2019
2.47.0 2,116 10/31/2019
2.46.0 1,422 10/14/2019
2.45.1 2,036 9/15/2019
2.45.0 1,641 8/25/2019
2.44.0 1,627 8/2/2019
2.43.2 2,324 7/2/2019
2.43.1 1,473 6/14/2019
2.42.4 2,360 5/24/2019
2.42.3 13,263 5/13/2019
2.42.2 890 5/10/2019
2.42.0 1,191 4/22/2019
2.41.0 2,012 3/29/2019
2.40.11 2,352 2/16/2019
2.40.10 1,906 2/1/2019
2.40.9 982 1/31/2019
2.40.8 1,501 1/25/2019
2.40.7 2,718 1/4/2019
2.40.5 991 12/19/2018
2.40.4 2,820 11/26/2018
2.40.2 1,916 11/7/2018
2.40.1 1,550 10/29/2018
2.40.0 2,221 10/12/2018
2.39.2 3,206 9/9/2018
2.39.1 1,310 9/4/2018
2.39.0 1,326 9/2/2018
2.38.1 6,256 8/16/2018
2.38.0 1,851 8/13/2018
2.37.2 1,921 7/31/2018
2.37.1 1,205 7/31/2018
2.36.2 1,495 6/13/2018
2.36.1 1,542 5/25/2018
2.36.0 1,312 5/21/2018
2.36.0-alpha-0159-g25e5900b4 986 4/26/2018
2.35.4 1,465 5/2/2018
2.35.3 1,331 5/2/2018
2.35.0-alpha-0153-g6da267dd4 990 4/25/2018
2.33.2 1,472 4/3/2018
2.33.1 1,318 4/3/2018
2.33.0 1,437 3/19/2018
2.32.2 1,249 3/12/2018
2.32.0 1,399 2/28/2018
2.31.0 1,513 2/5/2018
2.30.0 1,496 1/12/2018
2.29.1 1,351 12/29/2017
2.28.3 1,306 12/14/2017
2.28.2 1,368 12/7/2017
2.28.1 1,265 12/1/2017
2.28.0 1,267 11/30/2017
2.27.0 1,278 11/21/2017
2.26.3 1,364 10/26/2017
2.26.1 1,250 10/24/2017
2.26.0 1,243 10/23/2017
2.25.1 1,270 10/9/2017
2.25.0 1,244 10/9/2017
2.24.0 1,444 9/11/2017
2.23.1 1,370 8/22/2017
2.22.3 1,259 8/17/2017
2.22.1 1,276 8/2/2017
2.22.0 1,290 8/1/2017
2.21.2 1,256 7/26/2017
2.21.1 1,359 7/17/2017
2.20.0 1,330 7/12/2017
2.19.2 1,312 6/29/2017
2.18.5 1,344 6/15/2017
2.18.4 1,299 6/9/2017
2.18.3 1,305 6/8/2017
2.18.1 1,257 5/31/2017
2.17.5 1,287 5/23/2017
2.17.3 1,279 5/11/2017
2.17.2 1,275 5/9/2017
2.16.8 1,315 5/3/2017
2.16.7 1,278 4/26/2017
2.16.5 1,255 4/25/2017
2.16.2 1,281 4/20/2017
2.16.0 1,333 4/17/2017
2.15.5 1,397 4/6/2017
2.15.2 1,304 3/29/2017
2.13.1 1,338 3/7/2017
2.13.0 1,329 3/6/2017
2.12.1 1,350 2/14/2017
2.12.0 1,303 2/13/2017
2.11.3 1,336 2/7/2017
2.11.2 1,308 1/25/2017
2.11.1 1,277 1/24/2017
2.11.0 1,271 1/23/2017
2.10.2 1,302 1/4/2017
2.10.1 1,259 1/4/2017
2.10.0 1,364 1/3/2017
2.9.3 1,273 12/15/2016
2.9.2 1,303 12/14/2016
2.9.1 1,255 12/13/2016
2.9.0 1,339 12/12/2016
2.8.2 1,322 11/28/2016
2.8.1 1,294 11/24/2016
2.8.0 1,334 11/22/2016
2.7.3 1,603 11/8/2016
2.7.2 1,550 11/3/2016
2.7.1 1,531 11/1/2016
2.7.0 1,341 10/31/2016
2.6.3 1,368 10/25/2016
2.6.1 1,306 10/11/2016
2.6.0 1,324 10/10/2016
2.5.4 1,806 9/22/2016
2.5.3 1,676 9/20/2016
2.5.2 1,453 9/19/2016
2.5.1 1,569 9/19/2016
2.5.0 1,355 9/14/2016
2.4.0 1,416 8/29/2016
2.3.1 1,352 8/22/2016
2.3.0 1,465 8/8/2016
2.2.2 1,368 7/22/2016
2.2.1 1,351 7/19/2016
2.2.0 1,348 7/18/2016
2.1.0 1,468 6/27/2016
2.0.2 1,302 6/22/2016
2.0.1 1,346 6/7/2016
2.0.0 1,445 6/6/2016
1.9.4 1,710 5/19/2016
1.9.3 1,322 5/19/2016
1.9.0 1,262 5/16/2016
1.8.4 1,316 5/10/2016
1.8.1 1,317 5/4/2016
1.8.0 1,571 4/25/2016
1.7.2 1,366 4/20/2016
1.7.1 1,326 4/7/2016
1.7.0 1,302 4/6/2016
1.6.1 1,374 3/16/2016
1.5.0 1,411 2/22/2016
1.4.2 1,385 2/3/2016
1.4.1 1,329 2/2/2016
1.4.0 1,353 2/1/2016
1.3.7 1,369 1/21/2016
1.3.5 1,368 1/13/2016
1.3.3 1,492 1/13/2016
1.3.0 1,347 1/11/2016
1.2.2 1,405 12/30/2015
1.2.1 1,330 12/15/2015
1.2.0 1,945 12/14/2015
1.1.0 1,382 12/9/2015
1.0.0 1,608 11/20/2015
0.3.11-alpha-9-gdaed198 1,078 11/16/2015
0.3.0 1,454 11/12/2015
0.0.1-alpha-1523061607 1,126 6/23/2015
0.0.1-alpha-1523061604 1,089 6/23/2015
0.0.1-alpha-1518061325 1,058 6/18/2015
0.0.1-alpha-1518061107 1,018 6/18/2015
0.0.1-alpha-1517061543 1,099 6/17/2015
0.0.1-alpha-1517061409 1,152 6/17/2015