This allows to to create a public documentation website with the nice wiki editing tools of Azure DevOps.
Does not support
This project contains a modified version of the default DocFX template to get everything to work.
To use your own docfx template, copy the template files in this repository to adirectory named ".docfx_template" in your wiki repository. Then modify the template to your needs.
Targeting differerent audiences
A page or part a page can be made visible for certain audiences only.
In the task configuration you can specify one or more 'target audiences'.
To include a page only for Customers for example, specify "Customers" as target audience and put this line on top of the file.
To hide part of a page use:
Including content for multiple audiences is also possible. E.g.:
If a target audience is specified in the task configuration, and a page has no audience specified on top, the file will not be included.
You can use this task in build and release.
With a azure-pipelines.yml build file below, an artifact with the website files will be created. This you can release to a webserver.
Works quite the same as in a build pipeline.