chore(common-documentation): Move files

This commit is contained in:
Myzel394 2024-08-10 14:38:19 +02:00
parent 1a91942f71
commit 2433974c25
No known key found for this signature in database
GPG Key ID: DEC4AAB876F73185
11 changed files with 8 additions and 4 deletions

View File

@ -2,7 +2,7 @@ package commondocumentation
import docvalues "config-lsp/doc-values" import docvalues "config-lsp/doc-values"
var CharsetsDocumentation = []docvalues.EnumString{ var AvailableCharsets = []docvalues.EnumString{
docvalues.CreateEnumStringWithDoc( docvalues.CreateEnumStringWithDoc(
"ascii", "ascii",
`ASCII (American Standard Code For Information Interchange) is the `ASCII (American Standard Code For Information Interchange) is the

View File

@ -1,6 +1,8 @@
package commondocumentation package commondocumentation
import docvalues "config-lsp/doc-values" import (
docvalues "config-lsp/doc-values"
)
var FatDocumentationAssignable = map[docvalues.EnumString]docvalues.Value{ var FatDocumentationAssignable = map[docvalues.EnumString]docvalues.Value{
docvalues.CreateEnumStringWithDoc( docvalues.CreateEnumStringWithDoc(
@ -104,8 +106,10 @@ var FatDocumentationAssignable = map[docvalues.EnumString]docvalues.Value{
docvalues.CreateEnumStringWithDoc( docvalues.CreateEnumStringWithDoc(
"iocharset", "iocharset",
"Character set to use for converting between 8 bit characters and 16 bit Unicode characters. The default is iso8859-1. Long filenames are stored on disk in Unicode format.", "Character set to use for converting between 8 bit characters and 16 bit Unicode characters. The default is iso8859-1. Long filenames are stored on disk in Unicode format.",
// TODO: Use enum for charsets ): docvalues.EnumValue{
): docvalues.StringValue{}, EnforceValues: true,
Values: AvailableCharsets,
},
docvalues.CreateEnumStringWithDoc( docvalues.CreateEnumStringWithDoc(
"nfs", "nfs",
`Enable this only if you want to export the FAT filesystem over NFS. `Enable this only if you want to export the FAT filesystem over NFS.