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 the credo docs when app is not credo #1190

Merged
merged 1 commit into from
Apr 8, 2025

Conversation

danschultzer
Copy link
Contributor

The docs didn't link correctly with Credo checks in other libraries because there's just a relative ref to the extra page. This PR will autolink the Credo extra pages references as per: https://hexdocs.pm/ex_doc/readme.html#auto-linking

Unfortunately it doesn't seem that ExDoc understands how to link e:credo:EXTRA_PAGE.html correctly when used in the same library. The link just becomes credo/EXTRA_PAGE.html instead of EXTRA_PAGE.html properly because there's nothing in the deps. So I'm only using the autolink when outside Credo.

@rrrene rrrene merged commit 0dff386 into rrrene:master Apr 8, 2025
17 of 19 checks passed
@rrrene
Copy link
Owner

rrrene commented Apr 8, 2025

Thx! 👍

@danschultzer danschultzer deleted the credo-docs-uri branch April 8, 2025 19:35
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