diff options
author | Bjørn Erik Pedersen <[email protected]> | 2023-08-07 10:52:52 +0200 |
---|---|---|
committer | Bjørn Erik Pedersen <[email protected]> | 2023-08-07 13:42:54 +0200 |
commit | 851bf3515e61141cda6209fb196f4505c826607c (patch) | |
tree | 4c227fb57c849638059836a4f490d0c5c0da0a42 /media | |
parent | d4a6c16c17b8804c13c9c0a5526be01fc238c67a (diff) | |
download | hugo-851bf3515e61141cda6209fb196f4505c826607c.tar.gz hugo-851bf3515e61141cda6209fb196f4505c826607c.zip |
Add all config to docshelper.json
Also consolidate so the mediaTypes and outputFormats are listed once only.
Fixes #11328
Diffstat (limited to 'media')
-rw-r--r-- | media/docshelper.go | 13 |
1 files changed, 0 insertions, 13 deletions
diff --git a/media/docshelper.go b/media/docshelper.go deleted file mode 100644 index d37c08eb3..000000000 --- a/media/docshelper.go +++ /dev/null @@ -1,13 +0,0 @@ -package media - -import ( - "github.com/gohugoio/hugo/docshelper" -) - -// This is is just some helpers used to create some JSON used in the Hugo docs. -func init() { - docsProvider := func() docshelper.DocProvider { - return docshelper.DocProvider{"media": map[string]any{"types": DefaultTypes}} - } - docshelper.AddDocProviderFunc(docsProvider) -} |