Skip to content

How can I display authors? #8762

Discussion options

You must be logged in to vote

DocFX v3 apparently looks up contributors from GitHub (user cache design document, graph API queries) but AFAIK DocFX v2 does not have that feature.

If the templates in DocFX v2 were able to read a list of contributors from (per-page) metadata and display it, I imagine the metadata name and format would be documented at https://dotnet.github.io/docfx/docs/template.html.

If you make a custom template, I think you can use any metadata there all right. Then you could also set up a program that examines the commit history and generates a metadata file for DocFX to read via fileMetadataFiles, if permitted by the privacy laws in your jurisdiction.

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@sotanakamura
Comment options

Answer selected by sotanakamura
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants