lib/mix/tasks: s/@doc/@moduledoc/
This commit is contained in:
parent
5e3207045e
commit
5ecb5629f6
5 changed files with 5 additions and 5 deletions
|
@ -2,7 +2,7 @@ defmodule Mix.Tasks.GeneratePasswordReset do
|
||||||
use Mix.Task
|
use Mix.Task
|
||||||
alias Pleroma.User
|
alias Pleroma.User
|
||||||
|
|
||||||
@doc """
|
@moduledoc """
|
||||||
Generate password reset link for user
|
Generate password reset link for user
|
||||||
|
|
||||||
Usage: ``mix generate_password_reset <nickname>``
|
Usage: ``mix generate_password_reset <nickname>``
|
||||||
|
|
|
@ -2,7 +2,7 @@ defmodule Mix.Tasks.ReactivateUser do
|
||||||
use Mix.Task
|
use Mix.Task
|
||||||
alias Pleroma.User
|
alias Pleroma.User
|
||||||
|
|
||||||
@doc """
|
@moduledoc """
|
||||||
Reactivate a user
|
Reactivate a user
|
||||||
|
|
||||||
Usage: ``mix reactivate_user <nickname>``
|
Usage: ``mix reactivate_user <nickname>``
|
||||||
|
|
|
@ -4,7 +4,7 @@ defmodule Mix.Tasks.RelayFollow do
|
||||||
alias Pleroma.Web.ActivityPub.Relay
|
alias Pleroma.Web.ActivityPub.Relay
|
||||||
|
|
||||||
@shortdoc "Follows a remote relay"
|
@shortdoc "Follows a remote relay"
|
||||||
@doc """
|
@moduledoc """
|
||||||
Follows a remote relay
|
Follows a remote relay
|
||||||
|
|
||||||
Usage: ``mix relay_follow <relay_url>``
|
Usage: ``mix relay_follow <relay_url>``
|
||||||
|
|
|
@ -3,7 +3,7 @@ defmodule Mix.Tasks.RelayUnfollow do
|
||||||
require Logger
|
require Logger
|
||||||
alias Pleroma.Web.ActivityPub.Relay
|
alias Pleroma.Web.ActivityPub.Relay
|
||||||
|
|
||||||
@doc """
|
@moduledoc """
|
||||||
Unfollows a remote relay
|
Unfollows a remote relay
|
||||||
|
|
||||||
Usage: ``mix relay_follow <relay_url>``
|
Usage: ``mix relay_follow <relay_url>``
|
||||||
|
|
|
@ -3,7 +3,7 @@ defmodule Mix.Tasks.UnsubscribeUser do
|
||||||
alias Pleroma.{User, Repo}
|
alias Pleroma.{User, Repo}
|
||||||
require Logger
|
require Logger
|
||||||
|
|
||||||
@doc """
|
@moduledoc """
|
||||||
Deactivate and Unsubscribe local users from a user
|
Deactivate and Unsubscribe local users from a user
|
||||||
|
|
||||||
Usage: ``mix unsubscribe_user <nickname>``
|
Usage: ``mix unsubscribe_user <nickname>``
|
||||||
|
|
Loading…
Reference in a new issue