From 698f78ee9a946e159d36982164c112c97d424546 Mon Sep 17 00:00:00 2001 From: Thomas Citharel Date: Thu, 7 Apr 2022 18:37:31 +0200 Subject: [PATCH] Reorganize docs Signed-off-by: Thomas Citharel --- mix.exs | 228 ++++++++++++++------------------------------------------ 1 file changed, 54 insertions(+), 174 deletions(-) diff --git a/mix.exs b/mix.exs index 7fb65ae89..ad4bc3f8e 100644 --- a/mix.exs +++ b/mix.exs @@ -36,7 +36,6 @@ defmodule Mobilizon.Mixfile do ], unused: [ ignore: [ - Mobilizon.Storage.Repo, Mobilizon.Storage.PostgresTypes, Mobilizon.Factory, Mobilizon.Web.Router.Helpers, @@ -268,11 +267,36 @@ defmodule Mobilizon.Mixfile do groups_for_modules: groups_for_modules(), nest_modules_by_prefix: [ Mobilizon, - Mobilizon.Web, - Mobilizon.Service.Geospatial, - Mobilizon.Web.Resolvers, + Mobilizon.Activities, + Mobilizon.Actors, + 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.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 @@ -280,171 +304,41 @@ defmodule Mobilizon.Mixfile do defp groups_for_modules() do [ Models: [ - Mobilizon.Actors, - Mobilizon.Actors.Actor, - Mobilizon.Actors.ActorOpenness, - Mobilizon.Actors.ActorType, - Mobilizon.Actors.MemberRole, - Mobilizon.Actors.Bot, - Mobilizon.Actors.Follower, - Mobilizon.Actors.Member, - Mobilizon.Addresses, - Mobilizon.Addresses.Address, - Mobilizon.Admin, - 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 + ~r/Mobilizon.Actors~r/, + ~r/Mobilizon.Addresses/, + ~r/Mobilizon.Admin/, + ~r/Mobilizon.Events/, + ~r/Mobilizon.Instances/, + ~r/Mobilizon.Medias/, + ~r/Mobilizon.Mention/, + ~r/Mobilizon.Reports/, + ~r/Mobilizon.Share/, + ~r/Mobilizon.Tombstone/, + ~r/Mobilizon.Users/ ], - APIs: [ - Mobilizon.GraphQL.API.Comments, - Mobilizon.GraphQL.API.Events, - Mobilizon.GraphQL.API.Follows, - Mobilizon.GraphQL.API.Groups, - Mobilizon.GraphQL.API.Participations, - Mobilizon.GraphQL.API.Reports, - Mobilizon.GraphQL.API.Search, - Mobilizon.GraphQL.API.Utils + "GraphQL APIs": [ + ~r/Mobilizon.GraphQL.API/ + ], + Emails: [ + ~r/Mobilizon.Web.Email/ ], Web: [ - 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 + ~r/Mobilizon.Web/ ], Geospatial: [ - 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 + ~r/Mobilizon.Service.Geospatial/ ], Localization: [ - Mobilizon.Cldr, - Mobilizon.Web.Gettext + ~r/Mobilizon.Cldr/, + ~r/Mobilizon.Web.Gettext/ ], GraphQL: [ - Mobilizon.Web.GraphQLSocket, - Mobilizon.GraphQL.Resolvers.Address, - 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 + ~r/Mobilizon.Web.GraphQLSocket/, + ~r/Mobilizon.GraphQL/ ], ActivityPub: [ - Mobilizon.Federation.ActivityPub, - Mobilizon.Federation.ActivityPub.Audience, - 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, + ~r/Mobilizon.Federation.ActivityPub/, + ~r/Mobilizon.Federation.ActivityStream/, Mobilizon.Federation.HTTPSignatures.Signature, Mobilizon.Federation.WebFinger, Mobilizon.Federation.WebFinger.XmlBuilder, @@ -458,21 +352,7 @@ defmodule Mobilizon.Mixfile do Mobilizon.Web.ActivityPub.ObjectView ], Services: [ - Mobilizon.Service.Export.Feed, - 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 + ~r/Mobilizon.Service/ ], Tools: [ Mobilizon.Application,