UNPKG

@nx-dotnet/nxdoc

Version:

> This package is unstable! Documentation formatting could change in the future. See something that you think should be different? [Open an issue](https://github.com/nx-dotnet/nx-dotnet/issues) on github and help shape this plugin.

23 lines (13 loc) 575 B
# <%= `${packageName}:${generatorName}` %> <%if(schema.title){%> ## <%= schema.title %><%}%> <%=schema.description%> <% if(Object.values(schema.properties).length > 0) {%> ## Options <% Object.entries(schema.properties).forEach(([property, config]) => { if (config.hidden) return; %> ### <%- (schema.required?.includes?.(property)) ? `<span className="required">${property}</span>` : property %> <% if (!config.oneOf) { %>- (<%=config.type%>): <%= config.description %> <%} else { config.oneOf.forEach(x => {%> - (<%= x.type %>): <%=x.description%> <% })}})} %>