mirror of
https://github.com/argoproj/argo-cd.git
synced 2026-02-20 01:28:45 +01:00
* feat: support XDG Base directory standard Signed-off-by: Mark Sagi-Kazar <mark.sagikazar@gmail.com> * chore: set XDG_CONFIG_HOME env var for docs generation Signed-off-by: Mark Sagi-Kazar <mark.sagikazar@gmail.com> * chore: regenerate cli docs Signed-off-by: Mark Sagi-Kazar <mark.sagikazar@gmail.com>
This commit is contained in:
@@ -16,6 +16,7 @@ import (
|
||||
func main() {
|
||||
// set HOME env var so that default values involve user's home directory do not depend on the running user.
|
||||
os.Setenv("HOME", "/home/user")
|
||||
os.Setenv("XDG_CONFIG_HOME", "/home/user/.config")
|
||||
|
||||
err := doc.GenMarkdownTree(argocdcli.NewCommand(), "./docs/user-guide/commands")
|
||||
if err != nil {
|
||||
|
||||
Reference in New Issue
Block a user