From 80152bd6ead19012124bf83024d8e3866d798e0f Mon Sep 17 00:00:00 2001 From: "T.C. Williams" Date: Fri, 29 Oct 2021 16:42:32 -0400 Subject: [PATCH] #179-More consistent format changes --- modules/ROOT/pages/_partials/proc_adding-repositories.adoc | 4 ++-- .../ROOT/pages/_partials/proc_disabling-repositories.adoc | 6 +++--- .../ROOT/pages/_partials/proc_enabling-repositories.adoc | 6 +++--- 3 files changed, 8 insertions(+), 8 deletions(-) diff --git a/modules/ROOT/pages/_partials/proc_adding-repositories.adoc b/modules/ROOT/pages/_partials/proc_adding-repositories.adoc index 33a4852..cae1546 100644 --- a/modules/ROOT/pages/_partials/proc_adding-repositories.adoc +++ b/modules/ROOT/pages/_partials/proc_adding-repositories.adoc @@ -13,10 +13,10 @@ This section describes how to add software repositories with the `dnf config-man + [literal,subs="+quotes,attributes"] ---- -dnf config-manager --add-repo _repository_ +dnf config-manager --add-repo `*_repository_*` ---- + -Replace `_repository_` with the path to the created `.repo` file, for example: +Where *_repository_* is the path to the created `.repo` file, for example: + ---- dnf config-manager --add-repo /etc/yum.repos.d/fedora_extras.repo diff --git a/modules/ROOT/pages/_partials/proc_disabling-repositories.adoc b/modules/ROOT/pages/_partials/proc_disabling-repositories.adoc index b0b7647..52e7769 100644 --- a/modules/ROOT/pages/_partials/proc_disabling-repositories.adoc +++ b/modules/ROOT/pages/_partials/proc_disabling-repositories.adoc @@ -3,14 +3,14 @@ This section shows how to disable a particular software repository by using the `dnf config-manager` command. -* To disable a particular repository, use the following command as `*root*`: +* To disable a particular repository, run the following command as `*root*`. + [literal,subs="+quotes,attributes"] ---- -dnf config-manager --set-disabled _repository_ +dnf config-manager --set-disabled *_repository_* ---- + -Replace `_repository_` with the unique repository ID, for example: +Where *_repository_* is the unique repository ID, for example: + ---- dnf config-manager --set-disabled fedora-extras diff --git a/modules/ROOT/pages/_partials/proc_enabling-repositories.adoc b/modules/ROOT/pages/_partials/proc_enabling-repositories.adoc index 321c0f8..cbfec9a 100644 --- a/modules/ROOT/pages/_partials/proc_enabling-repositories.adoc +++ b/modules/ROOT/pages/_partials/proc_enabling-repositories.adoc @@ -3,14 +3,14 @@ This section shows how to enable a particular software repository by using the `dnf config-manager` command. -* To enable a particular repository, use the following command as `*root*`. +* To enable a particular repository, run the following command as `*root*`. + [literal,subs="+quotes,attributes"] ---- -dnf config-manager --set-enabled '_repository_` +dnf config-manager --set-enabled *_repository_* ---- + -Replace `_repository_` with the unique repository ID, for example: +Where *_repository_* is the unique repository ID, for example: + ---- dnf config-manager --set-enabled fedora-extras