Skip to content

Commit

Permalink
website: tags
Browse files Browse the repository at this point in the history
  • Loading branch information
lmorg committed Sep 17, 2024
1 parent f6e6a25 commit 2144282
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 21 deletions.
4 changes: 2 additions & 2 deletions app/app.go
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,9 @@ const Name = "murex"
const (
Major = 6
Minor = 3
Revision = 4189
Revision = 4193
Branch = "develop"
BuildDate = "2024-09-17 21:23:36"
BuildDate = "2024-09-17 21:41:03"
)

// Copyright is the copyright owner string
Expand Down
2 changes: 2 additions & 0 deletions gen/commands-md-doc.tmpl
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@
icon: file-code
description: {{ quote .Summary }}
category: {{ .CategoryID }}
tags:{{ range $cat := .SubCategories }}
- {{ .Title }}{{ end }}
---

{{ end }}# {{ md .Title }}
Expand Down
18 changes: 0 additions & 18 deletions utils/docgen/api/category.go
Original file line number Diff line number Diff line change
Expand Up @@ -36,24 +36,6 @@ func (c *category) SubCategoryByID(id string) (*category, error) {
return nil, fmt.Errorf("cannot find a sub-category with the id '%s'", id)
}

/*func (c *category) getSubCategoryTitle(id string) string {
sub, err := c.SubCategoryByID(id)
if err != nil {
return ""
}
return sub.Title
}
func (c *category) getSubCategoryDescription(id string) string {
sub, err := c.SubCategoryByID(id)
if err != nil {
return ""
}
return sub.Description
}*/

type templates struct {
// OutputPath to write the rendered documents
OutputPath string `yaml:"OutputPath"`
Expand Down
2 changes: 1 addition & 1 deletion version.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 2144282

Please sign in to comment.