---
title: "Discussion on \"Document your .NET code with DocFX and GitHub Actions\" | Hashnode"
description: "Discussion on \"Document your .NET code with DocFX and GitHub Actions\". In this article I show how to use XML doc comments, DocFX and GitHub Actions to automatically build and publish documentation for your .NET code."
url: "https://hashnode.com/posts/document-your-net-code-with-docfx-and-github-actions/61bfc27bc4195d32e16a3f37"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [Document your .NET code with DocFX and GitHub Actions](https://blog.taranissoftware.com/document-your-net-code-with-docfx-and-github-actions?utm_source=hashnode&utm_medium=feed)

In this article I show how to use XML doc comments, DocFX and GitHub Actions to automatically build and publish documentation for your .NET code.

Dec 19, 2021 · 8 min read · blog.taranissoftware.com  
Read the article

-   [#net](https://hashnode.com/tag/net)
-   [#documentation](https://hashnode.com/tag/documentation)
-   [#github-actions-1](https://hashnode.com/tag/github-actions-1)
-   [#github](https://hashnode.com/tag/github)
-   [#dotnet](https://hashnode.com/tag/dotnet)

## Written by

[Dave Murray](https://hashnode.com/@Irongut)

@Irongut · Scotland, UK

  
[View profile](https://hashnode.com/@Irongut)

.NET developer with a passion for mobile and DevOps.

.NET developer with a passion for mobile and DevOps. I build cross platform apps using Xamarin, backend systems using Azure and GitHub Actions using Docker.

## Responses 1

Markdown supported · ⌘↵ to post

[Ashu Thinks](https://hashnode.com/@AshuThinks)

[Mar 9, 2022](https://hashnode.com/posts/document-your-net-code-with-docfx-and-github-actions/61bfc27bc4195d32e16a3f37/comment/6228f047019447953617d8f6)

how to use docfx where i have my source docfx.json from github or devops repo url?

which way is feasible to use exe or nuget ?

i will pass different repo url every time which will have docfx.json

I tried -

1.docfx.exe but it won't take http url as a input paramter it only run on local VM is not best solution for exe.

2.docker image but not a best approch either

3.nuget but how to use it as a central project where i will pass repo url and generate doc

kindly help me with approach.
