Skip to content
Merged
Show file tree
Hide file tree
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
4 changes: 0 additions & 4 deletions docs/assets/icons/GoodDataLearn.svg

This file was deleted.

4 changes: 4 additions & 0 deletions docs/assets/scss/header.scss
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,10 @@
align-items: center;
padding: 0 20px;

&__menu {
overflow-y: auto;
}

&__first {
top: 0;
min-height: $header-first-nav-height;
Expand Down
26 changes: 22 additions & 4 deletions docs/assets/scss/menu.scss
Original file line number Diff line number Diff line change
Expand Up @@ -51,14 +51,14 @@

&__mobile-icon {
position: fixed;
top: $header-first-nav-height;
top: 80px;
display: flex;
justify-content: center;
align-items: center;
width: 55px;
height: $header-second-nav-height;
left: 10px;
z-index: 32;
z-index: 34;
transition: $transition;

&::before {
Expand All @@ -83,6 +83,25 @@
}
}

&__mobile-bg {
position: fixed;
top: $header-first-nav-height + 1px;
left: -100%;
bottom: 0;
width: 100%;
z-index: 32;
background-color: rgba($color-deep-purple, 0.5);
transition: $transition;

@include mq(medium) {
display: none;
}
}
&__mobile-trigger:checked ~ &,
&__mobile-trigger:checked ~ &__mobile-bg {
left: 0;
}

&__mobile-trigger:checked ~ & {
left: 0;
}
Expand Down Expand Up @@ -144,11 +163,10 @@
position: relative;
display: inline-block;
flex: 1 1 auto;
margin: 2px 20px 2px 0; // orig values -> 8px 20px 3px 0;
margin: 8px 20px 3px 0;
padding: 0 0 5px;
max-width: 100%;
font-size: 15px;
//font-family: "Lucida Console", "Courier New", monospace;
line-height: 1.5;

&,
Expand Down
2 changes: 1 addition & 1 deletion docs/go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ go 1.20

require (
github.com/FortAwesome/Font-Awesome v0.0.0-20230327165841-0698449d50f2 // indirect
github.com/gooddata/gooddata-docs-theme v0.0.0-20250724141246-310dd7684e82 // indirect
github.com/gooddata/gooddata-docs-theme v0.0.0-20250814105944-65486e0f9cfb // indirect
github.com/google/docsy v0.7.1 // indirect
github.com/google/docsy/dependencies v0.7.1 // indirect
github.com/twbs/bootstrap v5.3.1+incompatible // indirect
Expand Down
6 changes: 6 additions & 0 deletions docs/go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,12 @@ github.com/gooddata/gooddata-docs-theme v0.0.0-20250724110042-81655c31f00b h1:w2
github.com/gooddata/gooddata-docs-theme v0.0.0-20250724110042-81655c31f00b/go.mod h1:VVNP6Cmo+vC37RD3T/YHjyU/QdqftGY5z4G513LYyrA=
github.com/gooddata/gooddata-docs-theme v0.0.0-20250724141246-310dd7684e82 h1:vetjOF/JcH99uBeMDV22JvRoPB+5rps03c72na5LMi4=
github.com/gooddata/gooddata-docs-theme v0.0.0-20250724141246-310dd7684e82/go.mod h1:VVNP6Cmo+vC37RD3T/YHjyU/QdqftGY5z4G513LYyrA=
github.com/gooddata/gooddata-docs-theme v0.0.0-20250729102440-7a7e8c25d60b h1:Tsi2R9UmdkJpEhdBPN870ybDU06RfEN2Hbq4+BiOzMA=
github.com/gooddata/gooddata-docs-theme v0.0.0-20250729102440-7a7e8c25d60b/go.mod h1:VVNP6Cmo+vC37RD3T/YHjyU/QdqftGY5z4G513LYyrA=
github.com/gooddata/gooddata-docs-theme v0.0.0-20250813103715-562a4a4e4a75 h1:swX9dIehu8bj/pIHF11NjBsiS/nEBl4vqmu8b+G530c=
github.com/gooddata/gooddata-docs-theme v0.0.0-20250813103715-562a4a4e4a75/go.mod h1:VVNP6Cmo+vC37RD3T/YHjyU/QdqftGY5z4G513LYyrA=
github.com/gooddata/gooddata-docs-theme v0.0.0-20250814105944-65486e0f9cfb h1:acb17FkbyBJjZ4e/DvIf5xJ2S/XkpF+fQqa9lNP+8LM=
github.com/gooddata/gooddata-docs-theme v0.0.0-20250814105944-65486e0f9cfb/go.mod h1:VVNP6Cmo+vC37RD3T/YHjyU/QdqftGY5z4G513LYyrA=
github.com/google/docsy v0.7.1 h1:DUriA7Nr3lJjNi9Ulev1SfiG1sUYmvyDeU4nTp7uDxY=
github.com/google/docsy v0.7.1/go.mod h1:JCmE+c+izhE0Rvzv3y+AzHhz1KdwlA9Oj5YBMklJcfc=
github.com/google/docsy/dependencies v0.7.1 h1:NbzYKJYMin2q50xdWSUzR2c9gCp7zR/XHDBcxklEcTQ=
Expand Down
4 changes: 2 additions & 2 deletions docs/layouts/_default/baseof.html
Original file line number Diff line number Diff line change
Expand Up @@ -6,11 +6,11 @@
</head>
<body class="td-{{ .Kind }}">
{{ partial "gtm-body.html" }}
<header>
<header aria-label="Main site header">
{{ partial "navbar.html" . }}
</header>
<div class="container-fluid td-default td-outer">
<main role="main" class="td-main">
<main role="main" class="td-main" aria-label="Article content">
{{ block "main" . }}{{ end }}
</main>
{{ partialCached "footer.html" . }}
Expand Down
4 changes: 2 additions & 2 deletions docs/layouts/docs/baseof.html
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
</head>
<body class="td-{{ .Kind }}">
{{ partial "gtm-body.html" }}
<header>
<header aria-label="Main site header">
{{ partial "navbar.html" . }}
</header>
<div class="container-fluid td-outer">
Expand All @@ -22,7 +22,7 @@
<div class="d-none d-xl-block col-xl-2 td-toc d-print-none">
{{ partial "toc.html" . }}
</div>
<main class="col-12 col-md-8 col-xl-7 pl-md-5" role="main">
<main class="col-12 col-md-8 col-xl-7 pl-md-5" role="main" aria-label="Article content">
{{ partial "version-banner.html" . }}
{{ if not .Site.Params.ui.breadcrumb_disable }}{{ partial "breadcrumb.html" . }}{{ end }}
{{ if .Draft }}
Expand Down
2 changes: 1 addition & 1 deletion docs/layouts/partials/footer.html
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{{ $footer := getJSON "https://www.gooddata.com/learn-assets/js/footer-definition.json" }}

<footer class="gd-footer">
<footer class="gd-footer" aria-label="Page footer">
{{ if $footer.footer.bannerLinks }}
<ul class="gd-footer-banner-links gd-footer-links">
{{ range $index, $link := $footer.footer.bannerLinks }}
Expand Down
24 changes: 24 additions & 0 deletions docs/layouts/partials/header-menu.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
<nav class="gd-docs-header-nav__center gd-header" aria-label="Main">
<input type="checkbox" role="button" id="gd-header-mobile-menu-trigger-input" name="gd-header-mobile-menu-trigger-input" class="gd-header-mobile gd-header-mobile-menu-trigger-input" aria-label="Open navigation menu" aria-controls="gd-header-mobile-menu" aria-expanded="false">
<label tabindex="0" for="gd-header-mobile-menu-trigger-input" class="gd-header-mobile gd-header-mobile-menu-trigger"><span></span></label>
<ul class="gd-docs-header-nav__menu gd-header-links">
<li class="gd-docs-header-nav__menuitem gd-header-link-item gd-header-link-item-mobile-only">
<a href="https://www.gooddata.com/learn/" class="gd-docs-header-nav__menulink gd-header-link gd-header-link__main">Learn</a>
</li>
<li class="gd-docs-header-nav__menuitem gd-header-link-item">
<a href="https://university.gooddata.com/" class="gd-docs-header-nav__menulink gd-header-link">University</a>
</li>
<li class="gd-docs-header-nav__menuitem gd-header-link-item">
<a href="https://community.gooddata.com/" class="gd-docs-header-nav__menulink gd-header-link">Community</a>
</li>
<li class="gd-docs-header-nav__menuitem gd-header-link-item">
<a href="https://www.gooddata.com/docs/cloud/" class="gd-docs-header-nav__menulink gd-header-link gd-header-link__active">Documentation</a>
</li>
<li class="gd-docs-header-nav__menuitem gd-header-link-item">
<a href="https://support.gooddata.com/hc/en-us" class="gd-docs-header-nav__menulink gd-header-link">Support</a>
</li>
<li class="gd-docs-header-nav__menuitem gd-header-link-item gd-header-link-item-mobile-only">
<a href="https://www.gooddata.com/" class="button">Go to GoodData.com</a>
</li>
</ul>
</nav>
10 changes: 10 additions & 0 deletions docs/layouts/partials/navbar-breadcrumb.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
<nav class="gd-docs-header-nav__left" aria-label="Breadcrumbs">
<ul class="gd-breadcrumb">
<li class="gd-breadcrumb-item">
<a href="https://www.gooddata.com/docs/">All Products</a>
</li>
<li class="gd-breadcrumb-item">
<span> &nbsp;Python SDK</span>
</li>
</ul>
</nav>
52 changes: 11 additions & 41 deletions docs/layouts/partials/navbar.html
Original file line number Diff line number Diff line change
@@ -1,48 +1,18 @@
{{/* (C) 2023 GoodData Corporation */}}

{{ $cover := .HasShortcode "blocks/cover" }}
<nav class="gd-docs-header-nav gd-docs-header-nav__first">
<div class="gd-docs-header-nav__left">
<a class="gd-docs-header-nav__logo gd-header-nav__logo" href="{{ (printf "%s%s/" .Site.Home.Permalink "latest" ) | safeURL }}" >
<div class="gd-docs-header-nav gd-docs-header-nav__first">
<nav class="gd-docs-header-nav__left" aria-label="Homepage">
<a class="gd-docs-header-nav__logo gd-header-nav__logo" href="{{ (printf "%s%s/" .Site.Home.Permalink "latest" ) | safeURL }}" aria-label="Go to documentation homepage">
{{ with resources.Get "icons/GoodDataLearn.svg" }}{{ ( . | minify).Content | safeHTML }}{{ end }}
</a>
<span class="gd-header-nav__logo-text">Learn</span>
</div>
<div class="gd-docs-header-nav__center gd-header">
<input type="checkbox" id="gd-header-mobile-menu-trigger-input" name="gd-header-mobile-menu-trigger-input" class="gd-header-mobile gd-header-mobile-menu-trigger-input">
<label for="gd-header-mobile-menu-trigger-input" class="gd-header-mobile gd-header-mobile-menu-trigger"><span></span></label>
<ul class="gd-docs-header-nav__menu gd-header-links">
<li class="gd-docs-header-nav__menuitem gd-header-link-item gd-header-link-item-mobile-only">
<a href="https://www.gooddata.com/learn/" class="gd-docs-header-nav__menulink gd-header-link gd-header-link__main">Learn</a>
</li>
<li class="gd-docs-header-nav__menuitem gd-header-link-item">
<a href="https://university.gooddata.com/" class="gd-docs-header-nav__menulink gd-header-link">University</a>
</li>
<li class="gd-docs-header-nav__menuitem gd-header-link-item">
<a href="https://community.gooddata.com/" class="gd-docs-header-nav__menulink gd-header-link">Community</a>
</li>
<li class="gd-docs-header-nav__menuitem gd-header-link-item">
<a href="https://www.gooddata.com/docs/cloud/" class="gd-docs-header-nav__menulink gd-header-link gd-header-link__active">Documentation</a>
</li>
<li class="gd-docs-header-nav__menuitem gd-header-link-item">
<a href="https://support.gooddata.com/hc/en-us" class="gd-docs-header-nav__menulink gd-header-link">Support</a>
</li>
<li class="gd-docs-header-nav__menuitem gd-header-link-item gd-header-link-item-mobile-only">
<a href="https://www.gooddata.com/" class="button">Go to GoodData.com</a>
</li>
</ul>
</div>
</nav>
{{ partial "header-menu.html" . }}
{{ partial "header-right.html" . }}
</nav>
<nav class="gd-docs-header-nav gd-docs-header-nav__second">
<div class="gd-docs-header-nav__left">
<ul class="gd-breadcrumb">
<li class="gd-breadcrumb-item">
<a href="https://www.gooddata.com/docs/">All Products</a>
</li>
<li class="gd-breadcrumb-item">
<span> &nbsp;Python SDK</span>
</li>
</ul>
</div>
</div>
<div class="gd-docs-header-nav gd-docs-header-nav__second">
{{ partial "navbar-breadcrumb.html" . }}
<div class="gd-docs-header-nav__center">
<div id="adds-container" class="gd-docs-header-nav__search"></div>
</div>
Expand All @@ -64,4 +34,4 @@
{{ end }}
</div>
{{ end }}
</nav>
</div>
3 changes: 2 additions & 1 deletion docs/layouts/partials/sidebar-tree.html
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
<!-- PETR: Menu assembled here -->
<input type="checkbox" id="gd-docs-menu__mobile-trigger" class="gd-docs-menu__mobile-trigger" />
<label for="gd-docs-menu__mobile-trigger" class="gd-docs-menu__mobile-icon"></label>
<nav class="gd-docs-menu init">
<div class="gd-docs-menu__mobile-bg"></div>
<nav id="gd-docs-menu" class="gd-docs-menu init" aria-label="Articles">
{{ $additionalNavRoot := .Site.GetPage "/versions" }}
{{ $root := .Site.GetPage "/docs" }}

Expand Down
4 changes: 2 additions & 2 deletions docs/layouts/swagger/baseof.html
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
</head>
<body class="td-{{ .Kind }}">
{{ partial "gtm-body.html" }}
<header>
<header aria-label="Main site header">
{{ partial "navbar.html" . }}
</header>
<div class="container-fluid td-outer">
Expand All @@ -20,7 +20,7 @@
<div class="d-none d-xl-block col-xl-2 td-toc d-print-none">
{{ partial "toc.html" . }}
</div>
<main class="col-12 col-md-9 col-xl-7 pl-md-5" role="main">
<main class="col-12 col-md-9 col-xl-7 pl-md-5" role="main" aria-label="Article content">
{{ if not .Site.Params.ui.breadcrumb_disable }}{{ partial "breadcrumb.html" . }}{{ end }}
<script src="/js/swagger-ui-bundle.js"></script>
<script src="/js/swagger-ui-standalone-preset.js"></script>
Expand Down
10 changes: 0 additions & 10 deletions docs/static/js/menu.js

This file was deleted.

Loading