Skip to content

Tools for building and publishing API documentation for .NET projects

License

Notifications You must be signed in to change notification settings

joelsteventurner/docfx

 
 

Repository files navigation

Generate your API documentation with DocFX

Join the chat at https://gitter.im/dotnet/docfx Github All Releases Twitter Follow

  • Build Status
Build Status Package Chocolatey
master masterstatus NuGet Chocolatey
dev devstatus MyGet
  • Running Status
Running Status Windows with .NET Core v2.0.3 Windows with VS2017 Ubuntu Linux with Mono Mac with Mono
NuGet .NET CORE VS Ubuntu Mac

Collecting feedbacks and proposals for DocFX

Let's make DocFX better together!

Vote for the proposals you like, and add yours:

Feature Requests

What is it?

DocFX makes it extremely easy to generate your developer hub with API reference, landing page, and how-to.

We currently support C# and VB projects.

How to build?

Prerequisites

  1. Visual Studio 2017, minimum installation is enough.
  2. Node.js, for building templates.

Steps

  1. Option 1: Run build.cmd under DocFX code repo.
  2. Option 2: Open All.sln under DocFX code repo in Visual Studio and build All.sln.

How do I play with DocFX?

  1. Option 1: install docfx through chocolatey package: choco install docfx -y.
  2. Option 2: install docfx through nuget package: nuget install docfx.console, docfx.exe is under folder docfx.console/tools/.
  3. Option 3: play docfx inside Visual Studio: create a Class Library (.NET Framework) project, Manage Nuget Packages to install docfx.console nuget package on the project, Build to create the generated website under folder _site.

For more information, please refer to Getting Started.

Integrate with Continuous Integration environment

  1. Install docfx through chocolatey package choco install docfx -y

  2. Call docfx docfx docfx.json

docfx-seed project provides a sample integrating with AppVeyor.

NOTE: Known issue in AppVeyor: Currently platform: Any CPU in appveyor.yml causes docfx metadata failure. dotnet#1078

What's included?

File/Folder Description
LICENSE Project license information
README.md Introduction to the project
CONTRIBUTING.md Contribution guidelines to how to contribute to the repo
Documentation Source for our documentation site
src Source code for DocFX
test Test cases for DocFX using xunit test framework
tools Source code for tools used in code build and deployment

How to Contribute

Check out the contributing page to see the best places to log issues and start discussions. 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.

Contributors & Thank You

Thanks go to our community of developers who have helped improve the quality of DocFX by helping with code contributions. Contributors:

License

DocFX is licensed under the MIT license.

.NET Foundation

DocFX is supported by the .NET Foundation.

About

Tools for building and publishing API documentation for .NET projects

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • C# 95.2%
  • JavaScript 2.3%
  • TypeScript 1.1%
  • CSS 0.6%
  • PowerShell 0.4%
  • Roff 0.2%
  • Other 0.2%