mirror of
https://github.com/ash-project/ash_postgres.git
synced 2024-09-20 05:23:18 +12:00
44 lines
833 B
Elixir
44 lines
833 B
Elixir
defmodule AshPostgres.DocIndex do
|
|
@moduledoc false
|
|
use Spark.DocIndex,
|
|
guides_from: [
|
|
"documentation/**/*.md"
|
|
]
|
|
|
|
def for_library, do: "ash_postgres"
|
|
|
|
def extensions do
|
|
[
|
|
%{
|
|
module: AshPostgres.DataLayer,
|
|
name: "AshPostgres",
|
|
target: "Ash.Resource",
|
|
type: "DataLayer"
|
|
}
|
|
]
|
|
end
|
|
|
|
def code_modules do
|
|
[
|
|
{"AshPostgres",
|
|
[
|
|
AshPostgres.Repo
|
|
]},
|
|
{"Postgres Expressions",
|
|
[
|
|
AshPostgres.Functions.Fragment,
|
|
AshPostgres.Functions.TrigramSimilarity,
|
|
AshPostgres.Functions.Type
|
|
]},
|
|
{"Postgres Migrations",
|
|
[
|
|
AshPostgres.Migration,
|
|
EctoMigrationDefault
|
|
]},
|
|
{"Introspection",
|
|
[
|
|
AshPostgres.DataLayer.Info
|
|
]}
|
|
]
|
|
end
|
|
end
|