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

Add glossary and disambiguate cabal vs Cabal #10631

Draft
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

philderbeast
Copy link
Collaborator

Fixes #9976, by referring to glossary terms.

Warning

Very much a draft but review comments are welcome. Am I on the right track with this?

  • Patches conform to the coding conventions.
  • Is this a PR that fixes CI? If so, it will need to be backported to older cabal release branches (ask maintainers for directions).

@philderbeast philderbeast marked this pull request as draft December 10, 2024 02:40
@@ -92,7 +92,7 @@ You *must* provide a non-empty list of local packages in your project, filling
out either a ``packages`` field or an ``optional-packages`` field or both to
satisfy this requirement.

When ``cabal.project`` doesn't exist, ``cabal-install`` fabricates an ephemeral
When ``cabal.project`` doesn't exist, :term:`cabal-install:exe:cabal` fabricates an ephemeral
Copy link
Collaborator

@geekosaur geekosaur Dec 10, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

In other places, cabal-install describes the package and cabal the command.

@@ -315,7 +315,7 @@ package, and thus apply globally:

:default: 1

Control the verbosity of ``cabal`` commands, valid values are from 0
Control the verbosity of :term:`cabal` commands, valid values are from 0
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

…this line being an example


If you execute ``cabal <cmd>``, ``cabal-install`` will search the path for an executable named ``cabal-<cmd>`` and execute it. The name of the command is passed as the first argument and
If you execute ``cabal <cmd>``, :term:`cabal-install:exe:cabal` will search the path for an executable named ``cabal-<cmd>`` and execute it. The name of the command is passed as the first argument and
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Mmm, and here's a third one for the same thing. Consistency would be nice.

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.

Disambiguate docs, cabal versus Cabal
2 participants