Add Hexdocs.pm Domain Migration Blog#1614
Merged
Merged
Conversation
maennchen
commented
Jun 1, 2026
Member
Dependency Review✅ No vulnerabilities or license issues or OpenSSF Scorecard issues found.Snapshot WarningsEnsure that dependencies are being submitted on PR branches and consider enabling retry-on-snapshot-warnings. See the documentation for more information and troubleshooting advice. Scanned FilesNone |
maennchen
commented
Jun 1, 2026
| HexDocs URLs are changing. Public package docs move from `hexdocs.pm/package` to `package.hexdocs.pm`, and private organization docs move from `org.hexdocs.pm/package` to `org.hexorg.pm/package` (note the new top-level domain). This isolates packages from each other in the browser, addressing a finding from our recent [security audit](/blog/security-audit). | ||
|
|
||
| * Public packages: `hexdocs.pm/package` → `package.hexdocs.pm` | ||
| * Organization packages: `org.hexdocs.pm/package` → `org.hexorg.pm/package` |
Member
Author
There was a problem hiding this comment.
@ericmj I don't have any orgs to test, is that correct?
8164f5f to
4db4bda
Compare
SteffenDE
pushed a commit
to phoenixframework/phoenix
that referenced
this pull request
Jun 1, 2026
See hexpm/hexpm#1614 This is the command to update the URLs: ```sh git grep -IlZ -E 'https://hexdocs\.pm/[A-Za-z0-9_]+' -- \ ':!doc/**' ':!_build/**' ':!deps/**' | xargs -0 perl -0pi -e 's{https://hexdocs\.pm/([A-Za-z0-9_]+)}{"https://" . ($1 =~ s/_/-/gr) . ".hexdocs.pm"}ge' ``` The diff is best viewed with: ``` git diff --word-diff=color --word-diff-regex=. ```
Member
|
Thank you! 💜 |
SteffenDE
pushed a commit
to phoenixframework/phoenix_live_view
that referenced
this pull request
Jun 1, 2026
See hexpm/hexpm#1614 This is the command to update the URLs: ```sh git grep -Ilz -E 'https://hexdocs\.pm/[A-Za-z0-9_]+' | perl -0ne 'print unless m{\A(?:doc|_build|deps)/}' | xargs -0 -r perl -0pi -e 's{https://hexdocs\.pm/([A-Za-z0-9_]+)}{"https://" . ($1 =~ s/_/-/gr) . ".hexdocs.pm"}ge' ``` The diff is best viewed with: ``` git diff --word-diff=color --word-diff-regex=. ```
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.