mirror of https://github.com/Hilbis/Hilbish
Compare commits
No commits in common. "352f13c29a7fd7f991250ca13102ca1ec688933b" and "650b45b930126d540a54e3a21ec4dc2fe69ec1a7" have entirely different histories.
352f13c29a
...
650b45b930
|
@ -6,4 +6,3 @@ docgen
|
|||
|
||||
.vim
|
||||
petals/
|
||||
.hugo_build.lock
|
||||
|
|
|
@ -1,10 +1,5 @@
|
|||
# 🎀 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
|
||||
### Fixed
|
||||
- Corrected documentation for hooks, removing outdated `command.no-perm`
|
||||
|
|
|
@ -442,6 +442,8 @@ func main() {
|
|||
continue
|
||||
}
|
||||
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:]
|
||||
typLookup := typeTable[strings.ToLower(typName)]
|
||||
linkedTyp := fmt.Sprintf("/Hilbish/docs/api/%s/%s/#%s", typLookup[0], typLookup[0] + "." + typLookup[1], strings.ToLower(typName))
|
||||
|
|
Loading…
Reference in New Issue