Compare commits

..

3 Commits

Author SHA1 Message Date
sammyette 352f13c29a
chore: remove hugo build lock 2023-01-18 06:38:52 -04:00
sammyette d09f1e351a
chore: update changelog 2023-01-18 06:37:06 -04:00
sammyette e5c20ce261
chore: remove todo comment 2023-01-18 06:34:17 -04:00
4 changed files with 6 additions and 2 deletions

1
.gitignore vendored
View File

@ -6,3 +6,4 @@ docgen
.vim .vim
petals/ petals/
.hugo_build.lock

View File

@ -1,5 +1,10 @@
# 🎀 Changelog # 🎀 Changelog
## Unreleased
### Added
- Documented custom userdata types (Job and Timer Objects)
- Coming with fix is also adding the return types for some functions that were missing it
## [2.0.1] - 2022-12-28 ## [2.0.1] - 2022-12-28
### Fixed ### Fixed
- Corrected documentation for hooks, removing outdated `command.no-perm` - Corrected documentation for hooks, removing outdated `command.no-perm`

View File

@ -442,8 +442,6 @@ func main() {
continue continue
} }
htmlSig := typeTag.ReplaceAllStringFunc(strings.Replace(dps.FuncSig, "<", `\<`, -1), func(typ string) string { htmlSig := typeTag.ReplaceAllStringFunc(strings.Replace(dps.FuncSig, "<", `\<`, -1), func(typ string) string {
// todo: get type from global table to link to
// other pages (hilbish page can link to hilbish.jobs#Job)
typName := typ[1:] typName := typ[1:]
typLookup := typeTable[strings.ToLower(typName)] typLookup := typeTable[strings.ToLower(typName)]
linkedTyp := fmt.Sprintf("/Hilbish/docs/api/%s/%s/#%s", typLookup[0], typLookup[0] + "." + typLookup[1], strings.ToLower(typName)) linkedTyp := fmt.Sprintf("/Hilbish/docs/api/%s/%s/#%s", typLookup[0], typLookup[0] + "." + typLookup[1], strings.ToLower(typName))