Skip to content

Commit

Permalink
Rename include files to vcs/*
Browse files Browse the repository at this point in the history
  • Loading branch information
philderbeast committed Nov 22, 2024
1 parent c1419c7 commit c6a99e7
Show file tree
Hide file tree
Showing 9 changed files with 16 additions and 16 deletions.
10 changes: 5 additions & 5 deletions doc/cabal-package-description-file.rst
Original file line number Diff line number Diff line change
Expand Up @@ -2747,13 +2747,13 @@ The :ref:`VCS fields<vcs-fields>` of ``source-repository`` are:

This field is required.

.. include:: for-duplication/vcs-kind.rst
.. include:: vcs/kind.rst

.. pkg-field:: location: VCS location

This field is required.

.. include:: for-duplication/vcs-location.rst
.. include:: vcs/location.rst

.. pkg-field:: module: token

Expand All @@ -2767,7 +2767,7 @@ The :ref:`VCS fields<vcs-fields>` of ``source-repository`` are:

This field is optional.

.. include:: for-duplication/vcs-branch.rst
.. include:: vcs/branch.rst

.. pkg-field:: tag: VCS tag

Expand All @@ -2776,13 +2776,13 @@ The :ref:`VCS fields<vcs-fields>` of ``source-repository`` are:
This might be used to indicate what sources to get if someone needs to fix a
bug in an older branch that is no longer an active head branch.

.. include:: for-duplication/vcs-tag.rst
.. include:: vcs/tag.rst

.. pkg-field:: subdir: VCS subdirectory

This field is optional but, if given, specifies a single subdirectory.

.. include:: for-duplication/vcs-subdir.rst
.. include:: vcs/subdir.rst

.. _setup-hooks:

Expand Down
10 changes: 5 additions & 5 deletions doc/cabal-project-description-file.rst
Original file line number Diff line number Diff line change
Expand Up @@ -269,32 +269,32 @@ The :ref:`VCS fields<vcs-fields>` of ``source-repository-package`` are:

This field is required.

.. include:: for-duplication/vcs-kind.rst
.. include:: vcs/kind.rst

.. cfg-field:: location: VCS location

This field is required.

.. include:: for-duplication/vcs-location.rst
.. include:: vcs/location.rst

.. cfg-field:: branch: VCS branch

This field is optional.

.. include:: for-duplication/vcs-branch.rst
.. include:: vcs/branch.rst

.. cfg-field:: tag: VCS tag

This field is optional.

.. include:: for-duplication/vcs-tag.rst
.. include:: vcs/tag.rst

.. cfg-field:: subdir: VCS subdirectory list

Look in one or more subdirectories of the repository for cabal files, rather
than the root. This field is optional.

.. include:: for-duplication/vcs-subdir.rst
.. include:: vcs/subdir.rst

.. cfg-field:: post-checkout-command: command

Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
12 changes: 6 additions & 6 deletions doc/version-control-fields.rst
Original file line number Diff line number Diff line change
Expand Up @@ -3,31 +3,31 @@ Version Control System Fields

.. _vcs-fields:

.. include:: for-duplication/vcs-fields.rst
.. include:: vcs/fields.rst

.. _vcs-kind:

VCS kind
^^^^^^^^

.. include:: for-duplication/vcs-kind.rst
.. include:: vcs/kind.rst

VCS location
^^^^^^^^^^^^

.. include:: for-duplication/vcs-location.rst
.. include:: vcs/location.rst

VCS branch
^^^^^^^^^^

.. include:: for-duplication/vcs-branch.rst
.. include:: vcs/branch.rst

VCS tag
^^^^^^^

.. include:: for-duplication/vcs-tag.rst
.. include:: vcs/tag.rst

VCS subdirectory
^^^^^^^^^^^^^^^^

.. include:: for-duplication/vcs-subdir.rst
.. include:: vcs/subdir.rst

0 comments on commit c6a99e7

Please sign in to comment.