-
Notifications
You must be signed in to change notification settings - Fork 701
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
Dead link in "data-files:" documentation. #7469
Comments
No, the section "prefix independence" is still present in the Cabal docs: https://github.com/haskell/cabal/blob/7d4ce4787cb3d4fe30d08953ad64d19456a77690/doc/setup-commands.rst#prefix-independence Only the link broke, maybe by 3752c3e which moved the text from |
Fix in PR #7586. |
I took away the "wierd bug award", as broken references are easy to creep in.
I'll prepare a new PR that fixes this. P.S.: For the Agda user-manual, we treat warnings as errors ( |
(cherry picked from commit b921271) Co-authored-by: Andreas Abel <[email protected]>
Found four variants, picked the first: 1. ``PATH`` 2. `PATH` 3. ``$PATH`` 4. :envvar:`PATH` The last (4) produced an error with sphinx: ``` doc/cabal-project.rst:644: WARNING: 'envvar' reference target not found: PATH ```
Wasn't immediate to get to the error from the warning ``` doc/cabal-project.rst:2: WARNING: Duplicate ID: "cfg-field-type". ``` (wrong line number, "cfg-field-type" is not greppable).
Strict regime: turn warnings to errors (-W), rebuild from scratch (-E).
PR #7603. |
Good call, thank you. Broken links are indeed not that weird, as opposed to linking away to an imaginary section. |
Found four variants, picked the first: 1. ``PATH`` 2. `PATH` 3. ``$PATH`` 4. :envvar:`PATH` The last (4) produced an error with sphinx: ``` doc/cabal-project.rst:644: WARNING: 'envvar' reference target not found: PATH ```
Wasn't immediate to get to the error from the warning ``` doc/cabal-project.rst:2: WARNING: Duplicate ID: "cfg-field-type". ``` (wrong line number, "cfg-field-type" is not greppable).
Strict regime: turn warnings to errors (-W), rebuild from scratch (-E).
Found four variants, picked the first: 1. ``PATH`` 2. `PATH` 3. ``$PATH`` 4. :envvar:`PATH` The last (4) produced an error with sphinx: ``` doc/cabal-project.rst:644: WARNING: 'envvar' reference target not found: PATH ``` (cherry picked from commit b31bc0b)
Wasn't immediate to get to the error from the warning ``` doc/cabal-project.rst:2: WARNING: Duplicate ID: "cfg-field-type". ``` (wrong line number, "cfg-field-type" is not greppable). (cherry picked from commit 0cee02f)
(cherry picked from commit 9f8b6d1)
Strict regime: turn warnings to errors (-W), rebuild from scratch (-E). (cherry picked from commit 067bb43)
The Accessing data files from package code section of the user guide has a dead link to a non-existent section about "prefix independence":
Googling for it, it seems that section formerly belonged to the GHC User Guide—but it isn't present in the current GHC User Guide.
The text was updated successfully, but these errors were encountered: