Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Link to Schema primitive types docs from Migration docs #459

Merged
merged 1 commit into from
Nov 23, 2022
Merged

Conversation

adamu
Copy link
Contributor

@adamu adamu commented Nov 23, 2022

The Ecto.Migration docs often mention types, and it's convenient to be able to cross-reference with the list of supported types. However, the Field Types section of the docs does not list the types, and in fact they're not listed anywhere in the package - instead being listed in the Ecto.Schema module of the ecto package.

This PR adds a link to the primitive types section of the Ecto.Schema docs from the Field Types section of the Ecto.Migration docs. It appears that ExDoc does not support dynamic linking to a section of a module doc, so I went with a full hyperlink to hexdocs.

Source:
image

Destination:
image

@greg-rychlewski greg-rychlewski merged commit 392a85e into elixir-ecto:master Nov 23, 2022
@greg-rychlewski
Copy link
Member

Thank you!

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.

None yet

2 participants