Skip to content

Commit

Permalink
Merge pull request #213 from Kanaduchi/200x-mistakes
Browse files Browse the repository at this point in the history
#200x Fix mistakes
  • Loading branch information
Kanaduchi authored Nov 23, 2024
2 parents 9b276f5 + cecc0d4 commit e5e404e
Show file tree
Hide file tree
Showing 6 changed files with 32 additions and 4 deletions.
16 changes: 16 additions & 0 deletions docs/MQB/parking.en.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
# Parking and Maneuvering

### Setting the speed at which parking sensors will be disabled

```yaml
Block 03 (Brake System Electronics Block) → Adaptation:
Shutdown parking aid: 20km/h
→ Apply
```

### 3D Area View for the rear view camera

``` yaml
Block 6C - Rear View Camera System → Coding:
3D_Presentation: Activate
```
9 changes: 8 additions & 1 deletion docs/assets/js/tiresGenerator.js
Original file line number Diff line number Diff line change
Expand Up @@ -168,6 +168,13 @@ function generateBody(dataset, ecuName, ecuType, ecuVersion, tireSets) {
}

function doGenerate() {

var numTireSets = document.getElementById("numTireSets").value;
if (numTireSets < 1) {
window.alert("Количество комплектов шин должно быть больше 0.\nNumber of tire sets should be greater than 0.");
return;
}

var dataset = document.getElementById('dataset');
dataset.value = "";

Expand Down Expand Up @@ -197,7 +204,7 @@ function doGenerate() {
} else {
var value = document.getElementById("t" + index + "name").value;
if (!/^[a-zA-Z]+$/.test(value)) {
window.alert("Имя конфигурации может содержать только латинские буквы.\nConfiguration name should have only latin symbols.");
window.alert("Имя конфигурации #" + index + " может содержать только латинские буквы.\nConfiguration name should have only latin symbols.");
return;
}
var set = {
Expand Down
3 changes: 3 additions & 0 deletions docs/history.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,9 @@ comments: false
---
# История изменений

### 23.11.2024
1. Различные исправления ошибок

### 03.01.2024
1. Добавлена MQB-EVO платформа

Expand Down
1 change: 1 addition & 0 deletions overrides/pages/tiresGenerator.en.html
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@
<td>Number of tire sets</td>
<td>
<select id="numTireSets" size="1" onchange="updateTireSets()">
<option value="" selected disabled></option>
<option>1</option>
<option>2</option>
<option>3</option>
Expand Down
1 change: 1 addition & 0 deletions overrides/pages/tiresGenerator.html
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@
<td>Количество настроек для давления в шинах</td>
<td>
<select id="numTireSets" size="1" onchange="updateTireSets()">
<option value="" selected disabled></option>
<option>1</option>
<option>2</option>
<option>3</option>
Expand Down
6 changes: 3 additions & 3 deletions requirements.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
mkdocs-material==9.5.30
mkdocs-print-site-plugin==2.5.0
mkdocs-material==9.5.45
mkdocs-print-site-plugin==2.6.0
mkdocs-static-i18n==1.2.3
mkdocs-git-revision-date-localized-plugin==1.2.6
mkdocs-git-revision-date-localized-plugin==1.3.0

0 comments on commit e5e404e

Please sign in to comment.