How do I configure DOCFX to show source code on each page

425 Views Asked by At

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.

1

There are 1 best solutions below

2
On

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"