Skip to content

Implement smarter validation for docfx.json #24

@PathogenDavid

Description

@PathogenDavid

DocfxConfigurationRule exists, but is currently disabled. (Meaning the contents of docfx.json are checked very strictly.)

It is a left-over from an earlier approach where I planned to spot check various aspects of docfx.json and still allow the massive amount of divergence we had before. In the end I buckled down and redid our docfx.json template entirely.

I think a better approach with this new template would be to compare the JSON documents directly and only allowing a select number of properties to diverge. (Basically a handful of the globalMetadata sub-properties.)

(I do think the rule should still be pretty strict though, it's just too easy to shoot yourself in the foot in subtle ways with docfx.)

Metadata

Metadata

Assignees

No one assigned

    Labels

    area/prefectIssues concerning the Prefect tool itselfarea/reference-bonsaiIssues concerning the Bonsai Foundation reference templateaspect/documentationIssues concerning aspects of documentation websites in reference templatesconcept/flexibilityIssues concerning flexibility and configurability of the reference templates

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions