Skip to content

Commit

Permalink
add weight for generated cli reference
Browse files Browse the repository at this point in the history
  • Loading branch information
morri-son committed Jan 14, 2025
1 parent 0e8fb4b commit 3df1a8e
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions hack/generate-cli-docs/generate_markdown.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,14 +3,15 @@ package main
import (
"bytes"
"fmt"
"github.com/spf13/cobra"
"io"
"ocm.software/ocm/api/utils/cobrautils"
"os"
"path"
"path/filepath"
"sort"
"strings"

"github.com/spf13/cobra"
"ocm.software/ocm/api/utils/cobrautils"
)

const fmTmpl = `---
Expand All @@ -19,6 +20,7 @@ name: %s
url: %s
draft: false
images: []
weight: 55
toc: true
sidebar:
collapsed: true
Expand Down

0 comments on commit 3df1a8e

Please sign in to comment.