Skip to content

Document the requirement to push releases#2109

Merged
josevalim merged 3 commits intoelixir-lang:mainfrom
axelson:document-pushing-git-tags
Apr 13, 2025
Merged

Document the requirement to push releases#2109
josevalim merged 3 commits intoelixir-lang:mainfrom
axelson:document-pushing-git-tags

Conversation

@axelson
Copy link
Copy Markdown
Contributor

@axelson axelson commented Apr 6, 2025

Currently there isn't any documentation about the requirement to push releases/tags to the source_url to get links to specific versions of the code. So this PR adds this documentation.

I couldn't find a general spot where source_url is talked about so I added an admonition near where it is first introduced.

Background: recently (in PostHog/posthog-elixir#14 (comment)) I was asked where the requirement for pushing git tags comes from. I wasn't able to find any official documentation (here or in https://hexdocs.pm/elixir/writing-documentation.html) so I have created this PR.

Here's what it looks like when I build the documentation locally:
Screenshot 2025-04-06 07-48-40@2x

Currently there isn't any documentation about the requirement to push
releases/tags to the `source_url` to get links to specific versions of
the code. So this PR adds this documentation.

I couldn't find a general spot where `source_url` is talked about so I
added an admonition near where it is first introduced.
@github-actions
Copy link
Copy Markdown

github-actions bot commented Apr 6, 2025

axelson and others added 2 commits April 8, 2025 06:10
@axelson
Copy link
Copy Markdown
Contributor Author

axelson commented Apr 12, 2025

@josevalim okay I've extracted this to a new section and it is now ready for another look!

@josevalim josevalim merged commit ec3cb53 into elixir-lang:main Apr 13, 2025
5 checks passed
@josevalim
Copy link
Copy Markdown
Member

💚 💙 💜 💛 ❤️

rafaeelaudibert added a commit to PostHog/posthog-elixir that referenced this pull request Apr 14, 2025
Besides including the `source_url` added in #14, let's also add some images and include `source_ref` - per elixir-lang/ex_doc#2109
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

2 participants