Skip to content

Commit

Permalink
[chore][docs] enable Markdown lint rule MD024
Browse files Browse the repository at this point in the history
* MD024: Multiple headers with the same content

https://github.com/markdownlint/markdownlint/blob/main/docs/RULES.md

Signed-off-by: David Xia <[email protected]>
  • Loading branch information
davidxia committed Feb 27, 2025
1 parent 2bd5c9e commit 04117d7
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 10 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
<!-- markdownlint-disable MD024 -->
# Change Log

All notable changes to this project will be documented in this file.
Expand Down
1 change: 0 additions & 1 deletion ci/markdownlint.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
default: true

MD013: false
MD024: false
MD036: false
MD041: false
MD050: false
Expand Down
16 changes: 7 additions & 9 deletions ray-operator/DEVELOPMENT.md
Original file line number Diff line number Diff line change
Expand Up @@ -29,9 +29,7 @@ export GOROOT=$(go1.22.4 env GOROOT)
export PATH="$GOROOT/bin:$PATH"
```

## Development

### IDE Setup (VS Code)
## IDE Setup (VS Code)

* Step 1: Install the [VS Code Go extension](https://marketplace.visualstudio.com/items?itemName=golang.go).
* Step 2: Import the KubeRay workspace configuration by using the file `kuberay.code-workspace` in the root of the KubeRay git repo:
Expand All @@ -47,7 +45,7 @@ All the following guidance require you to switch your working directory to the `
cd ray-operator
```

### Cleanup local binaries, such as controller-gen and kustomize
## Cleanup local binaries, such as controller-gen and kustomize

To keep consistent results of code generation and testing, you need to remove outdated binaries installed by the Makefile.

Expand All @@ -57,9 +55,9 @@ rm -rf bin
make clean
```

### End-to-end local development process on Kind
## End-to-end local development process on Kind

#### Run the operator inside the cluster
### Run the operator inside the cluster

```bash
# Step 1: Create a Kind cluster
Expand Down Expand Up @@ -100,7 +98,7 @@ kubectl logs {YOUR_OPERATOR_POD} | grep "Hello KubeRay"
* The command `make docker-build` (Step 3) will also run `make test` (unit tests).
* Step 6 also installs the custom resource definitions (CRDs) used by the KubeRay operator.

#### Run the operator outside the cluster
### Run the operator outside the cluster

> Note: Running the operator outside the cluster allows you to debug the operator using your IDE. For example, you can set breakpoints in the code and inspect the state of the operator.
Expand All @@ -118,7 +116,7 @@ make -C ray-operator build
./ray-operator/bin/manager -leader-election-namespace default -use-kubernetes-proxy
```

### Running the tests
## Running the tests

The unit tests can be run by executing the following command:

Expand Down Expand Up @@ -187,7 +185,7 @@ If not set, it defaults to a temporary directory that's removed once the tests e

Alternatively, You can run the e2e test(s) from your preferred IDE / debugger.

### Manually test new image in running cluster
## Manually test new image in running cluster

Build and apply the CRD:

Expand Down

0 comments on commit 04117d7

Please sign in to comment.