File tree Expand file tree Collapse file tree 1 file changed +12
-1
lines changed Expand file tree Collapse file tree 1 file changed +12
-1
lines changed Original file line number Diff line number Diff line change @@ -75,6 +75,8 @@ def make_docs [
7575# Various commands for working with bits.
7676# usage: |
7777# Various commands for working with bits.
78+ # editLink: false # turns off the "Edit this page in GitHub for commands"
79+ # contributors: false # turns off the contributors list since it is not accurate for commands
7880# ---
7981# ```
8082# - the `dfr min` command in `commands/docs/dfr_min.md`
@@ -92,6 +94,8 @@ def make_docs [
9294# usage: |
9395# Creates a min expression
9496# Aggregates columns to their min value
97+ # editLink: false
98+ # contributors: false
9599# ---
96100# ```
97101def command-frontmatter [commands_group , command_name ] {
@@ -130,6 +134,8 @@ version: ($nu_version)
130134($category_matter )
131135usage: |
132136($indented_usage )
137+ editLink: false
138+ contributors: false
133139---"
134140}
135141
@@ -375,7 +381,12 @@ def generate-category [category] {
375381 let safe_name = ($category | safe-path )
376382 let doc_path = ([' .' , ' commands' , ' categories' , $' ($safe_name ).md' ] | path join )
377383
378- $" # ($category | str title-case )
384+ $" ---
385+ editLink: false
386+ contributors: false
387+ ---
388+
389+ # ($category | str title-case )
379390
380391<script>
381392 import pages from '@temp/pages'
You can’t perform that action at this time.
0 commit comments