use markdown for the documentation (#1474)

* add doc.md

* use h2 for doc sections

* use h3 for doc commands/options/vars

* use backticks instead of quotes in the doc

* merge multiple commands/options in the doc

* change header levels in the doc

* add man page sections to the doc

* remove extra spaces in headers in the doc

* add man and plain conversions of the doc

* update doc

* add missing flags to the doc

* replace the old documentation with the new one

* remove old doc files

* remove the doc instructions from CONTRIBUTING.md

* change the links to the doc

* shorten long links in the readme
This commit is contained in:
Gökçehan Kara authored and GitHub committed 2023-11-12 15:43:06 +01:00
1 parent ade9e986e5
commit 9698ecddf1
10 files changed
+4667 -4092

No files matched your search

+5
View File
@@ -14,6 +14,11 @@ import (
"strings"
)
import _ "embed"
//go:embed doc.txt
var genDocString string
var (
envPath = os.Getenv("PATH")
envLevel = os.Getenv("LF_LEVEL")