mirror of
https://github.com/dillonkearns/elm-pages-v3-beta.git
synced 2024-11-30 23:06:10 +03:00
Remove unused.
This commit is contained in:
parent
b9c9b262fd
commit
cc81a4f2f3
@ -1,6 +1,5 @@
|
||||
module DocsSection exposing (Section, all, codec)
|
||||
module DocsSection exposing (Section, all)
|
||||
|
||||
import Codec exposing (Codec)
|
||||
import DataSource exposing (DataSource)
|
||||
import DataSource.Glob as Glob
|
||||
|
||||
@ -12,16 +11,6 @@ type alias Section =
|
||||
}
|
||||
|
||||
|
||||
codec : Codec (List Section)
|
||||
codec =
|
||||
Codec.object Section
|
||||
|> Codec.field "filePath" .filePath Codec.string
|
||||
|> Codec.field "order" .order Codec.int
|
||||
|> Codec.field "slug" .slug Codec.string
|
||||
|> Codec.buildObject
|
||||
|> Codec.list
|
||||
|
||||
|
||||
all : DataSource (List Section)
|
||||
all =
|
||||
Glob.succeed Section
|
||||
|
Loading…
Reference in New Issue
Block a user