Skip to content

Commit 82fda91

Browse files
author
Paulo Ribeiro
authored
fix: Ignore Vale false positives (codacy#1178)
* fix: Ignore Vale false positives * fix: Fix bare URL markup
1 parent 1845f8d commit 82fda91

File tree

2 files changed

+11
-11
lines changed

2 files changed

+11
-11
lines changed

CONTRIBUTING.md

+8-8
Original file line numberDiff line numberDiff line change
@@ -110,17 +110,17 @@ Create pull requests to make changes to the documentation:
110110

111111
A [GitHub workflow](https://github.com/codacy/docs/blob/master/.github/workflows/mkdocs.yml) automatically deploys the generated HTML to GitHub Pages on every push to `master` or to the release branches `release/v*`.
112112

113-
**Never use mkdocs directly to deploy the documentation**, since that would overwrite the contents of the `gh-pages` branch and we would lose the multiple versions of the documentation.
113+
**Never use mkdocs directly to deploy the documentation**, since that would overwrite the contents of the `gh-pages` branch and remove the multiple versions of the documentation.
114114

115115
## Releasing a new Codacy Self-hosted documentation version
116116

117-
We must release a new version of the documentation when there is a new **major or minor** version release of the [Codacy Self-hosted chart](https://github.com/codacy/chart). This involves updating the chart and codacy-coverage-reporter submodule documentation on the Latest version of the documentation and creating a dedicated documentation version for the new release.
117+
It's necessary to release a new version of the documentation when there is a new **major or minor** version release of the [Codacy Self-hosted chart](https://github.com/codacy/chart). This involves updating the chart and <span class="skip-vale">codacy-coverage-reporter</span> submodule documentation on the Latest version of the documentation and creating a dedicated documentation version for the new release.
118118
119119
### Updating the Latest documentation version
120120
121-
First, update the Latest documentation version with the latest chart and codacy-coverage-reporter documentation:
121+
First, update the Latest documentation version with the latest chart and <span class="skip-vale">codacy-coverage-reporter</span> documentation:
122122
123-
1. Create a new branch and pull the latest changes from the `master` branch of the chart and codacy-coverage-reporter submodules.
123+
1. Create a new branch and pull the latest changes from the `master` branch of the chart and <span class="skip-vale">codacy-coverage-reporter</span> submodules.
124124
125125
```bash
126126
git checkout -b feature/update-submodules
@@ -135,7 +135,7 @@ First, update the Latest documentation version with the latest chart and codacy-
135135
136136
1. Edit the file [`mkdocs.yml`](mkdocs.yml) and update the value of the variable `extra.version` to the new version of the chart.
137137
138-
1. Build the documentation and make sure that the changes for the new chart and codacy-coverage-reporter versions are correct.
138+
1. Build the documentation and make sure that the changes for the new chart and <span class="skip-vale">codacy-coverage-reporter</span> versions are correct.
139139
140140
1. Open a pull request with the changes and merge the branch into `master`.
141141
@@ -163,7 +163,7 @@ After updating the Latest documentation version, you're ready to create a new Co
163163
cd ../..
164164
```
165165

166-
1. Pull the correct codacy-coverage-reporter tag for this Codacy Self-hosted version.
166+
1. Pull the correct <span class="skip-vale">codacy-coverage-reporter</span> tag for this Codacy Self-hosted version.
167167

168168
```bash
169169
cd submodules/codacy-coverage-reporter
@@ -173,13 +173,13 @@ After updating the Latest documentation version, you're ready to create a new Co
173173

174174
1. Edit the file `mkdocs.yml` and make sure that the value of the variable `extra.version` is set to the new version of the chart.
175175

176-
1. Delete the release notes from the release branch, since we only publish the release notes on the Latest or main version of the documentation:
176+
1. Delete the release notes from the release branch, since it's only necessary to publish the release notes on the Latest or main version of the documentation:
177177
178178
- Delete the folder `docs/release-notes`
179179
180180
- Delete all lines on `mkdocs.yml` that reference the removed files
181181
182-
1. Build the documentation and make sure that the changes for the new chart and codacy-coverage-reporter versions are correct.
182+
1. Build the documentation and make sure that the changes for the new chart and <span class="skip-vale">codacy-coverage-reporter</span> versions are correct.
183183
184184
1. Push the new branch and check that the GitHub workflow deploys the new documentation version under `https://docs.codacy.com/v<MAJOR>.<MINOR>`.
185185

README.md

+3-3
Original file line numberDiff line numberDiff line change
@@ -2,11 +2,11 @@
22

33
[![MkDocs](https://github.com/codacy/docs/actions/workflows/mkdocs.yml/badge.svg)](https://github.com/codacy/docs/actions/workflows/mkdocs.yml) [![Codacy Badge](https://api.codacy.com/project/badge/Grade/5e8bce49e0df4be8a880f2df02759d88)](https://app.codacy.com/gh/codacy/docs/dashboard?utm_source=github.com&utm_medium=referral&utm_content=codacy/docs&utm_campaign=Badge_Grade)
44

5-
<https://docs.codacy.com>
5+
[<span class="skip-vale">https://docs.codacy.com</span>](https://docs.codacy.com)
66

77
## Contributing to the documentation
88

9-
Contributions to the documentation are very welcome!
9+
Contributions to the documentation are <span class="skip-vale">very</span> welcome!
1010

1111
See [CONTRIBUTING.md](CONTRIBUTING.md) to:
1212

@@ -16,7 +16,7 @@ See [CONTRIBUTING.md](CONTRIBUTING.md) to:
1616

1717
By participating in this project you are expected to adhere to the [CODE_OF_CONDUCT.md](CODE_OF_CONDUCT.md).
1818

19-
## What is Codacy
19+
## <span class="skip-vale">What is</span> Codacy
2020

2121
[Codacy](https://www.codacy.com/) is an automated code review tool that monitors your technical debt, helps you improve your code quality, teaches best practices to your developers, and helps you save time in code reviews.
2222

0 commit comments

Comments
 (0)