Reorganize docs

Signed-off-by: Thomas Citharel <tcit@tcit.fr>
This commit is contained in:
Thomas Citharel 2022-04-07 18:37:31 +02:00
parent 5bb1247f37
commit 698f78ee9a
No known key found for this signature in database
GPG key ID: A061B9DDE0CA0773

228
mix.exs
View file

@ -36,7 +36,6 @@ defmodule Mobilizon.Mixfile do
], ],
unused: [ unused: [
ignore: [ ignore: [
Mobilizon.Storage.Repo,
Mobilizon.Storage.PostgresTypes, Mobilizon.Storage.PostgresTypes,
Mobilizon.Factory, Mobilizon.Factory,
Mobilizon.Web.Router.Helpers, Mobilizon.Web.Router.Helpers,
@ -268,11 +267,36 @@ defmodule Mobilizon.Mixfile do
groups_for_modules: groups_for_modules(), groups_for_modules: groups_for_modules(),
nest_modules_by_prefix: [ nest_modules_by_prefix: [
Mobilizon, Mobilizon,
Mobilizon.Web, Mobilizon.Activities,
Mobilizon.Service.Geospatial, Mobilizon.Actors,
Mobilizon.Web.Resolvers, Mobilizon.Admin,
Mobilizon.Discussions,
Mobilizon.Events,
Mobilizon.GraphQL,
Mobilizon.Medias,
Mobilizon.Posts,
Mobilizon.Reports,
Mobilizon.Resources,
Mobilizon.Todos,
Mobilizon.Users,
Mobilizon.Federation,
Mobilizon.Federation.ActivityPub,
Mobilizon.Federation.ActivityPub.Actions,
Mobilizon.Federation.ActivityPub.Types,
Mobilizon.Federation.ActivityStream,
Mobilizon.Federation.ActivityStream.Converter,
Mobilizon.GraphQL.Resolvers,
Mobilizon.GraphQL.Schema, Mobilizon.GraphQL.Schema,
Mobilizon.Service Mobilizon.Service,
Mobilizon.Service.Activity,
Mobilizon.Service.Export,
Mobilizon.Service.Geospatial,
Mobilizon.Service.Metadata,
Mobilizon.Service.Workers,
Mobilizon.Web,
Mobilizon.Web.Email,
Mobilizon.Web.Plugs,
Mobilizon.Web.Upload
] ]
] ]
end end
@ -280,171 +304,41 @@ defmodule Mobilizon.Mixfile do
defp groups_for_modules() do defp groups_for_modules() do
[ [
Models: [ Models: [
Mobilizon.Actors, ~r/Mobilizon.Actors~r/,
Mobilizon.Actors.Actor, ~r/Mobilizon.Addresses/,
Mobilizon.Actors.ActorOpenness, ~r/Mobilizon.Admin/,
Mobilizon.Actors.ActorType, ~r/Mobilizon.Events/,
Mobilizon.Actors.MemberRole, ~r/Mobilizon.Instances/,
Mobilizon.Actors.Bot, ~r/Mobilizon.Medias/,
Mobilizon.Actors.Follower, ~r/Mobilizon.Mention/,
Mobilizon.Actors.Member, ~r/Mobilizon.Reports/,
Mobilizon.Addresses, ~r/Mobilizon.Share/,
Mobilizon.Addresses.Address, ~r/Mobilizon.Tombstone/,
Mobilizon.Admin, ~r/Mobilizon.Users/
Mobilizon.Admin.ActionLog,
Mobilizon.Events,
Mobilizon.Events.Event,
Mobilizon.Events.FeedToken,
Mobilizon.Events.Participant,
Mobilizon.Events.Session,
Mobilizon.Events.Tag,
Mobilizon.Events.TagRelations,
Mobilizon.Events.Track,
Mobilizon.Events.EventStatus,
Mobilizon.Events.EventVisibility,
Mobilizon.Events.JoinOptions,
Mobilizon.Events.ParticipantRole,
Mobilizon.Events.Tag.TitleSlug,
Mobilizon.Events.Tag.TitleSlug.Type,
Mobilizon.Events.TagRelation,
Mobilizon.Medias,
Mobilizon.Medias.File,
Mobilizon.Medias.Media,
Mobilizon.Mention,
Mobilizon.Reports,
Mobilizon.Reports.Note,
Mobilizon.Reports.Report,
Mobilizon.Share,
Mobilizon.Tombstone,
Mobilizon.Users,
Mobilizon.Users.User,
Mobilizon.Users.UserRole,
Mobilizon.Federation.ActivityPub.Activity
], ],
APIs: [ "GraphQL APIs": [
Mobilizon.GraphQL.API.Comments, ~r/Mobilizon.GraphQL.API/
Mobilizon.GraphQL.API.Events, ],
Mobilizon.GraphQL.API.Follows, Emails: [
Mobilizon.GraphQL.API.Groups, ~r/Mobilizon.Web.Email/
Mobilizon.GraphQL.API.Participations,
Mobilizon.GraphQL.API.Reports,
Mobilizon.GraphQL.API.Search,
Mobilizon.GraphQL.API.Utils
], ],
Web: [ Web: [
Mobilizon.Web, ~r/Mobilizon.Web/
Mobilizon.Web.Endpoint,
Mobilizon.Web.Router,
Mobilizon.Web.Router.Helpers,
Mobilizon.Web.Plugs.UploadedMedia,
Mobilizon.Web.FallbackController,
Mobilizon.Web.FeedController,
Mobilizon.Web.PageController,
Mobilizon.Web.ChangesetView,
Mobilizon.Web.JsonLD.ObjectView,
Mobilizon.Web.EmailView,
Mobilizon.Web.ErrorView,
Mobilizon.Web.LayoutView,
Mobilizon.Web.PageView,
Mobilizon.Web.Auth.Context,
Mobilizon.Web.Auth.ErrorHandler,
Mobilizon.Web.Auth.Guardian,
Mobilizon.Web.Auth.Pipeline,
Mobilizon.Web.Cache,
Mobilizon.Web.Cache.ActivityPub,
Mobilizon.Web.Email,
Mobilizon.Web.Email.Admin,
Mobilizon.Web.Email.Checker,
Mobilizon.Web.Email.Event,
Mobilizon.Web.Email.Mailer,
Mobilizon.Web.Email.Participation,
Mobilizon.Web.Email.User,
Mobilizon.Web.Upload,
Mobilizon.Web.Upload.Filter,
Mobilizon.Web.Upload.Filter.AnonymizeFilename,
Mobilizon.Web.Upload.Filter.Dedupe,
Mobilizon.Web.Upload.Filter.Mogrify,
Mobilizon.Web.Upload.Filter.Optimize,
Mobilizon.Web.Upload.MIME,
Mobilizon.Web.Upload.Uploader,
Mobilizon.Web.Upload.Uploader.Local,
Mobilizon.Web.ReverseProxy
], ],
Geospatial: [ Geospatial: [
Mobilizon.Service.Geospatial, ~r/Mobilizon.Service.Geospatial/
Mobilizon.Service.Geospatial.Addok,
Mobilizon.Service.Geospatial.GoogleMaps,
Mobilizon.Service.Geospatial.MapQuest,
Mobilizon.Service.Geospatial.Mimirsbrunn,
Mobilizon.Service.Geospatial.Nominatim,
Mobilizon.Service.Geospatial.Pelias,
Mobilizon.Service.Geospatial.Photon,
Mobilizon.Service.Geospatial.Provider
], ],
Localization: [ Localization: [
Mobilizon.Cldr, ~r/Mobilizon.Cldr/,
Mobilizon.Web.Gettext ~r/Mobilizon.Web.Gettext/
], ],
GraphQL: [ GraphQL: [
Mobilizon.Web.GraphQLSocket, ~r/Mobilizon.Web.GraphQLSocket/,
Mobilizon.GraphQL.Resolvers.Address, ~r/Mobilizon.GraphQL/
Mobilizon.GraphQL.Resolvers.Admin,
Mobilizon.GraphQL.Resolvers.Comment,
Mobilizon.GraphQL.Resolvers.Config,
Mobilizon.GraphQL.Resolvers.Event,
Mobilizon.GraphQL.Resolvers.FeedToken,
Mobilizon.GraphQL.Resolvers.Group,
Mobilizon.GraphQL.Resolvers.Member,
Mobilizon.GraphQL.Resolvers.Person,
Mobilizon.GraphQL.Resolvers.Media,
Mobilizon.GraphQL.Resolvers.Report,
Mobilizon.GraphQL.Resolvers.Search,
Mobilizon.GraphQL.Resolvers.Tag,
Mobilizon.GraphQL.Resolvers.User,
Mobilizon.GraphQL.Schema,
Mobilizon.GraphQL.Schema.ActorInterface,
Mobilizon.GraphQL.Schema.Actors.ApplicationType,
Mobilizon.GraphQL.Schema.Actors.FollowerType,
Mobilizon.GraphQL.Schema.Actors.GroupType,
Mobilizon.GraphQL.Schema.Actors.MemberType,
Mobilizon.GraphQL.Schema.Actors.PersonType,
Mobilizon.GraphQL.Schema.AddressType,
Mobilizon.GraphQL.Schema.AdminType,
Mobilizon.GraphQL.Schema.Discussions.CommentType,
Mobilizon.GraphQL.Schema.ConfigType,
Mobilizon.GraphQL.Schema.EventType,
Mobilizon.GraphQL.Schema.Events.FeedTokenType,
Mobilizon.GraphQL.Schema.Events.ParticipantType,
Mobilizon.GraphQL.Schema.MediaType,
Mobilizon.GraphQL.Schema.ReportType,
Mobilizon.GraphQL.Schema.SearchType,
Mobilizon.GraphQL.Schema.SortType,
Mobilizon.GraphQL.Schema.TagType,
Mobilizon.GraphQL.Schema.UserType,
Mobilizon.GraphQL.Schema.Utils,
Mobilizon.GraphQL.Schema.Custom.Point,
Mobilizon.GraphQL.Schema.Custom.UUID
], ],
ActivityPub: [ ActivityPub: [
Mobilizon.Federation.ActivityPub, ~r/Mobilizon.Federation.ActivityPub/,
Mobilizon.Federation.ActivityPub.Audience, ~r/Mobilizon.Federation.ActivityStream/,
Mobilizon.Federation.ActivityPub.Federator,
Mobilizon.Federation.ActivityPub.Relay,
Mobilizon.Federation.ActivityPub.Transmogrifier,
Mobilizon.Federation.ActivityPub.Visibility,
Mobilizon.Federation.ActivityPub.Utils,
Mobilizon.Federation.ActivityStream.Convertible,
Mobilizon.Federation.ActivityStream.Converter,
Mobilizon.Federation.ActivityStream.Converter.Actor,
Mobilizon.Federation.ActivityStream.Converter.Address,
Mobilizon.Federation.ActivityStream.Converter.Comment,
Mobilizon.Federation.ActivityStream.Converter.Event,
Mobilizon.Federation.ActivityStream.Converter.Flag,
Mobilizon.Federation.ActivityStream.Converter.Follower,
Mobilizon.Federation.ActivityStream.Converter.Participant,
Mobilizon.Federation.ActivityStream.Converter.Media,
Mobilizon.Federation.ActivityStream.Converter.Tombstone,
Mobilizon.Federation.ActivityStream.Converter.Utils,
Mobilizon.Federation.HTTPSignatures.Signature, Mobilizon.Federation.HTTPSignatures.Signature,
Mobilizon.Federation.WebFinger, Mobilizon.Federation.WebFinger,
Mobilizon.Federation.WebFinger.XmlBuilder, Mobilizon.Federation.WebFinger.XmlBuilder,
@ -458,21 +352,7 @@ defmodule Mobilizon.Mixfile do
Mobilizon.Web.ActivityPub.ObjectView Mobilizon.Web.ActivityPub.ObjectView
], ],
Services: [ Services: [
Mobilizon.Service.Export.Feed, ~r/Mobilizon.Service/
Mobilizon.Service.Export.ICalendar,
Mobilizon.Service.Formatter,
Mobilizon.Service.Formatter.HTML,
Mobilizon.Service.Formatter.DefaultScrubbler,
Mobilizon.Service.Metadata,
Mobilizon.Service.Metadata.Actor,
Mobilizon.Service.Metadata.Comment,
Mobilizon.Service.Metadata.Event,
Mobilizon.Service.Metadata.Instance,
Mobilizon.Service.Metadata.Utils,
Mobilizon.Service.Statistics,
Mobilizon.Service.Workers.Background,
Mobilizon.Service.Workers.BuildSearch,
Mobilizon.Service.Workers.Helper
], ],
Tools: [ Tools: [
Mobilizon.Application, Mobilizon.Application,