Skip to content

Commit

Permalink
Fix baseUrl for juvix docs in Doctor command (#2122)
Browse files Browse the repository at this point in the history
Currently generated links for fixing errors in the `juvix doctor`
command are broken.
Fixing that by updating the base Url link.

Also fixed the link to the installation of juvix in the contributing
guide.
  • Loading branch information
vrom911 authored May 24, 2023
1 parent b4e7dbc commit acb8b0c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ All pull requests will be reviewed by at least one member of the development tea

Thank you for contributing to Juvix!

[installation]: https://docs.juvix.org/howto/installing.html
[installation]: https://docs.juvix.org/dev/howto/installing/
[juvix-codespace]: https://github.com/codespaces/new?hide_repo_select=true&ref=main&repo=102404734&machine=standardLinux32gb&location=WestEurope
[stack]: https://docs.haskellstack.org/en/stable/README/
[pre-commit]: https://pre-commit.com/
Expand Down
2 changes: 1 addition & 1 deletion app/Commands/Doctor.hs
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ documentedMessage w = uncurry DocumentedMessage (first (baseUrl <>) warningInfo)
NoWasmer -> ("could-not-find-the-wasmer-command", "Could not find the wasmer command")

baseUrl :: Text
baseUrl = "https://docs.juvix.org/tooling/doctor.html#"
baseUrl = "https://docs.juvix.org/dev/reference/tooling/doctor/#"

heading :: (Member Log r) => Text -> Sem r ()
heading = log . ("> " <>)
Expand Down

0 comments on commit acb8b0c

Please sign in to comment.