Skip to content

Commit

Permalink
Remove deprecated funs from docs (#845)
Browse files Browse the repository at this point in the history
  • Loading branch information
lkarthee authored Feb 2, 2024
1 parent c02f810 commit b902d23
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 5 deletions.
6 changes: 3 additions & 3 deletions lib/explorer/data_frame.ex
Original file line number Diff line number Diff line change
Expand Up @@ -1622,7 +1622,7 @@ defmodule Explorer.DataFrame do
def lazy(df), do: Shared.apply_impl(df, :lazy)

@deprecated "Use lazy/1 instead"
@doc type: :deprecated
@doc false
def to_lazy(df), do: Shared.apply_impl(df, :lazy)

@doc """
Expand Down Expand Up @@ -3173,7 +3173,7 @@ defmodule Explorer.DataFrame do
end

@deprecated "Use sort_by/3 instead"
@doc type: :deprecated
@doc false
defmacro arrange(df, query, opts \\ []) do
quote do
Explorer.DataFrame.sort_by(unquote(df), unquote(query), unquote(opts))
Expand Down Expand Up @@ -3299,7 +3299,7 @@ defmodule Explorer.DataFrame do
end

@deprecated "Use sort_with/3 instead"
@doc type: :deprecated
@doc false
def arrange_with(df, fun, opts \\ []), do: sort_with(df, fun, opts)

@doc """
Expand Down
3 changes: 1 addition & 2 deletions mix.exs
Original file line number Diff line number Diff line change
Expand Up @@ -97,8 +97,7 @@ defmodule Explorer.MixProject do
"Functions: Introspection": &(&1[:type] == :introspection),
"Functions: IO": &(&1[:type] == :io),
"Functions: Shape": &(&1[:type] == :shape),
"Functions: Window": &(&1[:type] == :window),
"Functions: Deprecated": &(&1[:type] == :deprecated)
"Functions: Window": &(&1[:type] == :window)
],
extras: ["notebooks/exploring_explorer.livemd", "CHANGELOG.md"],
skip_undefined_reference_warnings_on: ["CHANGELOG.md"]
Expand Down

0 comments on commit b902d23

Please sign in to comment.