2

Would like to include a view into the source code for each page, but don't know what option to change in docfx.json to do it.

Please advise.

JWP
  • 6,672
  • 3
  • 50
  • 74

1 Answers1

1

If I understand your question right, see the DocFx documentation on _gitUrlPattern.

In docfx.json you might need to add something like:

        "globalMetadata": {
            "_gitUrlPattern": "vso"
hcdocs
  • 1,078
  • 2
  • 18
  • 30
  • 1
    Just curious, that appears to set a known property _gitUrlPattern. But the value is vso. Not sure what that does. – JWP Apr 27 '21 at 22:45
  • 1
    If I understand you right, DocFx only supports this feature for repos in either GitHub ("github") and Visual Studio Online/Azure DevOps Online ("vso"). – hcdocs Apr 29 '21 at 17:12