- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for cleanupForInclude (0.21 sec)
-
cmd/genkubedocs/postprocessing.go
return os.WriteFile(filename, []byte(processedMarkDown), 0644) } // cleanupForInclude parts of markdown that will make difficult to use it as include in the website: // - The title of the document (this allow more flexibility for include, e.g. include in tabs) // - The sections see also, that assumes file will be used as a main page func cleanupForInclude(md string) string { lines := strings.Split(md, "\n") cleanMd := ""
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Feb 01 05:59:41 UTC 2022 - 1.8K bytes - Viewed (0) -
cmd/genkubedocs/gen_kube_docs.go
doc.GenMarkdownTree(kubeadm, outDir) // cleanup generated code for usage as include in the website MarkdownPostProcessing(kubeadm, outDir, cleanupForInclude) default: fmt.Fprintf(os.Stderr, "Module %s is not supported", module) os.Exit(1) }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Feb 01 05:59:41 UTC 2022 - 2.8K bytes - Viewed (0)