forked from flyteorg/flyte
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Flyte docs overhaul (phase 1) (flyteorg#5772)
* move flytekit and flytectl docs into API section Signed-off-by: nikki everett <[email protected]> * switch to docsearch module and env variables Signed-off-by: nikki everett <[email protected]> * reorganize content for pydata theme Signed-off-by: nikki everett <[email protected]> * more docs reorganization Signed-off-by: nikki everett <[email protected]> * switch to pydata theme Signed-off-by: nikki everett <[email protected]> * reorganize concepts/glossary and ecosystem docs Signed-off-by: nikki everett <[email protected]> * remove unneeded custom CSS and JS files Signed-off-by: nikki everett <[email protected]> * add redirects Signed-off-by: nikki everett <[email protected]> * add more redirects Signed-off-by: nikki everett <[email protected]> * first pass at updating docs contributing guide Signed-off-by: nikki everett <[email protected]> * remove core use cases Signed-off-by: nikki everett <[email protected]> * more edits to docs contributing guide Signed-off-by: nikki everett <[email protected]> * more edits to the flytesnacks contributing guide Signed-off-by: nikki everett <[email protected]> * add content to API reference index page, use consistent title and format for API reference section titles Signed-off-by: nikki everett <[email protected]> * rename deployment section Signed-off-by: nikki everett <[email protected]> * reorganize sections Signed-off-by: nikki everett <[email protected]> * fix typos Signed-off-by: nikki everett <[email protected]> * add docsearch index name and app id Signed-off-by: nikki everett <[email protected]> * add ref to docs contributing doc and move all docsearch stuff to env vars again Signed-off-by: nikki everett <[email protected]> * docs overhaul: render flyteidl under the /api/ path (flyteorg#5802) * fix flyteidl structure so it renders under /api/ Signed-off-by: Niels Bantilan <[email protected]> * do not check in flyteidl docs Signed-off-by: Niels Bantilan <[email protected]> * update gitignore and unneeded conf Signed-off-by: Niels Bantilan <[email protected]> * add mock DOCSEARCH_API_KEY to docs test ci Signed-off-by: Niels Bantilan <[email protected]> * add css styling (flyteorg#5803) * add css styling Signed-off-by: Niels Bantilan <[email protected]> * update logo height Signed-off-by: Niels Bantilan <[email protected]> --------- Signed-off-by: Niels Bantilan <[email protected]> --------- Signed-off-by: Niels Bantilan <[email protected]> * use same icon as union docs Signed-off-by: nikki everett <[email protected]> * sp error Signed-off-by: Niels Bantilan <[email protected]> --------- Signed-off-by: nikki everett <[email protected]> Signed-off-by: Niels Bantilan <[email protected]> Co-authored-by: Niels Bantilan <[email protected]> Signed-off-by: Siddhant Rai <[email protected]>
- Loading branch information
1 parent
d55e1ff
commit 8bfa179
Showing
87 changed files
with
5,131 additions
and
6,283 deletions.
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
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
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
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
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,49 +1,113 @@ | ||
.getting-started-panels div.card-body { | ||
padding: 0; | ||
html[data-theme=light], html[data-theme=dark] { | ||
--pst-color-primary: #7652A2; | ||
--pst-color-link: #7652A2; | ||
--pst-color-link-hover: #7652A2; | ||
} | ||
|
||
|
||
/* Styling for page layout */ | ||
.bd-page-width { | ||
max-width: 100%; | ||
} | ||
|
||
/* style the main title logo */ | ||
.navbar-brand:hover, .navbar-brand:visited:hover { | ||
text-decoration: none; | ||
} | ||
|
||
.getting-started-panels a.btn-primary { | ||
color: white !important; | ||
background-color: var(--color-link); | ||
border-color: var(--color-link); | ||
.navbar-brand img { | ||
height: 70%; | ||
} | ||
|
||
.getting-started-panels a.btn-outline-primary { | ||
color: white !important; | ||
background-color: var(--color-link); | ||
opacity: 0.5; | ||
border-color: var(--color-link); | ||
/* | ||
Center the main page content only when the sidebar has the .hide-on-wide | ||
class, which is only on the root page | ||
*/ | ||
.bd-sidebar.hide-on-wide + main.bd-main .bd-content { | ||
justify-content: center; | ||
} | ||
|
||
html .tabbed-set > label { | ||
color: var(--color-foreground-border); | ||
/* left sidebar nav width */ | ||
.bd-sidebar-primary { | ||
width: 15%; | ||
min-width: 250px; | ||
padding: 1rem; | ||
} | ||
|
||
html .tabbed-set > input:checked + label { | ||
border-color: var(--color-link); | ||
color: var(--color-link); | ||
/* make the scroll bar sleeker */ | ||
.bd-sidebar::-webkit-scrollbar { | ||
width: 3px; | ||
height: 3px; | ||
background: transparent; | ||
} | ||
|
||
html .tabbed-set > label:hover { | ||
color: var(--color-link); | ||
.bd-sidebar::-webkit-scrollbar-thumb { | ||
background: var(--pst-color-border); | ||
} | ||
|
||
html .tabbed-content { | ||
box-shadow: 0 -.0625rem var(--color-background-border),0 .0625rem var(--color-background-border); | ||
/* make sure page content fills up the page */ | ||
.bd-main .bd-content { | ||
justify-content: left; | ||
} | ||
|
||
table { | ||
width: 100%; | ||
.bd-main .bd-content .bd-article-container { | ||
padding: 2.5rem; | ||
max-width: 75em; | ||
} | ||
|
||
/* align navbar items with the sidebar */ | ||
.bd-header .navbar-header-items__start { | ||
width: 15%; | ||
min-width: 250px; | ||
} | ||
|
||
/* styles for the main page subtitle and badges */ | ||
div.sd-card.sd-shadow-sm.subtitle-and-badges { | ||
border: none; | ||
box-shadow: none !important; | ||
} | ||
|
||
.sidebar-container, .toc-drawer { | ||
width: 22em; | ||
padding-right: 0; | ||
div.subtitle-and-badges .sd-card-body { | ||
padding: 0; | ||
} | ||
|
||
div.subtitle-and-badges .sd-card-title { | ||
color: #808080; | ||
font-weight: 350 !important; | ||
font-size: 25px; | ||
padding-top: 10px; | ||
padding-bottom: 10px; | ||
} | ||
|
||
div.subtitle-and-badges a { | ||
text-decoration: none; | ||
} | ||
|
||
div.subtitle-and-badges a img { | ||
margin: 2px 0; | ||
} | ||
|
||
/* update table hover color to neutral color */ | ||
.table tbody tr:hover { | ||
background-color: var(--pst-color-table-inner-border); | ||
} | ||
|
||
/* custom footer style */ | ||
div.custom-footer { | ||
text-align: center; | ||
background-color: var(--pst-color-surface); | ||
padding: 15px 0; | ||
color: var(--pst-color-text-muted); | ||
} | ||
|
||
/* anchor link hover style */ | ||
a:hover, | ||
nav.bd-links li>a:active, | ||
nav.bd-links li>a:hover, | ||
.bd-header ul.navbar-nav>li.nav-item>.nav-link:hover { | ||
color: var(--pst-color-primary); | ||
} | ||
|
||
@media (max-width: 82em) { | ||
.toc-drawer { | ||
right: -22em; | ||
} | ||
.bd-header ul.navbar-nav>li.nav-item>.nav-link:hover:before { | ||
border-bottom: max(3px, .1875rem, .12em) solid var(--pst-color-primary); | ||
} |
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
Oops, something went wrong.