Skip to content

Add Hexdocs.pm Domain Migration Blog#1614

Merged
ericmj merged 3 commits into
hexpm:mainfrom
maennchen:jm/hexdocs-domain-blog
Jun 1, 2026
Merged

Add Hexdocs.pm Domain Migration Blog#1614
ericmj merged 3 commits into
hexpm:mainfrom
maennchen:jm/hexdocs-domain-blog

Conversation

@maennchen

Copy link
Copy Markdown
Member
localhost_4000_blog_hexdocs-per-package-subdomains(Screenshot Size)

@github-actions

github-actions Bot commented Jun 1, 2026

Copy link
Copy Markdown

Dependency Review

✅ No vulnerabilities or license issues or OpenSSF Scorecard issues found.

Snapshot Warnings

⚠️: No snapshots were found for the head SHA defc85e.
Ensure 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 Files

None

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`

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@ericmj I don't have any orgs to test, is that correct?

@maennchen maennchen force-pushed the jm/hexdocs-domain-blog branch from 8164f5f to 4db4bda Compare June 1, 2026 16:29
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=.
```
@ericmj ericmj merged commit a9434e8 into hexpm:main Jun 1, 2026
16 checks passed
@ericmj

ericmj commented Jun 1, 2026

Copy link
Copy Markdown
Member

Thank you! 💜

@maennchen maennchen deleted the jm/hexdocs-domain-blog branch June 1, 2026 18:23
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=.
```
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants