This is an automated email from the ASF dual-hosted git repository.
tqchen pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/tvm.git
The following commit(s) were added to refs/heads/main by this push:
new 4a70d9623f [Docs] Right-align documentation footer (#19868)
4a70d9623f is described below
commit 4a70d9623f4fbdf35d900f4e8fdadc562bda0014
Author: Shushi Hong <[email protected]>
AuthorDate: Tue Jun 23 14:13:25 2026 -0400
[Docs] Right-align documentation footer (#19868)
This PR right-aligns the custom documentation footer added with the
sphinx-book-theme migration.
---
docs/conf.py | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/docs/conf.py b/docs/conf.py
index 8a1bd4fc4e..86140eee2a 100644
--- a/docs/conf.py
+++ b/docs/conf.py
@@ -411,8 +411,8 @@ def footer_html() -> str:
)
return f"""
- <div class="footer-container" style="margin: 5px 0; font-size: 0.9em; color:
#6c757d;">
- <div class="footer-line1" style="display: flex; justify-content: center;
align-items: center; gap: 0.9em; margin-bottom: 3px;">
+ <div class="footer-container" style="margin: 5px 0; font-size: 0.9em; color:
#6c757d; text-align: right;">
+ <div class="footer-line1" style="display: flex; justify-content:
flex-end; align-items: center; gap: 0.9em; margin-bottom: 3px; flex-wrap:
wrap;">
<span class="footer-links">{nav_links}</span>
<div class="footer-dropdown">
<div class="dropdown">
@@ -425,7 +425,7 @@ def footer_html() -> str:
</div>
</div>
</div>
- <div class="footer-line2" style="font-size: 0.9em; color: #6c757d;
text-align: center;">
+ <div class="footer-line2" style="font-size: 0.9em; color: #6c757d;
text-align: right;">
{footer_note}
</div>
</div>