Skip to content

Commit

Permalink
chore: add doc config for og, sponsor, etc (0b01001001#333)
Browse files Browse the repository at this point in the history
Signed-off-by: Keming <kemingy94@gmail.com>
  • Loading branch information
kemingy authored Aug 1, 2023
1 parent 2c437e2 commit 84b1b7b
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions docs/source/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,20 @@
# a list of builtin themes.
#
html_theme = "shibuya"
html_theme_options = {
"og_image_url": "https://repository-images.githubusercontent.com/225120376/c3469400-c16d-11ea-9498-093594983a5a",
"nav_links": [
{
"title": "Sponsor me",
"url": "https://github.com/sponsors/kemingy",
},
]
}
html_context = {
"source_type": "github",
"source_user": "0b01001001",
"source_repo": "spectree",
}

# Add any paths that contain custom static files (such as style sheets) here,
# relative to this directory. They are copied after the builtin static files,
Expand Down

0 comments on commit 84b1b7b

Please sign in to comment.