Skip to content

Commit 133abd1

Browse files
many: Fix title case of Git references (#1938) (#1941)
* many: Fix title case of Git references Currently many references of the Git software don't use title case, this patch fixes them while leaving those that should remain lowercase intact: * `git` command call in code blocks. * Git references in changelog entries should stay consistent with the revision title. Fixes #1935. Signed-off-by: 林博仁(Buo-ren Lin) <[email protected]> * Update docs/docsite/rst/dev_guide/testing_integration.rst Fix command markup. Co-authored-by: Felix Fontein <[email protected]> * Update hacking/README.md Also fix title case of Python. Co-authored-by: Felix Fontein <[email protected]> --------- Signed-off-by: 林博仁(Buo-ren Lin) <[email protected]> Co-authored-by: Felix Fontein <[email protected]> (cherry picked from commit dce7507) Co-authored-by: 林博仁 Buo-ren Lin <[email protected]>
1 parent 3938f3c commit 133abd1

26 files changed

+38
-38
lines changed

CONTRIBUTING.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ nondescriptive commit messages.
4040
For other more complex changes—especially those that involve the docs build
4141
scripts or other tooling code—it may be desirable to preserve the full commit
4242
history to keep logical changes separated and avoid clobbering useful metadata
43-
so the git history remains useful in the future. The maintainer who merges the
43+
so the Git history remains useful in the future. The maintainer who merges the
4444
PR can select the merge mode through the dropdown menu next to the green merge
4545
button.
4646
Generally, maintainers should apply PRs using `Squash and merge`.

docs/docsite/rst/collections_guide/collections_installing.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -109,7 +109,7 @@ You can also include signatures in addition to those provided by the distributio
109109
110110
ansible-galaxy collection install my_namespace.my_collection --signature https://examplehost.com/detached_signature.asc --keyring ~/.ansible/pubring.kbx
111111
112-
GnuPG verification only occurs for collections installed from a distribution server. User-provided signatures are not used to verify collections installed from git repositories, source directories, or URLs/paths to tar.gz files.
112+
GnuPG verification only occurs for collections installed from a distribution server. User-provided signatures are not used to verify collections installed from Git repositories, source directories, or URLs/paths to tar.gz files.
113113

114114
You can also include additional signatures in the collection ``requirements.yml`` file under the ``signatures`` key.
115115

@@ -202,7 +202,7 @@ Installing a collection from source files
202202

203203
.. include:: ../shared_snippets/installing_collections_file.rst
204204

205-
Installing a collection from a git repository
205+
Installing a collection from a Git repository
206206
---------------------------------------------
207207

208208
.. include:: ../shared_snippets/installing_collections_git_repo.txt

docs/docsite/rst/community/collection_contributors/collection_release_with_branches.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -255,7 +255,7 @@ Releasing when more minor versions are expected
255255
The format is reStructuredText but not a list as for regular changelog fragments.
256256
This text will be inserted into the changelog.
257257
258-
Add to git and commit.
258+
Add to Git and commit.
259259

260260
5. Generate the changelogs.
261261

docs/docsite/rst/community/collection_contributors/collection_requirements.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -375,15 +375,15 @@ and lower barriers to contribution.
375375
Repository management
376376
=====================
377377

378-
* Every collection MUST have a public git repository.
378+
* Every collection MUST have a public Git repository.
379379
* Releases of the collection MUST be tagged in its repository.
380380

381381
* The ``git`` utility with the ``tag`` argument MUST be used to tag the releases.
382382
* The tag name MUST exactly match the Galaxy version number.
383383
* Tag names MAY have a ``v`` prefix.
384384
* Tag names MUST have a consistent format from release to release.
385385

386-
* Collection artifacts released to Galaxy MUST be built from the sources that are tagged in the collection's git repository as that release.
386+
* Collection artifacts released to Galaxy MUST be built from the sources that are tagged in the collection's Git repository as that release.
387387

388388
* Any changes made during the build process MUST be clearly documented so the collection artifact can be reproduced.
389389

docs/docsite/rst/community/documentation_contributions.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ Contributing to the Ansible Documentation
66

77
Ansible has a lot of documentation and a small team of writers. Community support helps us keep up with new features, fixes, and changes.
88

9-
Improving the documentation is an easy way to make your first contribution to the Ansible project. You do not have to be a programmer, since most of our documentation is written in YAML (module documentation) or `reStructuredText <https://docutils.sourceforge.io/rst.html>`_ (rST). Some collection-level documentation is written in a subset of `Markdown <https://github.com/ansible/ansible/issues/68119#issuecomment-596723053>`_. If you are using Ansible, you already use YAML in your playbooks. rST and Markdown are mostly just text. You do not even need git experience, if you use the ``Edit on GitHub`` option.
9+
Improving the documentation is an easy way to make your first contribution to the Ansible project. You do not have to be a programmer, since most of our documentation is written in YAML (module documentation) or `reStructuredText <https://docutils.sourceforge.io/rst.html>`_ (rST). Some collection-level documentation is written in a subset of `Markdown <https://github.com/ansible/ansible/issues/68119#issuecomment-596723053>`_. If you are using Ansible, you already use YAML in your playbooks. rST and Markdown are mostly just text. You do not even need Git experience, if you use the ``Edit on GitHub`` option.
1010

1111
If you find a typo, a broken example, a missing topic, or any other error or omission on this documentation website, let us know. Here are some ways to support Ansible documentation:
1212

docs/docsite/rst/community/maintainers_workflow.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ Collection maintainers are responsible for releasing new versions of a collectio
5151

5252
#. Planning and announcement.
5353
#. Generating a changelog.
54-
#. Creating a release git tag and pushing it.
54+
#. Creating a release Git tag and pushing it.
5555
#. Automatically publishing the release tarball on `Ansible Galaxy <https://galaxy.ansible.com/>`_ through the `Zuul dashboard <https://dashboard.zuul.ansible.com/t/ansible/builds?pipeline=release>`_.
5656
#. Final announcement.
5757
#. Optionally, `file a request to include a new collection into the Ansible package <https://github.com/ansible-collections/ansible-inclusion>`_.

docs/docsite/rst/community/other_tools_and_programs.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ Sublime
4040

4141
A closed-source, subscription GUI text editor. You can customize the GUI with themes and install packages for language highlighting and other refinements. You can install Sublime on Linux, macOS and Windows. Useful Sublime plugins include:
4242

43-
* `GitGutter <https://packagecontrol.io/packages/GitGutter>`_ - shows information about files in a git repository.
43+
* `GitGutter <https://packagecontrol.io/packages/GitGutter>`_ - shows information about files in a Git repository.
4444
* `SideBarEnhancements <https://packagecontrol.io/packages/SideBarEnhancements>`_ - provides enhancements to the operations on Sidebar of Files and Folders.
4545
* `Sublime Linter <https://packagecontrol.io/packages/SublimeLinter>`_ - a code-linting framework for Sublime Text 3.
4646
* `Pretty YAML <https://packagecontrol.io/packages/Pretty%20YAML>`_ - prettifies YAML for Sublime Text 2 and 3.

docs/docsite/rst/dev_guide/developing_collections_contributing.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
Contributing to collections
55
***************************
66

7-
If you want to add functionality to an existing collection, modify a collection you are using to fix a bug, or change the behavior of a module in a collection, clone the git repository for that collection and make changes on a branch. You can combine changes to a collection with a local checkout of Ansible (``source hacking/env-setup``).
7+
If you want to add functionality to an existing collection, modify a collection you are using to fix a bug, or change the behavior of a module in a collection, clone the Git repository for that collection and make changes on a branch. You can combine changes to a collection with a local checkout of Ansible (``source hacking/env-setup``).
88
You should first check the collection repository to see if it has specific contribution guidelines. These are typically listed in the README.md or CONTRIBUTING.md files within the repository.
99
See :ref:`collection_quickstart` for more general guidelines and :ref:`testing_running_locally` for testing guidelines.
1010

docs/docsite/rst/dev_guide/developing_collections_creating.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ There are a few special namespaces:
4242

4343
:local:
4444

45-
The `local namespace <https://galaxy.ansible.com/ui/namespaces/local/>`_ does not contain any collection on Ansible Galaxy, and the intention is that this will never change. You can use the ``local`` namespace for collections that are locally on your machine or locally in your git repositories, without having to fear collisions with actually existing collections on Ansible Galaxy.
45+
The `local namespace <https://galaxy.ansible.com/ui/namespaces/local/>`_ does not contain any collection on Ansible Galaxy, and the intention is that this will never change. You can use the ``local`` namespace for collections that are locally on your machine or locally in your Git repositories, without having to fear collisions with actually existing collections on Ansible Galaxy.
4646

4747
.. _creating_new_collections:
4848

docs/docsite/rst/dev_guide/developing_collections_distributing.rst

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -301,7 +301,7 @@ Installing your collection locally
301301
You have two options for installing your collection locally:
302302

303303
* Install your collection locally from the tarball.
304-
* Install your collection locally from your git repository.
304+
* Install your collection locally from your Git repository.
305305

306306
Installing your collection locally from the tarball
307307
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
@@ -316,10 +316,10 @@ Install the tarball into a directory configured in :ref:`COLLECTIONS_PATHS` so A
316316

317317
.. _collections_scm_install:
318318

319-
Installing your collection locally from a git repository
319+
Installing your collection locally from a Git repository
320320
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
321321

322-
To install your collection locally from a git repository, specify the repository and the branch you want to install:
322+
To install your collection locally from a Git repository, specify the repository and the branch you want to install:
323323

324324
.. code-block:: bash
325325

0 commit comments

Comments
 (0)