Docfx.Build.Common 2.71.0

Prefix Reserved
There is a newer version of this package available.
See the version list below for details.
dotnet add package Docfx.Build.Common --version 2.71.0                
NuGet\Install-Package Docfx.Build.Common -Version 2.71.0                
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="Docfx.Build.Common" Version="2.71.0" />                
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add Docfx.Build.Common --version 2.71.0                
#r "nuget: Docfx.Build.Common, 2.71.0"                
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
// Install Docfx.Build.Common as a Cake Addin
#addin nuget:?package=Docfx.Build.Common&version=2.71.0

// Install Docfx.Build.Common as a Cake Tool
#tool nuget:?package=Docfx.Build.Common&version=2.71.0                

Build your docs with docfx

NuGet Help Wanted

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.

NuGet packages (14)

Showing the top 5 NuGet packages that depend on Docfx.Build.Common:

Package Downloads
Docfx.App

Docfx published as a library for extensibility and advanced customization

Docfx.Build.OverwriteDocuments

Technical documentation tool with markdown, API docs for .NET, REST API and more.

Docfx.Build.SchemaDriven

Technical documentation tool with markdown, API docs for .NET, REST API and more.

Docfx.Build.ManagedReference

Technical documentation tool with markdown, API docs for .NET, REST API and more.

Docfx.Build

Technical documentation tool with markdown, API docs for .NET, REST API and more.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last updated
2.77.0 5,778 7/1/2024
2.76.0 5,317 4/7/2024
2.75.3 3,605 2/18/2024
2.75.2 7,477 1/27/2024
2.75.1 4,608 1/13/2024
2.75.0 1,457 1/12/2024
2.74.1 1,913 11/30/2023
2.74.0 1,328 11/20/2023
2.73.2 1,734 11/13/2023
2.73.1 398 11/7/2023
2.73.0 414 11/2/2023
2.72.1 388 10/28/2023
2.72.0 458 10/24/2023
2.71.1 927 10/18/2023
2.71.0 720 9/30/2023
2.70.4 562 9/18/2023
2.70.3 464 9/5/2023
2.70.2 446 9/4/2023
2.70.1 633 9/4/2023
2.70.0 1,693 7/29/2023