2

I have the structure of the file:

enter image description here

I want to use DocFX to create documentation of my project but my problem is file docfx.json. My project is in another folder like C:\Test\ConsoleApp1\ConsoleApp1 not in src folder in docFx, when I try to change localization docFx don't find the project. How do I set this path?

I introduced the correct path but still doesn't work.

"metadata": [
{
  "src": [
    {
      "files": [
        "src/**.csproj"
      ]
    }
  ],
  
Magnetron
  • 7,495
  • 1
  • 25
  • 41
Andreas
  • 63
  • 6

1 Answers1

2

Try this:

"metadata": [
{
  "src": [
    {
      "files": [ "src/**.csproj" ],
      "src": "../ConsoleApp1"
    }
  ],

Here is an example from DocFX's own documentation site.

Yuby
  • 808
  • 7
  • 19