Skip to content

Commit 41030ef

Browse files
timsaucerclaude
andcommitted
docs: render Rust API link as docs.rs icon next to GitHub
Move the Rust API docs entry from external_links to icon_links and use the fa-brands fa-rust gear mark. Now sits next to the GitHub icon in navbar_end with matching visual weight instead of a wider text link. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
1 parent f4971a4 commit 41030ef

1 file changed

Lines changed: 5 additions & 4 deletions

File tree

docs/source/conf.py

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -132,16 +132,17 @@ def setup(sphinx) -> None:
132132
"url": "https://github.com/apache/datafusion-python",
133133
"icon": "fa-brands fa-github",
134134
},
135+
{
136+
"name": "Rust API docs (docs.rs)",
137+
"url": "https://docs.rs/datafusion/latest/datafusion/",
138+
"icon": "fa-brands fa-rust",
139+
},
135140
],
136141
"external_links": [
137142
{
138143
"name": "Examples",
139144
"url": "https://github.com/apache/datafusion-python/tree/main/examples",
140145
},
141-
{
142-
"name": "Rust API",
143-
"url": "https://docs.rs/datafusion/latest/datafusion/",
144-
},
145146
],
146147
"secondary_sidebar_items": [],
147148
"collapse_navigation": True,

0 commit comments

Comments
 (0)