mirror of
https://github.com/aptly-dev/aptly.git
synced 2026-06-04 05:10:40 +00:00
69a1e2561d
- use markdown files in swagger - automate version, use swager.conf template - embed swagger ui index.html as docs.html
10 lines
144 B
Go
10 lines
144 B
Go
package docs
|
|
|
|
import (
|
|
_ "embed"
|
|
_ "github.com/swaggo/swag" // make sure swag is in go.mod
|
|
)
|
|
|
|
//go:embed docs.html
|
|
var DocsHTML []byte
|