mirror of
https://github.com/ash-project/ash_graphql.git
synced 2024-09-20 05:13:33 +12:00
41 lines
718 B
Elixir
41 lines
718 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",
|
|
[
|
|
AshGraphql.Resource.Info,
|
|
AshGraphql.Api.Info
|
|
]}
|
|
]
|
|
end
|
|
end
|