Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Docs: Add logo back to sidebar #5688

Merged
merged 1 commit into from
Mar 22, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions docs/source/_templates/docs-sidebar.html
Original file line number Diff line number Diff line change
Expand Up @@ -14,3 +14,8 @@
{% endif %}
</div>
</nav>


<a class="navbar-brand" href="{{ pathto(master_doc) }}">
<img src="{{ pathto('_static/images/DataFusion-Logo-Background-White.png', 1) }}" class="logo" alt="logo">
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this used to be

  <img src="{{ pathto('_static/images' + logo, 1) }}" class="logo" alt="logo">

But then sphinx complained that logo wasn't defined -- so I just hard coded it to match the main logo

https://github.com/apache/arrow-datafusion/blob/af97ac886c425efefb0536c5344894703f65d7fa/docs/source/conf.py#L103

</a>