[Docs] Add language identifiers to fenced code blocks (#28955)

Add language identifiers to code blocks
This commit is contained in:
Klaus Hipp
2024-02-12 19:48:31 +01:00
committed by GitHub
parent c617f988f8
commit fe3df9d5b3
66 changed files with 137 additions and 137 deletions

View File

@@ -582,27 +582,27 @@ You should do the following:
1. Create a branch with a descriptive name from your main branch
```
```bash
git checkout -b add_[lowercase name of model]
```
2. Commit the automatically generated code:
```
```bash
git add .
git commit
```
3. Fetch and rebase to current main
```
```bash
git fetch upstream
git rebase upstream/main
```
4. Push the changes to your account using:
```
```bash
git push -u origin a-descriptive-name-for-my-changes
```

View File

@@ -103,7 +103,7 @@ tests/test_modeling_tf_<model_name>.py
You can run the tests to ensure that they all pass:
```
```bash
python -m pytest ./tests/test_*<model_name>*.py
```
@@ -236,7 +236,7 @@ depending on your choices).
You will also see a doc file and tests for your new models. First you should run
```
```bash
make style
make fix-copies
```
@@ -247,7 +247,7 @@ and then you can start tweaking your model. You should:
Once you're done, you can run the tests to ensure that they all pass:
```
```bash
python -m pytest ./tests/test_*<model_name>*.py
```

View File

@@ -593,27 +593,27 @@ You should do the following:
1. Create a branch with a descriptive name from your main branch
```
```bash
git checkout -b add_big_bird
```
2. Commit the automatically generated code:
```
```bash
git add .
git commit
```
3. Fetch and rebase to current main
```
```bash
git fetch upstream
git rebase upstream/main
```
4. Push the changes to your account using:
```
```bash
git push -u origin a-descriptive-name-for-my-changes
```