Skip to content

Repository files navigation

Generate your API documentation with DocFX

Join the chat at https://gitter.im/dotnet/docfxGithub All Releases

Build StatusPackageChocolatey
mastermasterstatusNuGetChocolatey
devdevstatusMyGet

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. Microsoft Build Tools 2015
  2. .NET Core 1.0.0 SDK 1.0.0-preview2-003121 x86 | x64
  3. Node.js

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.

Possible build issues

  1. Test failure with message \r\n not equal to \n for Windows Set git config --global core.autocrlf true

How do I play with DocFX?

Please refer to Getting Started.

Integrate with Continuous Integration environment

  1. Install docfx through chocolatey packagecinst 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/FolderDescription
LICENSEProject license information
README.mdIntroduction to the project
CONTRIBUTING.mdContribution guidelines to how to contribute to the repo
DocumentationSource for our documentation site
srcSource code for DocFX
testTest cases for DocFX using xunit test framework
toolsSource 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.

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

Contributing

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages