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: docs/contribute/documentation.md
+28-5Lines changed: 28 additions & 5 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -8,19 +8,42 @@ To work on documentation and be able to view the rendered web site you need to c
8
8
9
9
=== "Tooling within a Docker container"
10
10
11
-
You can use a Docker container and run MkDocs from the container, so no local installation is required:
11
+
You can use a Docker container and run MkDocs from the container, so no local installation is required.
12
+
13
+
**Prerequisites**
12
14
13
15
- You need to have [Docker](https://www.docker.com) installed and running on your system
14
16
- There are helper configurations installed if you have npm from [Node.JS](https://nodejs.org) installed.
15
-
- Build the development docker container image, this is only need it once if the dependencies have not changed. Run `npm run dev:build`
17
+
18
+
**Setup**
19
+
20
+
Build the development docker container image, this is only need it once if the dependencies have not changed.
21
+
22
+
- Run `npm run dev:build`
23
+
24
+
**Work with the development environment**
25
+
26
+
_Start_
27
+
16
28
- To start developing run command `npm run dev` in the root directory of the git repo (where **package.json** and **mkdocs.yaml** are located)
17
29
- Open a browser to `http://localhost:8000`, where you will see the documentation site. This will live update as you save changes to the Markdown files in the docs folder
18
-
- To stop developing run command `npm dev:stop` in another terminal window, which will terminate the docker container
19
-
- View the scripts section of **package.json** in the root folder of the git repo for additional options available
20
-
- To build the static HTML file and check all links and spelling run command `npm run build`
30
+
31
+
_Stop_
32
+
33
+
- Run `npm dev:stop` in another terminal window, which will terminate the docker container
34
+
35
+
_Link checker_
36
+
21
37
- To check links in the built site (`npm run build` must be run first), use the linkchecker, with command `npm run dev:links`. This command should be run in the root folder of the project, containing the **linkcheckerrc** file.
38
+
39
+
_Spell checker_
40
+
22
41
- To check spelling `npm run dev:spell` should be run in the root folder of the project, containing the **cspell.json** file.
23
42
43
+
_Build static site_
44
+
45
+
- To build the static HTML file and check all links and spelling run command `npm run build`
46
+
24
47
=== "Local mkdocs and python tooling installation"
25
48
26
49
You can install MkDocs and associated plugins on your development system and run the tools locally:
Copy file name to clipboardExpand all lines: docs/learning/dev-setup.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -40,7 +40,7 @@ To install the IBM Cloud CLI follow the instructions in the [IBM Cloud documenta
40
40
41
41
The oc command is available from all installations of RedHat OpenShift or CodeReady Containers. Navigate and log into the web console for the cluster, then in the dropdown accessed by clicking the help icon (a question mark next to you username at the top of the web console) you will find a link to the install images for various operating systems.
42
42
43
-
The install images are also available to download from [RedHat](https://mirror.openshift.com/pub/openshift-v4/x86_64/clients/ocp/){: target=_blank}. Be sure to get the latest version of the oc command.
43
+
The install images are also available to download from [RedHat](https://mirror.openshift.com/pub/openshift-v4/x86_64/clients/ocp/stable/){: target=_blank}. Be sure to get the latest version of the oc command.
Copy file name to clipboardExpand all lines: docs/reference/tools/sonar-qube.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -10,7 +10,7 @@ SonarQube performs static code analysis to evaluate code quality, using analysis
10
10
-**Application Security**: Detect vulnerabilities and hot spots that can be exploited to compromise the program
11
11
-**Technical Debt**: Keep you codebase maintainable to increase developer velocity
12
12
13
-
SonarQube [plugs into the application lifecycle management (ALM)](https://docs.sonarqube.org/latest/architecture/architecture-integration/#header-2) process to make continuous inspection part of continuous integration. Adding code analysis to ALM provides regular, timely feedback on the quality of the code being produced. The goal is to detect problems as soon as possible so that they can be resolved before they can impact production end users.
13
+
SonarQube [plugs into the application lifecycle management (ALM)](https://docs.sonarqube.org/latest/#header-1) process to make continuous inspection part of continuous integration. Adding code analysis to ALM provides regular, timely feedback on the quality of the code being produced. The goal is to detect problems as soon as possible so that they can be resolved before they can impact production end users.
14
14
15
15
The continuous integration (CI) server integrates SonarQube into the ALM.The SonarQube solution consists of several components: The central component is the SonarQube Server, which runs the SonarScanner, processes the resulting analysis reports, stores the reports in SonarQube Database, and displays the reports in the SonarQube UI. A CI server uses a stage/goal/task in its build automation to trigger the language-specific SonarScanner to scan the code being built. Developers can view the resulting analysis report in the SonarQube UI.
0 commit comments