A few fixes to docs generation and default config (#4570)

* A few fixes to docs generation and default config

* A few more fixes
This commit is contained in:
JT
2022-02-20 15:20:41 -05:00
committed by GitHub
parent 6024a17a5b
commit 2ba12afb01
9 changed files with 88 additions and 62 deletions

View File

@ -1,6 +1,6 @@
let vers = (version).version
for command in ($scope.commands | where is_custom == $false) {
for command in ($scope.commands | where is_custom == $false && is_external == $false) {
let top = $"---
title: ($command.command)
layout: command
@ -61,5 +61,6 @@ $"($example.description)
let safe_name = ($command.command | str find-replace '\?' '' | str find-replace ' ' '_')
$doc | save --raw $"./docs/commands/($safe_name).md"
$"./docs/commands/($safe_name).md"
} | length | $"($in) commands written"