mirror of
https://github.com/ash-project/ash_graphql.git
synced 2024-09-20 05:13:33 +12:00
42 lines
716 B
Elixir
42 lines
716 B
Elixir
|
defmodule AshGraphql.DocIndex do
|
||
|
@moduledoc false
|
||
|
|
||
|
use Spark.DocIndex,
|
||
|
otp_app: :ash_graphql,
|
||
|
guides_from: [
|
||
|
"documentation/**/*.md"
|
||
|
]
|
||
|
|
||
|
@impl true
|
||
|
def for_library, do: "ash_graphql"
|
||
|
|
||
|
@impl true
|
||
|
def extensions do
|
||
|
[
|
||
|
%{
|
||
|
module: AshGraphql.Resource,
|
||
|
name: "AshGraphql Resource",
|
||
|
target: "Ash.Resource",
|
||
|
type: "GraphQL Resource"
|
||
|
},
|
||
|
%{
|
||
|
module: AshGraphql.Api,
|
||
|
name: "AshGraphql Api",
|
||
|
target: "Ash.Api",
|
||
|
type: "GraphQL Api"
|
||
|
}
|
||
|
]
|
||
|
end
|
||
|
|
||
|
@impl true
|
||
|
def code_modules do
|
||
|
[
|
||
|
{"Introspection",
|
||
|
[
|
||
|
AshGraphl.Resource.Info,
|
||
|
AshGraphl.Api.Info
|
||
|
]}
|
||
|
]
|
||
|
end
|
||
|
end
|