Skip to content

Commit f4fd0b5

Browse files
committed
Fix readme generator
1 parent b575346 commit f4fd0b5

File tree

4 files changed

+14
-12
lines changed

4 files changed

+14
-12
lines changed

.github/workflows/generate-readme.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,9 @@ on:
1010
- 'templates/README.template.md'
1111
workflow_dispatch:
1212

13+
permissions:
14+
contents: write
15+
1316
jobs:
1417
generate-readme:
1518
runs-on: ubuntu-latest

CONTRIBUTING.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,6 @@ Where `<category>` is one of the existing categories, for example:
9696

9797
6. Open a Pull Request and briefly describe your project and chosen category.
9898

99-
---
10099

101100
## Join the Open Source Community
102101

README.md

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ Welcome to the official collection of projects from the [Опенсорсеры
3636

3737
## Project Categories
3838

39-
<a id="terminal-cli"></a>
39+
<h3 id="terminal-cli"></h3>
4040

4141
<details open>
4242

@@ -131,7 +131,7 @@ Welcome to the official collection of projects from the [Опенсорсеры
131131

132132
<hr />
133133

134-
<a id="web-applications"></a>
134+
<h3 id="web-applications"></h3>
135135

136136
<details open>
137137

@@ -220,7 +220,7 @@ Welcome to the official collection of projects from the [Опенсорсеры
220220

221221
<hr />
222222

223-
<a id="web-frameworks"></a>
223+
<h3 id="web-frameworks"></h3>
224224

225225
<details open>
226226

@@ -285,7 +285,7 @@ Welcome to the official collection of projects from the [Опенсорсеры
285285

286286
<hr />
287287

288-
<a id="devops"></a>
288+
<h3 id="devops"></h3>
289289

290290
<details open>
291291

@@ -323,7 +323,7 @@ Welcome to the official collection of projects from the [Опенсорсеры
323323

324324
<hr />
325325

326-
<a id="operating-systems"></a>
326+
<h3 id="operating-systems"></h3>
327327

328328
<details open>
329329

@@ -388,7 +388,7 @@ Welcome to the official collection of projects from the [Опенсорсеры
388388

389389
<hr />
390390

391-
<a id="management"></a>
391+
<h3 id="management"></h3>
392392

393393
<details open>
394394

@@ -426,7 +426,7 @@ Welcome to the official collection of projects from the [Опенсорсеры
426426

427427
<hr />
428428

429-
<a id="package-management"></a>
429+
<h3 id="package-management"></h3>
430430

431431
<details open>
432432

@@ -464,7 +464,7 @@ Welcome to the official collection of projects from the [Опенсорсеры
464464

465465
<hr />
466466

467-
<a id="testing"></a>
467+
<h3 id="testing"></h3>
468468

469469
<details open>
470470

@@ -502,7 +502,7 @@ Welcome to the official collection of projects from the [Опенсорсеры
502502

503503
<hr />
504504

505-
<a id="text-processing"></a>
505+
<h3 id="text-processing"></h3>
506506

507507
<details open>
508508

@@ -540,7 +540,7 @@ Welcome to the official collection of projects from the [Опенсорсеры
540540

541541
<hr />
542542

543-
<a id="vpn"></a>
543+
<h3 id="vpn"></h3>
544544

545545
<details open>
546546

scripts/generate_readme.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ def generate_category_md(category, projects):
6060
# Wrap the whole category in a <details open> so it can be collapsed
6161
# Use inline <span> with larger font inside <summary>, so button и текст на одной строке
6262
md = [
63-
f'<a id="{category}"></a>\n',
63+
f'<h3 id="{category}"></h3>\n',
6464
f'<details open>\n',
6565
f'<summary><span style="font-size: 1.4em; font-weight: 600;">{emoji} {name}</span></summary>\n\n'
6666
]

0 commit comments

Comments
 (0)