From 61ece7b660da9d29b190794878a478a48fe5197c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Eric=20Meadows-J=C3=B6nsson?= Date: Fri, 13 Mar 2026 23:00:24 +0100 Subject: [PATCH] Migrate private docs URLs from *.hexdocs.pm to *.hexorgs.pm Update organization doc URL functions to use hexorgs.pm. Public (hexpm/nil) URLs remain on hexdocs.pm. --- lib/hex/utils.ex | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/lib/hex/utils.ex b/lib/hex/utils.ex index 8362143a..11dadda8 100644 --- a/lib/hex/utils.ex +++ b/lib/hex/utils.ex @@ -221,28 +221,28 @@ defmodule Hex.Utils do do: "https://hexdocs.pm/#{package}" def hexdocs_url(organization, package), - do: "https://#{organization}.hexdocs.pm/#{package}" + do: "https://#{organization}.hexorgs.pm/#{package}" def hexdocs_url(organization, package, version) when organization in ["hexpm", nil], do: "https://hexdocs.pm/#{package}/#{version}" def hexdocs_url(organization, package, version), - do: "https://#{organization}.hexdocs.pm/#{package}/#{version}" + do: "https://#{organization}.hexorgs.pm/#{package}/#{version}" def hexdocs_module_url(organization, package, module) when organization in ["hexpm", nil], do: "https://hexdocs.pm/#{package}/#{module}.html" def hexdocs_module_url(organization, package, module), - do: "https://#{organization}.hexdocs.pm/#{package}/#{module}.html" + do: "https://#{organization}.hexorgs.pm/#{package}/#{module}.html" def hexdocs_module_url(organization, package, version, module) when organization in ["hexpm", nil], do: "https://hexdocs.pm/#{package}/#{version}/#{module}.html" def hexdocs_module_url(organization, package, version, module), - do: "https://#{organization}.hexdocs.pm/#{package}/#{version}/#{module}.html" + do: "https://#{organization}.hexorgs.pm/#{package}/#{version}/#{module}.html" def package_retirement_reason(:RETIRED_OTHER), do: "other" def package_retirement_reason(:RETIRED_INVALID), do: "invalid"