forked from phoenix-oss/llama-stack-mirror
Try a different css file API for sphinx
This commit is contained in:
parent
b751f7003d
commit
89fdb2c9e9
1 changed files with 2 additions and 1 deletions
|
@ -93,9 +93,10 @@ html_theme_options = {
|
|||
|
||||
html_static_path = ["../_static"]
|
||||
# html_logo = "../_static/llama-stack-logo.png"
|
||||
html_style = "../_static/css/my_theme.css"
|
||||
# html_style = "../_static/css/my_theme.css"
|
||||
|
||||
def setup(app):
|
||||
app.add_css_file("css/my_theme.css")
|
||||
def dockerhub_role(name, rawtext, text, lineno, inliner, options={}, content=[]):
|
||||
url = f"https://hub.docker.com/r/llamastack/{text}"
|
||||
node = nodes.reference(rawtext, text, refuri=url, **options)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue