Skip to content

Commit f4971a4

Browse files
timsaucerclaude
andcommitted
docs: restore external links lost in navbar restructure
Add Examples and Rust API as text links in the top navbar via the pydata-sphinx-theme external_links option. Nest the code-of-conduct link inside the Contributor Guide toctree so it appears alongside the other contributor pages. Drop the duplicate "Further reading" bullet list from the landing page now that every link has a permanent home. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
1 parent a4a7e61 commit f4971a4

3 files changed

Lines changed: 11 additions & 8 deletions

File tree

docs/source/conf.py

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -133,6 +133,16 @@ def setup(sphinx) -> None:
133133
"icon": "fa-brands fa-github",
134134
},
135135
],
136+
"external_links": [
137+
{
138+
"name": "Examples",
139+
"url": "https://github.com/apache/datafusion-python/tree/main/examples",
140+
},
141+
{
142+
"name": "Rust API",
143+
"url": "https://docs.rs/datafusion/latest/datafusion/",
144+
},
145+
],
136146
"secondary_sidebar_items": [],
137147
"collapse_navigation": True,
138148
"show_nav_level": 1,

docs/source/contributor-guide/index.rst

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,3 +26,4 @@ Guides for contributors to the DataFusion in Python project.
2626

2727
introduction
2828
ffi
29+
Code of Conduct <https://github.com/apache/datafusion/blob/main/CODE_OF_CONDUCT.md>

docs/source/index.rst

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -52,14 +52,6 @@ Example
5252
df.show()
5353
5454
55-
Further reading:
56-
57-
* `Examples <https://github.com/apache/datafusion-python/tree/main/examples>`_ — runnable scripts demonstrating common patterns.
58-
* `GitHub repository and issue tracker <https://github.com/apache/datafusion-python>`_.
59-
* `Rust API docs <https://docs.rs/datafusion/latest/datafusion/>`_ for the underlying engine.
60-
* `Apache DataFusion code of conduct <https://github.com/apache/datafusion/blob/main/CODE_OF_CONDUCT.md>`_.
61-
62-
6355
.. toctree::
6456
:hidden:
6557
:maxdepth: 1

0 commit comments

Comments
 (0)