feature/affichage-documentation #105

Merged
vlbeaudoin merged 7 commits from feature/affichage-documentation into main 2023-08-16 17:53:30 -04:00
Showing only changes of commit bb9c54bd06 - Show all commits

View file

@ -8,6 +8,7 @@ import (
"encoding/json"
"fmt"
"log"
"sort"
"embed"
"html/template"
@ -351,6 +352,8 @@ func handleDocumentation(c echo.Context) error {
})
}
sort.SliceStable(data, func(i, j int) bool { return data[i].Name < data[j].Name })
return c.Render(http.StatusOK, "documentation-html", data)
}