ash_postgres/lib/doc_index.ex

61 lines
1.1 KiB
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-09-29 16:27:46 +13:00
def mix_tasks do
[
{"Postgres",
[
Mix.Tasks.AshPostgres.GenerateMigrations,
Mix.Tasks.AshPostgres.Create,
Mix.Tasks.AshPostgres.Drop,
Mix.Tasks.AshPostgres.Migrate,
Mix.Tasks.AshPostgres.Rollback
]}
]
end
2022-08-24 11:56:46 +12:00
def code_modules do
[
{"AshPostgres",
[
AshPostgres.Repo
]},
{"Postgres Expressions",
[
AshPostgres.Functions.Fragment,
AshPostgres.Functions.TrigramSimilarity
2022-08-24 11:56:46 +12:00
]},
{"Custom Aggregates",
[
AshPostgres.CustomAggregate
]},
2022-08-24 11:56:46 +12:00
{"Postgres Migrations",
[
AshPostgres.Migration,
EctoMigrationDefault
]},
{"Introspection",
[
AshPostgres.DataLayer.Info
]}
]
end
2022-03-27 07:28:12 +13:00
end