ash_postgres/lib/doc_index.ex

45 lines
833 B
Elixir
Raw Normal View History

2022-03-27 07:28:12 +13:00
defmodule AshPostgres.DocIndex do
2022-08-24 11:56:46 +12:00
@moduledoc false
2022-08-19 06:56:36 +12:00
use Spark.DocIndex,
2022-04-20 03:08:28 +12:00
guides_from: [
"documentation/**/*.md"
]
2022-03-27 07:28:12 +13:00
def for_library, do: "ash_postgres"
def extensions do
[
%{
module: AshPostgres.DataLayer,
name: "AshPostgres",
target: "Ash.Resource",
type: "DataLayer"
}
]
end
2022-04-20 03:08:28 +12:00
2022-08-24 11:56:46 +12:00
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
2022-03-27 07:28:12 +13:00
end