Skip to content

Commit b0ac23f

Browse files
EmilySeville7cfgEmilySeville7cfg
authored andcommitted
feat(practices): add note
1 parent bbae20b commit b0ac23f

File tree

2 files changed

+6
-2
lines changed

2 files changed

+6
-2
lines changed

book/style_guide.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
11
# Best practices
22

3+
This page lists our best practices we advice to follow. Keep in mind that they are not required to be
4+
used in external repositories (not ours), you can change them in the way you want,
5+
but please be consistent and follow your rules.
6+
37
## Formatting
48

59
### Defaults

make_docs.nu

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
# remove invalid characters from a path
2-
#
3-
# # Examples
2+
#
43
# using the standard library
54
# ```nushell
65
# use std.nu
@@ -12,6 +11,7 @@ def safe-path [] {
1211
$in | str replace --all '\?' '' | str replace --all ' ' '_'
1312
}
1413

14+
safe-path
1515

1616
# generate the YAML frontmatter of a command
1717
#

0 commit comments

Comments
 (0)