Skip to content

Commit 89a14bd

Browse files
feat: add cpp entry
1 parent 06fcfa5 commit 89a14bd

File tree

3 files changed

+5
-2
lines changed

3 files changed

+5
-2
lines changed

website/.vitepress/config.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -119,6 +119,7 @@ export default defineConfig({
119119
link: '/catalog/',
120120
items: [
121121
{ text: 'C', link: '/catalog/c/'},
122+
{ text: 'C++', link: '/catalog/cpp/'},
122123
{ text: 'Go', link: '/catalog/go/'},
123124
{ text: 'Java', link: '/catalog/java/'},
124125
{ text: 'Python', link: '/catalog/python/'},

website/catalog/cpp/fix-format-vuln.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,4 +58,4 @@ sprintf(buf1, "%s", Text_String(TXT_WAITING_FOR_CONNECTIONS));
5858
```
5959

6060
### Contributed by
61-
[xiaoxiangmoe](https://github.com/xiaoxiangmoe)
61+
[xiaoxiangmoe](https://github.com/xiaoxiangmoe)

website/catalog/index.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,8 @@ Feel free to join our [Discord](https://discord.gg/4YZjf6htSQ) channel and ask @
1010
* [Match Function Call](/catalog/c/#match-function-call)
1111
* [Rewrite Method to Function Call](/catalog/c/#rewrite-method-to-function-call)
1212
* [Rewrite Check to Yoda Condition](/catalog/c/#rewrite-check-to-yoda-condition)
13+
* [C++](/catalog/cpp/)
14+
* [Fix Format String Vulnerability](/catalog/cpp/#fix-format-string-vulnerability)
1315
* [Go](/catalog/go/)
1416
* [Match Function Call](/catalog/go/#match-function-call)
1517
* [Find function declarations with names of certain pattern](/catalog/go/#find-function-declarations-with-names-of-certain-pattern)
@@ -41,4 +43,4 @@ Feel free to join our [Discord](https://discord.gg/4YZjf6htSQ) channel and ask @
4143
* [Rewrite MobX Component Style](/catalog/tsx/#rewrite-mobx-component-style)
4244
* [Unnecessary React Hook](/catalog/tsx/#avoid-unnecessary-react-hook)
4345
* [YAML](/catalog/yaml/)
44-
* [Find key/value and show message](/catalog/yaml/#find-key-value-and-show-message-using-those-key-vals)
46+
* [Find key/value and show message](/catalog/yaml/#find-key-value-and-show-message-using-those-key-vals)

0 commit comments

Comments
 (0)