-
Notifications
You must be signed in to change notification settings - Fork 89
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
style: Add shared CSS and meganav to datasets docs #400
Merged
Merged
Changes from 9 commits
Commits
Show all changes
20 commits
Select commit
Hold shift + click to select a range
db74cd8
Add shared CSS and meganav
stichbury b95db38
Add end of file
stichbury 5bc6e3d
Add new heap data source
stichbury 7f8700c
adjust heap parameter
stichbury fbb1e7c
Remove nav_version next to Kedro logo in top left; add Kedro logo
tynandebold b7d25fa
Revise project name and author name
stichbury cf78884
Use full kedro icon and type for logo
tynandebold 415cde5
Merge branch 'add-new-css' of https://github.com/kedro-org/kedro-plug…
tynandebold 7636dc6
Merge branch 'main' into add-new-css
stichbury ae4adc0
Add close btn to mobile nav
vladimir-mck a1df3da
Add css for mobile nav logo image
vladimir-mck c545a46
Update close button for mobile nav
vladimir-mck fe9e3ea
Add open button to mobile nav
vladimir-mck e4a144c
Delete kedro-datasets/docs/source/kedro-horizontal-color-on-light.svg
vladimir-mck 255b8f5
Update conf.py
vladimir-mck 213ba25
Update layout.html
stichbury a86207d
Remove svg from docs -- not needed??
stichbury 58316b9
Merge branch 'main' into add-new-css
stichbury 43345c2
linter error fix
stichbury a5f654e
Merge branch 'main' into add-new-css
stichbury File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,43 @@ | ||
{% extends "!layout.html" %} | ||
{% extends "!layout.html" %} {%- block extrabody %} | ||
|
||
<div class="wy-grid-header"> | ||
<div class="wy-header-logo"> | ||
{%- set _logo_url = logo_url|default(pathto('_static/' + (logo or ""), 1)) | ||
%} {%- set _root_doc = root_doc|default(master_doc) %} | ||
<a href="{{ pathto(_root_doc) }}"> | ||
{%- if logo or logo_url %} | ||
<img src="{{ _logo_url }}" class="logo" alt="{{ _('Logo') }}" /> | ||
{%- endif %} | ||
</a> | ||
</div> | ||
|
||
<div class="wy-main-nav"> | ||
<a href="#">Kedro</a> | ||
<a href="#">Kedro-Viz</a> | ||
<a href="/" class="active">Kedro-Datasets</a> | ||
</div> | ||
|
||
{%- include "searchbox.html" %} | ||
</div> | ||
|
||
{% endblock %} | ||
|
||
{%- block extrahead %} | ||
<script type="text/javascript"> | ||
window.heap=window.heap||[],heap.load=function(e,t){window.heap.appid=e,window.heap.config=t=t||{};var r=document.createElement("script");r.type="text/javascript",r.async=!0,r.src="https://cdn.heapanalytics.com/js/heap-"+e+".js";var a=document.getElementsByTagName("script")[0];a.parentNode.insertBefore(r,a);for(var n=function(e){return function(){heap.push([e].concat(Array.prototype.slice.call(arguments,0)))}},p=["addEventProperties","addUserProperties","clearEventProperties","identify","resetIdentity","removeEventProperty","setEventProperties","track","unsetEventProperty"],o=0;o<p.length;o++)heap[p[o]]=n(p[o])}; | ||
heap.load({{ "2164194004" | env_override }});{# 2164194004 coresponds to the Development environment #} | ||
|
||
heap.load({{ "1625763777" }}); | ||
|
||
// Wait for DOM to load and clone main nav into the sidebar | ||
document.addEventListener("DOMContentLoaded", function() { | ||
var sidebarSearch = document.querySelector('.wy-side-nav-search div[role="search"]'); | ||
sidebarSearch.parentNode.insertBefore(document.querySelector('.wy-main-nav').cloneNode(true), sidebarSearch); | ||
}); | ||
</script> | ||
<link rel="stylesheet" href="https://kedro-shared-files.s3.eu-west-2.amazonaws.com/qb1-sphinx-rtd.css" type="text/css" | ||
/> | ||
<link rel="stylesheet" href="https://kedro-shared-files.s3.eu-west-2.amazonaws.com/theme-overrides.css" type="text/css" | ||
/> | ||
|
||
</script> | ||
{% endblock %} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
8 changes: 8 additions & 0 deletions
8
kedro-datasets/docs/source/kedro-horizontal-color-on-light.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Wondering if this should still be
kedro-datasets
(sorry I didn't catch that early on)There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Oops! Well, next time. At least it's now merged ! And https://docs.kedro.org/projects/kedro-datasets/en/latest/ is looking splendid.