You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.adoc
+4-4Lines changed: 4 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -131,7 +131,7 @@ Clone the UI project using git:
131
131
132
132
[subs=attributes+]
133
133
$ git clone {url-project} &&
134
-
cd "`basename $_`"
134
+
cd "$(basename "$_" .git)"
135
135
136
136
The example above clones the Couchbase docs UI project and then switches to the project folder on your filesystem.
137
137
Stay in this project folder when executing all subsequent commands.
@@ -144,7 +144,7 @@ In your terminal, execute the following command:
144
144
This command installs the dependencies listed in [.path]_package.json_ into the [.path]_node_modules/_ folder inside the project.
145
145
This folder does not get included in the UI bundle and should _not_ be committed to the source control repository.
146
146
147
-
In order for the pro Font Awesome icons work, you must first add the following file to the root folder of the UI project:
147
+
In order for the pro Font Awesome icons to work, you must first add the following file to the root folder of the UI project:
148
148
149
149
..npmrc
150
150
----
@@ -386,7 +386,7 @@ This section documents the logic used to compute the URL for the View Latest but
386
386
If the version of the current page does not match the latest version of the component (i.e., product), a banner is displayed to the visitor.
387
387
If the version is a prerelease, the banner states that you're viewing a prerelease version.
388
388
If the version is an older stable release, the banner states that a newer version is available.
389
-
On the banner offers a button named "View Latest" that directs the visitor to the latest version.
389
+
The banner offers a button named "View Latest" that directs the visitor to the latest version.
390
390
391
391
The "View Latest" button tries to preserve the current page when switching versions.
392
392
If the page is no longer available, then the button directs the user to the start page for the component.
@@ -528,7 +528,7 @@ SCM::
528
528
* [x] Lightweight checkout
529
529
====
530
530
531
-
In the Jenkinsfile, a credentials function is used to binds the value of the personal access token for the cb-docs-robot read from the specified Jenkins credential to the `GITHUB_API_TOKEN` environment varaible.
531
+
In the Jenkinsfile, a credentials function is used to bind the value of the personal access token for the cb-docs-robot read from the specified Jenkins credential to the `GITHUB_API_TOKEN` environment variable.
532
532
This environment variable is used by the release task to authenticate against the GitHub API as the cb-docs-robot user.
533
533
534
534
The heart of the build are the `sh` commands defined in the Jenkinsfile.
0 commit comments