Skip to content

Commit

Permalink
Do not copy legacy .woff to dist
Browse files Browse the repository at this point in the history
  • Loading branch information
cw789 committed Sep 17, 2022
1 parent ea091e5 commit a888a90
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
3 changes: 1 addition & 2 deletions lib/ex_doc/formatter/html.ex
Original file line number Diff line number Diff line change
Expand Up @@ -300,8 +300,7 @@ defmodule ExDoc.Formatter.HTML do
defp default_assets(config) do
[
{Assets.dist(config.proglang), "dist"},
{Assets.fonts(), "dist"},
{Assets.fonts_legacy(), "dist"}
{Assets.fonts(), "dist"}
]
end

Expand Down
1 change: 0 additions & 1 deletion lib/ex_doc/formatter/html/assets.ex
Original file line number Diff line number Diff line change
Expand Up @@ -16,5 +16,4 @@ defmodule ExDoc.Formatter.HTML.Assets do
defp dist_license(), do: embed_pattern("dist/*.LICENSE.txt")

def fonts, do: embed_pattern("dist/*.woff2")
def fonts_legacy, do: embed_pattern("dist/*.woff")
end

0 comments on commit a888a90

Please sign in to comment.