Skip to content

Commit

Permalink
添加侧边栏图标
Browse files Browse the repository at this point in the history
  • Loading branch information
FeignClaims committed Jan 31, 2024
1 parent 6fc60f1 commit f46e354
Showing 1 changed file with 13 additions and 3 deletions.
16 changes: 13 additions & 3 deletions docs/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -47,9 +47,19 @@
'show_prev_next': False,
'show_nav_level': 0,
'show_toc_level': 2,
"secondary_sidebar_items": {
"**": ["page-toc", "sourcelink"],
}
"icon_links": [
{
"name": "GitHub",
"url": "https://github.com/FeignClaims/vscode_cpp_starter",
"icon": "fa-brands fa-github",
},
{
"name": "部署状态",
"url": "https://github.com/FeignClaims/vscode_cpp_starter/actions/workflows/ci.yml",
"icon": "https://github.com/FeignClaims/vscode_cpp_starter/actions/workflows/ci.yml/badge.svg",
"type": "url",
}
],
}
html_static_path = ['_static']
html_favicon = '_static/favicon.png'
Expand Down

0 comments on commit f46e354

Please sign in to comment.