Add support for GitHub style alerts (#5667)

* implement github style markdown alerts

* hide example doc

* swapped note and tip color schemes

* fixed broken v2 icons

* marked example as draft

* Apply suggestions from code review

Co-authored-by: Jason Stirnaman <jstirnaman@influxdata.com>

---------

Co-authored-by: Jason Stirnaman <jstirnaman@influxdata.com>
pull/5671/head
Scott Anderson 2024-11-07 14:54:01 -07:00 committed by GitHub
parent 428edda3e4
commit ddc921c4fc
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
69 changed files with 1779 additions and 1120 deletions

View File

@ -195,9 +195,7 @@
"article/children",
"article/code",
"article/columns",
"article/cloud",
"article/diagrams",
"article/enterprise",
"article/expand",
"article/feedback",
"article/flex",
@ -208,10 +206,8 @@
"article/keybinding",
"article/list-filters",
"article/lists",
"article/note",
"article/opacity",
"article/pagination-btns",
"article/product-tags",
"article/related",
"article/release-toc",
"article/scrollbars",
@ -222,8 +218,7 @@
"article/telegraf-plugins",
"article/title",
"article/truncate",
"article/video",
"article/warn";
"article/video";
//////////////////////////////// Miscellaneous ///////////////////////////////

View File

@ -183,78 +183,3 @@ pre[class*="language-"] {
.mi + .n { color: $article-code-accent5; }
}
}
.note {
.highlight {
color: $article-note-code;
.gh,.go,.na,.nt,.nv,.ow
{ color: $article-note-code }
.c,.ch,.cm,.cpf,.c1, .cs,.w
{ color: $article-note-code-accent1; }
.gi
{ background-color: $article-note-code-accent1; }
.k,.kc,.kd,.kn,.kp,.kr,.nn
{ color: $article-note-code-accent2; }
.bp,.cp,.dl,.gt,.gu,.kt,.nb,.nc,.no,.sa,.sb,.sc,.sd,.se,.sh,.sx,.sr,.s1,.s2
{ color: $article-note-code-accent3 }
.err,.fm,.gr,.gd,.nd,.ne,.nf,.nl,.si
{ color: $article-note-code-accent4 }
.m,.ni,.mb,.mf,.mh,.mi,.mo,.vc,.vg,.vi,.vm,.il
{ color: $article-note-code-accent5 }
.gp,.o
{ color: $article-note-code-accent6 }
.ss
{ color: $article-note-code-accent7 }
}
}
.warn {
.highlight {
color: $article-warn-code;
.gh,.go,.na,.nt,.nv,.ow
{ color: $article-warn-code }
.c,.ch,.cm,.cpf,.c1, .cs,.w
{ color: $article-warn-code-accent1; }
.gi
{ background-color: $article-warn-code-accent1; }
.k,.kc,.kd,.kn,.kp,.kr,.nn
{ color: $article-warn-code-accent2; }
.bp,.cp,.dl,.gt,.gu,.kt,.nb,.nc,.no,.sa,.sb,.sc,.sd,.se,.sh,.sx,.sr,.s1,.s2
{ color: $article-warn-code-accent3 }
.err,.fm,.gr,.gd,.nd,.ne,.nf,.nl,.si
{ color: $article-warn-code-accent4 }
.m,.ni,.mb,.mf,.mh,.mi,.mo,.vc,.vg,.vi,.vm,.il
{ color: $article-warn-code-accent5 }
.gp,.o
{ color: $article-warn-code-accent6 }
.ss
{ color: $article-warn-code-accent7 }
}
}
.cloud-msg {
.highlight {
color: $article-cloud-code;
.gh,.go,.na,.nt,.nv,.ow
{ color: $article-cloud-code }
.c,.ch,.cm,.cpf,.c1, .cs,.w
{ color: $article-cloud-code-accent1; }
.gi
{ background-color: $article-cloud-code-accent1; }
.k,.kc,.kd,.kn,.kp,.kr,.nn
{ color: $article-cloud-code-accent2; }
.bp,.cp,.dl,.gt,.gu,.kt,.nb,.nc,.no,.sa,.sb,.sc,.sd,.se,.sh,.sx,.sr,.s1,.s2
{ color: $article-cloud-code-accent3 }
.err,.fm,.gr,.gd,.nd,.ne,.nf,.nl,.si
{ color: $article-cloud-code-accent4 }
.m,.ni,.mb,.mf,.mh,.mi,.mo,.vc,.vg,.vi,.vm,.il
{ color: $article-cloud-code-accent5 }
.gp,.o
{ color: $article-cloud-code-accent6 }
.ss
{ color: $article-cloud-code-accent7 }
}
}

View File

@ -1,4 +1,4 @@
////////////////// Blockquotes, Notes, Warnings, & Messages //////////////////
///////////////////////// Blockquotes and Alert Blocks /////////////////////////
blockquote,
.block, {
@ -20,8 +20,39 @@ blockquote,
& > h6 {
&:first-child {margin-top: 0; padding-top: 0.25em;}
}
&.note,
&.tip,
&.important,
&.warning, &.warn,
&.caution {
position: relative;
&:before {
position: absolute;
font-family: "alert-icons";
font-size: 1em;
padding: .3rem;
text-align: center;
top: -.5rem;
left: -.95rem;
display: block;
border-radius: 50%;
box-shadow: 1px 3px 5px rgba($article-shadow, .5);
}
}
}
h2, h3, h4, h5, h6 {
& + .note,
& + .tip,
& + .important,
& + .warning,
& + .caution {
margin-top: 1.25rem;
}
}
blockquote {
padding: 1rem 1rem 1rem 1.25rem;
border-color: rgba($article-text, .25);
@ -59,3 +90,9 @@ blockquote {
margin: .5rem 0 1rem;
}
}
@import "blocks/note",
"blocks/tip",
"blocks/important",
"blocks/warning",
"blocks/caution";

View File

@ -1,69 +0,0 @@
.cloud {
border-color: $article-cloud-base;
background: rgba($article-cloud-base, .12);
h1,h2,h3,h4,h5,h6 {
color: $article-cloud-heading;
}
p,li {
color: $article-cloud-text;
}
strong {
color: inherit;
}
a {
color: $article-cloud-link;
code:after {
border-color: transparent rgba($article-cloud-code, .35) transparent transparent;
}
&:hover {
color: $article-cloud-link-hover;
code:after {
border-color: transparent $article-cloud-link-hover transparent transparent;
}
}
}
ol li:before {
color: $article-cloud-text;
}
code, pre{
color: $article-cloud-code;
background: $article-cloud-code-bg;
}
img {
box-shadow: 1px 3px 10px $article-cloud-shadow;
}
table{
color: $article-cloud-text;
box-shadow: 1px 3px 10px $article-cloud-shadow;
thead{
@include gradient($article-cloud-table-header);
}
tr:nth-child(even) td {
background: $article-cloud-table-row-alt;
}
}
blockquote {
border-color: rgba($article-cloud-text, .25);
p { color: rgba($article-cloud-text, .6); }
}
.code-tabs-wrapper .code-tabs a {
background: transparent;
color: rgba($article-cloud-text, .5);
&:hover { color: rgba($article-cloud-text, 1); }
&.is-active {
color: rgba($article-cloud-text, 1);
background: $article-cloud-code-bg};
}
&.flex {
font-style: italic;
display: flex;
div:first-child {
position: relative;
margin: .25rem 2rem 0 0;
}
}
hr, .expand {
border-color: rgba($article-cloud-base, .4)
}
}

View File

@ -1,19 +0,0 @@
.enterprise {
border-color: $article-enterprise-base;
background: rgba($article-enterprise-base, .15);
p,li {
color: $article-enterprise-text;
}
a {
color: $article-enterprise-link;
&:hover { color: $article-enterprise-link-hover; }
}
&.flex {
font-style: italic;
display: flex;
div:first-child {
position: relative;
margin: .25rem 2rem 0 0;
}
}
}

View File

@ -1,60 +0,0 @@
.note {
border-color: $article-note-base;
background: rgba($article-note-base, .1);
h1,h2,h3,h4,h5,h6 {
color: $article-note-heading;
}
p, li {
color: $article-note-text;
}
strong {
color: $article-note-strong;
}
a {
color: $article-note-link;
code:after {
border-color: transparent rgba($article-note-code, .35) transparent transparent;
}
&:hover {
color: $article-note-link-hover;
code:after {
border-color: transparent $article-note-link-hover transparent transparent;
}
}
}
ol li:before {
color: $article-note-text;
}
code, pre{
color: $article-note-code;
background: $article-note-code-bg;
}
img {
box-shadow: 1px 3px 10px $article-note-shadow;
}
table{
color: $article-note-text;
box-shadow: 1px 3px 10px $article-note-shadow;
thead{
@include gradient($article-note-table-header);
}
tr:nth-child(even) td {
background: $article-note-table-row-alt;
}
}
blockquote {
border-color: rgba($article-note-text, .25);
p { color: rgba($article-note-text, .6); }
}
.code-tabs-wrapper .code-tabs a {
background: transparent;
color: rgba($article-note-text, .5);
&:hover { color: rgba($article-note-text, 1); }
&.is-active {
color: rgba($article-note-text, 1);
background: $article-note-code-bg};
}
hr, .expand {
border-color: rgba($article-note-base, .4)
}
}

View File

@ -1,28 +0,0 @@
.product-tags {
margin: -2rem 0 2.5rem;
span {
margin-right: .25rem;
padding: .2rem .65rem .25rem;
border-radius: 1rem;
font-weight: $medium;
font-style: italic;
font-size: .85rem;
border: 1px solid;
&.oss {
color: $product-oss;
border-color: rgba($product-oss, .35);
background: rgba($product-oss, .1);
}
&.cloud {
color: $product-cloud;
border-color: rgba($product-cloud, .35);
background: rgba($product-cloud, .1);
}
&.enterprise {
color: $product-enterprise;
border-color: rgba($product-enterprise, .35);
background: rgba($product-enterprise, .1);
}
}
}

View File

@ -3,15 +3,3 @@
pre { @include scrollbar($article-code-bg, $article-code-scrollbar); }
table { @include scrollbar($article-table-row-alt, $article-table-scrollbar);}
.note {
pre { @include scrollbar($article-note-code-bg, $article-note-code-scrollbar); }
table { @include scrollbar($article-note-table-row-alt, $article-note-table-scrollbar); }
}
.warn {
pre { @include scrollbar($article-warn-code-bg, $article-warn-code-scrollbar); }
table { @include scrollbar($article-warn-table-row-alt, $article-warn-table-scrollbar); }
}
.cloud {
pre { @include scrollbar($article-cloud-code-bg, $article-cloud-code-scrollbar); }
table { @include scrollbar($article-cloud-table-row-alt, $article-cloud-table-scrollbar); }
}

View File

@ -1,60 +0,0 @@
.warn {
border-color: $article-warn-base;
background: $article-warn-bg;
h1,h2,h3,h4,h5,h6 {
color: $article-warn-heading;
}
p, li {
color: $article-warn-text;
}
strong {
color: inherit;
}
a {
color: $article-warn-link !important;
code:after {
border-color: transparent rgba($article-warn-code, .35) transparent transparent;
}
&:hover {
color: $article-warn-link-hover !important;
code:after {
border-color: transparent $article-warn-link-hover transparent transparent;
}
}
}
ol li:before {
color: $article-warn-text;
}
code, pre{
color: $article-warn-code;
background: $article-warn-code-bg;
}
img {
box-shadow: 1px 3px 10px $article-warn-shadow;
}
table{
color: $article-warn-text;
box-shadow: 1px 3px 10px $article-warn-shadow;
thead{
@include gradient($article-warn-table-header);
}
tr:nth-child(even) td {
background: $article-warn-table-row-alt;
}
}
blockquote {
border-color: rgba($article-warn-text, .25);
p { color: rgba($article-warn-text, .6); }
}
.code-tabs-wrapper .code-tabs a {
background: transparent;
color: rgba($article-warn-text, .5);
&:hover { color: rgba($article-warn-text, 1); }
&.is-active {
color: rgba($article-warn-text, 1);
background: $article-warn-code-bg};
}
hr, .expand {
border-color: rgba($article-warn-base, .4)
}
}

View File

@ -0,0 +1,97 @@
.caution {
&:before {
content: "C";
color: #fff;
background: $article-caution-base;
}
border-color: $article-caution-base;
background: $article-caution-bg;
h1,h2,h3,h4,h5,h6 {
color: $article-caution-heading;
a {
color: inherit !important;
&:hover{color: inherit !important}
}
}
p, li {color: $article-caution-text;}
strong { color: $article-caution-strong; }
a {
color: $article-caution-link !important;
code:after {
border-color: transparent rgba($article-caution-code, .35) transparent transparent;
}
&:hover {
color: $article-caution-link-hover !important;
code:after { border-color: transparent $article-caution-link-hover transparent transparent;}
}
}
ol li:before {
color: $article-caution-text;
}
code, pre{
color: $article-caution-code;
background: $article-caution-code-bg;
}
img {
box-shadow: 1px 3px 10px $article-caution-shadow;
}
table{
color: $article-caution-text;
box-shadow: 1px 3px 10px $article-caution-shadow;
thead{@include gradient($article-caution-table-header);}
tr:nth-child(even) td {background: $article-caution-table-row-alt;}
}
blockquote {
border-color: rgba($article-caution-text, .25);
p { color: rgba($article-caution-text, .6); }
}
.code-tabs-wrapper .code-tabs a {
background: transparent;
color: rgba($article-caution-text, .5);
&:hover { color: rgba($article-caution-text, 1); }
&.is-active {
color: rgba($article-caution-text, 1);
background: $article-caution-code-bg};
}
hr, .expand {
border-color: rgba($article-caution-base, .4)
}
///////////////////////////////// Scrollbars /////////////////////////////////
pre { @include scrollbar($article-caution-code-bg, $article-caution-code-scrollbar); }
table { @include scrollbar($article-caution-table-row-alt, $article-caution-table-scrollbar); }
///////////////////////////// Syntax Highlighting ////////////////////////////
.highlight {
color: $article-caution-code;
.gh,.go,.na,.nt,.nv,.ow
{ color: $article-caution-code }
.c,.ch,.cm,.cpf,.c1, .cs,.w
{ color: $article-caution-code-accent1; }
.gi
{ background-color: $article-caution-code-accent1; }
.k,.kc,.kd,.kn,.kp,.kr,.nn
{ color: $article-caution-code-accent2; }
.bp,.cp,.dl,.gt,.gu,.kt,.nb,.nc,.no,.sa,.sb,.sc,.sd,.se,.sh,.sx,.sr,.s1,.s2
{ color: $article-caution-code-accent3 }
.err,.fm,.gr,.gd,.nd,.ne,.nf,.nl,.si
{ color: $article-caution-code-accent4 }
.m,.ni,.mb,.mf,.mh,.mi,.mo,.vc,.vg,.vi,.vm,.il
{ color: $article-caution-code-accent5 }
.gp,.o
{ color: $article-caution-code-accent6 }
.ss
{ color: $article-caution-code-accent7 }
// Javascript / Flux specific styles (duration and time values)
.language-js {
.mi + .nx, .mf + .nx { color: $article-caution-code-accent5; }
}
// SQL / InfluxQL specific styles (duration values)
.language-sql {
.mi + .n { color: $article-caution-code-accent5; }
}
}
}

View File

@ -0,0 +1,110 @@
.important {
}
.important {
&:before {
content: "I";
color: #fff;
background: $article-important-base;
}
border-color: $article-important-base;
background: rgba($article-important-base, .15);
h1,h2,h3,h4,h5,h6 {
color: $article-important-heading;
a {
color: inherit !important;
&:hover{color: inherit !important}
}
}
p, li {
color: $article-important-text;
}
strong {
color: $article-important-strong;
}
a {
color: $article-important-link;
code:after {
border-color: transparent rgba($article-important-code, .35) transparent transparent;
}
&:hover {
color: $article-important-link-hover;
code:after {
border-color: transparent $article-important-link-hover transparent transparent;
}
}
}
ol li:before {
color: $article-important-text;
}
code, pre{
color: $article-important-code;
background: $article-important-code-bg;
}
img {
box-shadow: 1px 3px 10px $article-important-shadow;
}
table{
color: $article-important-text;
box-shadow: 1px 3px 10px $article-important-shadow;
thead{
@include gradient($article-important-table-header);
}
tr:nth-child(even) td {
background: $article-important-table-row-alt;
}
}
blockquote {
border-color: rgba($article-important-text, .25);
p { color: rgba($article-important-text, .6); }
}
.code-tabs-wrapper .code-tabs a {
background: transparent;
color: rgba($article-important-text, .5);
&:hover { color: rgba($article-important-text, 1); }
&.is-active {
color: rgba($article-important-text, 1);
background: $article-important-code-bg};
}
hr, .expand {
border-color: rgba($article-important-base, .4)
}
///////////////////////////////// Scrollbars /////////////////////////////////
pre { @include scrollbar($article-important-code-bg, $article-important-code-scrollbar); }
table { @include scrollbar($article-important-table-row-alt, $article-important-table-scrollbar); }
///////////////////////////// Syntax Highlighting ////////////////////////////
.highlight {
color: $article-important-code;
.gh,.go,.na,.nt,.nv,.ow
{ color: $article-important-code }
.c,.ch,.cm,.cpf,.c1, .cs,.w
{ color: $article-important-code-accent1; }
.gi
{ background-color: $article-important-code-accent1; }
.k,.kc,.kd,.kn,.kp,.kr,.nn
{ color: $article-important-code-accent2; }
.bp,.cp,.dl,.gt,.gu,.kt,.nb,.nc,.no,.sa,.sb,.sc,.sd,.se,.sh,.sx,.sr,.s1,.s2
{ color: $article-important-code-accent3 }
.err,.fm,.gr,.gd,.nd,.ne,.nf,.nl,.si
{ color: $article-important-code-accent4 }
.m,.ni,.mb,.mf,.mh,.mi,.mo,.vc,.vg,.vi,.vm,.il
{ color: $article-important-code-accent5 }
.gp,.o
{ color: $article-important-code-accent6 }
.ss
{ color: $article-important-code-accent7 }
// Javascript / Flux specific styles (duration and time values)
.language-js {
.mi + .nx, .mf + .nx { color: $article-important-code-accent5; }
}
// SQL / InfluxQL specific styles (duration values)
.language-sql {
.mi + .n { color: $article-important-code-accent5; }
}
}
}

View File

@ -0,0 +1,108 @@
.note {
&:before {
content: "N";
color: #fff;
background: $article-note-base;
}
}
.note {
border-color: $article-note-base;
background: rgba($article-note-base, .1);
h1,h2,h3,h4,h5,h6 {
color: $article-note-heading;
a {
color: inherit !important;
&:hover{color: inherit !important}
}
}
p, li {
color: $article-note-text;
}
strong {
color: $article-note-strong;
}
a {
color: $article-note-link;
code:after {
border-color: transparent rgba($article-note-code, .35) transparent transparent;
}
&:hover {
color: $article-note-link-hover;
code:after {
border-color: transparent $article-note-link-hover transparent transparent;
}
}
}
ol li:before {
color: $article-note-text;
}
code, pre{
color: $article-note-code;
background: $article-note-code-bg;
}
img {
box-shadow: 1px 3px 10px $article-note-shadow;
}
table{
color: $article-note-text;
box-shadow: 1px 3px 10px $article-note-shadow;
thead{
@include gradient($article-note-table-header);
}
tr:nth-child(even) td {
background: $article-note-table-row-alt;
}
}
blockquote {
border-color: rgba($article-note-text, .25);
p { color: rgba($article-note-text, .6); }
}
.code-tabs-wrapper .code-tabs a {
background: transparent;
color: rgba($article-note-text, .5);
&:hover { color: rgba($article-note-text, 1); }
&.is-active {
color: rgba($article-note-text, 1);
background: $article-note-code-bg};
}
hr, .expand {
border-color: rgba($article-note-base, .4)
}
///////////////////////////////// Scrollbars /////////////////////////////////
pre { @include scrollbar($article-note-code-bg, $article-note-code-scrollbar); }
table { @include scrollbar($article-note-table-row-alt, $article-note-table-scrollbar); }
///////////////////////////// Syntax Highlighting ////////////////////////////
.highlight {
color: $article-note-code;
.gh,.go,.na,.nt,.nv,.ow
{ color: $article-note-code }
.c,.ch,.cm,.cpf,.c1, .cs,.w
{ color: $article-note-code-accent1; }
.gi
{ background-color: $article-note-code-accent1; }
.k,.kc,.kd,.kn,.kp,.kr,.nn
{ color: $article-note-code-accent2; }
.bp,.cp,.dl,.gt,.gu,.kt,.nb,.nc,.no,.sa,.sb,.sc,.sd,.se,.sh,.sx,.sr,.s1,.s2
{ color: $article-note-code-accent3 }
.err,.fm,.gr,.gd,.nd,.ne,.nf,.nl,.si
{ color: $article-note-code-accent4 }
.m,.ni,.mb,.mf,.mh,.mi,.mo,.vc,.vg,.vi,.vm,.il
{ color: $article-note-code-accent5 }
.gp,.o
{ color: $article-note-code-accent6 }
.ss
{ color: $article-note-code-accent7 }
// Javascript / Flux specific styles (duration and time values)
.language-js {
.mi + .nx, .mf + .nx { color: $article-note-code-accent5; }
}
// SQL / InfluxQL specific styles (duration values)
.language-sql {
.mi + .n { color: $article-note-code-accent5; }
}
}
}

View File

@ -0,0 +1,101 @@
.tip {
&:before {
content: "T";
color: #fff;
background: $article-tip-base;
}
border-color: $article-tip-base;
background: rgba($article-tip-base, .12);
h1,h2,h3,h4,h5,h6 {
color: $article-tip-heading;
a {
color: inherit !important;
&:hover{color: inherit !important}
}
}
p,li { color: $article-tip-text; }
strong {color: $article-tip-strong;}
a {
color: $article-tip-link;
code:after {border-color: transparent rgba($article-tip-code, .35) transparent transparent;}
&:hover {
color: $article-tip-link-hover;
code:after {border-color: transparent $article-tip-link-hover transparent transparent;}
}
}
ol li:before {color: $article-tip-text;}
code, pre{
color: $article-tip-code;
background: $article-tip-code-bg;
}
img {
box-shadow: 1px 3px 10px $article-tip-shadow;
}
table{
color: $article-tip-text;
box-shadow: 1px 3px 10px $article-tip-shadow;
thead{@include gradient($article-tip-table-header);}
tr:nth-child(even) td {background: $article-tip-table-row-alt;}
}
blockquote {
border-color: rgba($article-tip-text, .25);
p { color: rgba($article-tip-text, .6); }
}
.code-tabs-wrapper .code-tabs a {
background: transparent;
color: rgba($article-tip-text, .5);
&:hover { color: rgba($article-tip-text, 1); }
&.is-active {
color: rgba($article-tip-text, 1);
background: $article-tip-code-bg};
}
&.flex {
font-style: italic;
display: flex;
div:first-child {
position: relative;
margin: .25rem 2rem 0 0;
}
}
hr, .expand {
border-color: rgba($article-tip-base, .4)
}
///////////////////////////////// Scrollbars /////////////////////////////////
pre { @include scrollbar($article-tip-code-bg, $article-tip-code-scrollbar); }
table { @include scrollbar($article-tip-table-row-alt, $article-tip-table-scrollbar); }
///////////////////////////// Syntax Highlighting ////////////////////////////
.highlight {
color: $article-tip-code;
.gh,.go,.na,.nt,.nv,.ow
{ color: $article-tip-code }
.c,.ch,.cm,.cpf,.c1, .cs,.w
{ color: $article-tip-code-accent1; }
.gi
{ background-color: $article-tip-code-accent1; }
.k,.kc,.kd,.kn,.kp,.kr,.nn
{ color: $article-tip-code-accent2; }
.bp,.cp,.dl,.gt,.gu,.kt,.nb,.nc,.no,.sa,.sb,.sc,.sd,.se,.sh,.sx,.sr,.s1,.s2
{ color: $article-tip-code-accent3 }
.err,.fm,.gr,.gd,.nd,.ne,.nf,.nl,.si
{ color: $article-tip-code-accent4 }
.m,.ni,.mb,.mf,.mh,.mi,.mo,.vc,.vg,.vi,.vm,.il
{ color: $article-tip-code-accent5 }
.gp,.o
{ color: $article-tip-code-accent6 }
.ss
{ color: $article-tip-code-accent7 }
// Javascript / Flux specific styles (duration and time values)
.language-js {
.mi + .nx, .mf + .nx { color: $article-tip-code-accent5; }
}
// SQL / InfluxQL specific styles (duration values)
.language-sql {
.mi + .n { color: $article-tip-code-accent5; }
}
}
}

View File

@ -0,0 +1,97 @@
.warn, .warning {
&:before {
content: "W";
color: #fff;
background: $article-warning-base;
}
border-color: $article-warning-base;
background: $article-warning-bg;
h1,h2,h3,h4,h5,h6 {
color: $article-warning-heading;
a {
color: inherit !important;
&:hover{color: inherit !important}
}
}
p, li {color: $article-warning-text;}
strong { color: $article-warning-strong; }
a {
color: $article-warning-link !important;
code:after {
border-color: transparent rgba($article-warning-code, .35) transparent transparent;
}
&:hover {
color: $article-warning-link-hover !important;
code:after { border-color: transparent $article-warning-link-hover transparent transparent;}
}
}
ol li:before {
color: $article-warning-text;
}
code, pre{
color: $article-warning-code;
background: $article-warning-code-bg;
}
img {
box-shadow: 1px 3px 10px $article-warning-shadow;
}
table{
color: $article-warning-text;
box-shadow: 1px 3px 10px $article-warning-shadow;
thead{@include gradient($article-warning-table-header);}
tr:nth-child(even) td {background: $article-warning-table-row-alt;}
}
blockquote {
border-color: rgba($article-warning-text, .25);
p { color: rgba($article-warning-text, .6); }
}
.code-tabs-wrapper .code-tabs a {
background: transparent;
color: rgba($article-warning-text, .5);
&:hover { color: rgba($article-warning-text, 1); }
&.is-active {
color: rgba($article-warning-text, 1);
background: $article-warning-code-bg};
}
hr, .expand {
border-color: rgba($article-warning-base, .4)
}
///////////////////////////////// Scrollbars /////////////////////////////////
pre { @include scrollbar($article-warning-code-bg, $article-warning-code-scrollbar); }
table { @include scrollbar($article-warning-table-row-alt, $article-warning-table-scrollbar); }
///////////////////////////// Syntax Highlighting ////////////////////////////
.highlight {
color: $article-warning-code;
.gh,.go,.na,.nt,.nv,.ow
{ color: $article-warning-code }
.c,.ch,.cm,.cpf,.c1, .cs,.w
{ color: $article-warning-code-accent1; }
.gi
{ background-color: $article-warning-code-accent1; }
.k,.kc,.kd,.kn,.kp,.kr,.nn
{ color: $article-warning-code-accent2; }
.bp,.cp,.dl,.gt,.gu,.kt,.nb,.nc,.no,.sa,.sb,.sc,.sd,.se,.sh,.sx,.sr,.s1,.s2
{ color: $article-warning-code-accent3 }
.err,.fm,.gr,.gd,.nd,.ne,.nf,.nl,.si
{ color: $article-warning-code-accent4 }
.m,.ni,.mb,.mf,.mh,.mi,.mo,.vc,.vg,.vi,.vm,.il
{ color: $article-warning-code-accent5 }
.gp,.o
{ color: $article-warning-code-accent6 }
.ss
{ color: $article-warning-code-accent7 }
// Javascript / Flux specific styles (duration and time values)
.language-js {
.mi + .nx, .mf + .nx { color: $article-warning-code-accent5; }
}
// SQL / InfluxQL specific styles (duration values)
.language-sql {
.mi + .n { color: $article-warning-code-accent5; }
}
}
}

View File

@ -78,18 +78,18 @@ $article-table-row-alt: $grey20;
$article-table-scrollbar: $g0-obsidian;
// Article Notes, Warnings, & Messages
$article-note-base: $gr-viridian;
$article-note-base: $b-pool;
$article-note-heading: $g20-white;
$article-note-text: $gr-honeydew;
$article-note-strong: $gr-krypton;
$article-note-link: $gr-wasabi;
$article-note-link-hover: $g20-white;
$article-note-table-header: $grad-green-dark;
$article-note-table-row-alt: #1a3c34;
$article-note-table-scrollbar: #162627;
$article-note-text: $b-neutrino;
$article-note-strong: $g20-white;
$article-note-link: $g20-white;
$article-note-link-hover: $b-hydrogen;
$article-note-table-header: $grad-blue-dark;
$article-note-table-row-alt: #1b3a58;
$article-note-table-scrollbar: #192a3a;
$article-note-shadow: $g0-obsidian;
$article-note-code: $br-galaxy;
$article-note-code-bg: #040d0e;
$article-note-code: $b-laser;
$article-note-code-bg: #0a071c;
$article-note-code-accent1: #567375;
$article-note-code-accent2: $b-pool;
$article-note-code-accent3: $gr-viridian;
@ -97,53 +97,93 @@ $article-note-code-accent4: $r-ruby;
$article-note-code-accent5: #ff6db0;
$article-note-code-accent6: $b-pool;
$article-note-code-accent7: #e90;
$article-note-code-scrollbar: #162627;
$article-note-code-scrollbar: #192a3a;
$article-warn-base: $r-dreamsicle;
$article-warn-bg: #ff61851a;
$article-warn-heading: $g20-white;
$article-warn-text: $r-tungsten;
$article-warn-link: $r-marmelade;
$article-warn-link-hover: $g20-white;
$article-warn-table-header: $grad-red;
$article-warn-table-row-alt: #4a2a2a;
$article-warn-table-scrollbar: #1f181b;
$article-warn-shadow: #0d0610;
$article-warn-code: #ec6e6e;
$article-warn-code-bg: #0d0610;
$article-warn-code-accent1: #844c4c;
$article-warn-code-accent2: $b-pool;
$article-warn-code-accent3: $gr-viridian;
$article-warn-code-accent4: $r-ruby;
$article-warn-code-accent5: #ffb4fb;
$article-warn-code-accent6: $b-pool;
$article-warn-code-accent7: #e90;
$article-warn-code-scrollbar: #2a2025;
$article-tip-base: $gr-viridian;
$article-tip-heading: $g20-white;
$article-tip-text: $gr-honeydew;
$article-tip-strong: $g20-white;
$article-tip-link: $gr-wasabi;
$article-tip-link-hover: $g20-white;
$article-tip-table-header: $grad-green-dark;
$article-tip-table-row-alt: #1a3c34;
$article-tip-table-scrollbar: #162627;
$article-tip-shadow: $g0-obsidian;
$article-tip-code: $br-galaxy;
$article-tip-code-bg: #040d0e;
$article-tip-code-accent1: #567375;
$article-tip-code-accent2: $b-pool;
$article-tip-code-accent3: $gr-viridian;
$article-tip-code-accent4: $r-ruby;
$article-tip-code-accent5: #ff6db0;
$article-tip-code-accent6: $b-pool;
$article-tip-code-accent7: #e90;
$article-tip-code-scrollbar: #162627;
$article-cloud-base: $b-pool;
$article-cloud-heading: $g20-white;
$article-cloud-text: $b-neutrino;
$article-cloud-link: $g20-white;
$article-cloud-link-hover: $b-hydrogen;
$article-cloud-table-header: $grad-blue-dark;
$article-cloud-table-row-alt: #1b3a58;
$article-cloud-table-scrollbar: #192a3a;
$article-cloud-shadow: $g0-obsidian;
$article-cloud-code: $b-laser;
$article-cloud-code-bg: #0a071c;
$article-cloud-code-accent1: #567375;
$article-cloud-code-accent2: $b-pool;
$article-cloud-code-accent3: $gr-viridian;
$article-cloud-code-accent4: $r-ruby;
$article-cloud-code-accent5: #ff6db0;
$article-cloud-code-accent6: $b-pool;
$article-cloud-code-accent7: #e90;
$article-cloud-code-scrollbar: #192a3a;
$article-important-base: $br-galaxy;
$article-important-heading: $g20-white;
$article-important-text: $cp-munchkin;
$article-important-strong: $g20-white;
$article-important-link: #797aff;
$article-important-link-hover: $g20-white;
$article-important-table-header: $grad-OminousFog;
$article-important-table-row-alt: #1b1b33;
$article-important-table-scrollbar: #56519e;
$article-important-shadow: #11111d;
$article-important-code: #9f92ff;
$article-important-code-bg: #0a071c;
$article-important-code-accent1: #5f51ac;
$article-important-code-accent2: $br-pulsar;
$article-important-code-accent3: #009a64;
$article-important-code-accent4: $r-ruby;
$article-important-code-accent5: #e24bbb;
$article-important-code-accent6: #00a5eb;
$article-important-code-accent7: #e90;
$article-important-code-scrollbar: #56519e;
$article-enterprise-base: $br-galaxy;
$article-enterprise-text: $cp-melrose;
$article-enterprise-link: $cp-titan;
$article-enterprise-link-hover: $g20-white;
$article-warning-base: $r-dreamsicle;
$article-warning-bg: #ff61851a;
$article-warning-heading: $g20-white;
$article-warning-text: $r-tungsten;
$article-warning-strong: $g20-white;
$article-warning-link: $r-marmelade;
$article-warning-link-hover: $g20-white;
$article-warning-table-header: $grad-red;
$article-warning-table-row-alt: #4a2a2a;
$article-warning-table-scrollbar: #1f181b;
$article-warning-shadow: #0d0610;
$article-warning-code: #ec6e6e;
$article-warning-code-bg: #0d0610;
$article-warning-code-accent1: #844c4c;
$article-warning-code-accent2: $b-pool;
$article-warning-code-accent3: $gr-viridian;
$article-warning-code-accent4: $r-ruby;
$article-warning-code-accent5: #ffb4fb;
$article-warning-code-accent6: $b-pool;
$article-warning-code-accent7: #e90;
$article-warning-code-scrollbar: #2a2025;
$article-caution-base: $br-new-magenta;
$article-caution-bg: rgba($br-new-magenta, .12);
$article-caution-heading: $g20-white;
$article-caution-text: #fe9dbc;
$article-caution-strong: $g20-white;
$article-caution-link: #f3d5e1;
$article-caution-link-hover: $g20-white;
$article-caution-table-header: $br-new-magenta, #ff598f;
$article-caution-table-row-alt: #391b35;
$article-caution-table-scrollbar: #912a58;
$article-caution-shadow: #0f050e;
$article-caution-code: #ff679b;
$article-caution-code-bg: #0d0610;
$article-caution-code-accent1: #8f3f5a;
$article-caution-code-accent2: #3d97e5;
$article-caution-code-accent3: #947eff;
$article-caution-code-accent4: $r-ruby;
$article-caution-code-accent5: #ffa0de;
$article-caution-code-accent6: #3d97e5;
$article-caution-code-accent7: #e90;
$article-caution-code-scrollbar: #5c1b38;
// Article Tabs for tabbed content
$article-tab-text: $g12-forge;

View File

@ -78,73 +78,113 @@ $article-table-header: $grad-Miyazakisky !default;
$article-table-row-alt: #f6f8ff !default;
$article-table-scrollbar: $g14-chromium !default;
// Article Notes & Warnings
$article-note-base: $gr-rainforest !default;
$article-note-heading: $gr-emerald !default;
$article-note-text: $gr-emerald !default;
$article-note-strong: $gr-emerald !default;
$article-note-link: $b-ocean !default;
$article-note-link-hover: $br-magenta !default;
$article-note-table-header: $grad-green-dark !default;
$article-note-table-row-alt: #d6f5e9 !default;
$article-note-table-scrollbar: #87DABE !default;
$article-note-shadow: #8CB7AB !default;
$article-note-code: #0A6F75 !default;
$article-note-code-bg: #BDF3DA !default;
$article-note-code-accent1: #6abba0 !default;
$article-note-code-accent2: #0084d6 !default;
$article-note-code-accent3: #5d52d6 !default;
// Article Alert Blocks
$article-note-base: $b-pool !default;
$article-note-heading: $b-ocean !default;
$article-note-text: $b-ocean !default;
$article-note-strong: $b-ocean !default;
$article-note-link: $p-void !default;
$article-note-link-hover: $p-star !default;
$article-note-table-header: $grad-blue !default;
$article-note-table-row-alt: $g20-white !default;
$article-note-table-scrollbar: $b-hydrogen !default;
$article-note-shadow: #6EB8E4 !default;
$article-note-code: $b-ocean !default;
$article-note-code-bg: $b-neutrino !default;
$article-note-code-accent1: #3CAAE2 !default;
$article-note-code-accent2: $br-pulsar !default;
$article-note-code-accent3: #048E66 !default;
$article-note-code-accent4: $r-ruby !default;
$article-note-code-accent5: #e24bbb !default;
$article-note-code-accent6: #0084d6 !default;
$article-note-code-accent7: #e90 !default;
$article-note-code-scrollbar: #87DABE !default;
$article-note-code-scrollbar: $b-laser !default;
$article-warn-base: $r-dreamsicle !default;
$article-warn-bg: rgba($r-dreamsicle, .08) !default;
$article-warn-heading: $r-fire !default;
$article-warn-text: $r-curacao !default;
$article-warn-link: $r-curacao !default;
$article-warn-link-hover: $br-pulsar !default;
$article-warn-table-header: $grad-red !default;
$article-warn-table-row-alt: #ffe6df !default;
$article-warn-table-scrollbar: #FFB1B1 !default;
$article-warn-shadow: #b98a7d !default;
$article-warn-code: #d0154e !default;
$article-warn-code-bg: #fde6e5 !default;
$article-warn-code-accent1: #fd99b8 !default;
$article-warn-code-accent2: #357ae8 !default;
$article-warn-code-accent3: #6c59cc !default;
$article-warn-code-accent4: $r-ruby !default;
$article-warn-code-accent5: #6a0a6f !default;
$article-warn-code-accent6: #357ae8 !default;
$article-warn-code-accent7: #e90 !default;
$article-warn-code-scrollbar: #FFB1B1 !default;
$article-tip-base: $gr-rainforest !default;
$article-tip-heading: $gr-emerald !default;
$article-tip-text: $gr-emerald !default;
$article-tip-strong: $gr-emerald !default;
$article-tip-link: $b-ocean !default;
$article-tip-link-hover: $br-magenta !default;
$article-tip-table-header: $grad-green-dark !default;
$article-tip-table-row-alt: #d6f5e9 !default;
$article-tip-table-scrollbar: #87DABE !default;
$article-tip-shadow: #8CB7AB !default;
$article-tip-code: #0A6F75 !default;
$article-tip-code-bg: #BDF3DA !default;
$article-tip-code-accent1: #6abba0 !default;
$article-tip-code-accent2: #0084d6 !default;
$article-tip-code-accent3: #5d52d6 !default;
$article-tip-code-accent4: $r-ruby !default;
$article-tip-code-accent5: #e24bbb !default;
$article-tip-code-accent6: #0084d6 !default;
$article-tip-code-accent7: #e90 !default;
$article-tip-code-scrollbar: #87DABE !default;
$article-cloud-base: $b-laser !default;
$article-cloud-heading: $b-ocean !default;
$article-cloud-text: $b-ocean !default;
$article-cloud-link: $b-ocean !default;
$article-cloud-link-hover: $br-pulsar !default;
$article-cloud-table-header: $grad-blue !default;
$article-cloud-table-row-alt: $g20-white !default;
$article-cloud-table-scrollbar: $b-hydrogen !default;
$article-cloud-shadow: #6EB8E4 !default;
$article-cloud-code: $b-ocean !default;
$article-cloud-code-bg: $b-neutrino !default;
$article-cloud-code-accent1: #3CAAE2 !default;
$article-cloud-code-accent2: $br-pulsar !default;
$article-cloud-code-accent3: #048E66 !default;
$article-cloud-code-accent4: $r-ruby !default;
$article-cloud-code-accent5: #e24bbb !default;
$article-cloud-code-accent6: #0084d6 !default;
$article-cloud-code-accent7: #e90 !default;
$article-cloud-code-scrollbar: $b-laser !default;
$article-important-base: $br-galaxy !default;
$article-important-heading: $br-pulsar !default;
$article-important-text: #5a55ad !default;
$article-important-strong: $br-pulsar !default;
$article-important-link: $b-ocean !default;
$article-important-link-hover: $br-pulsar !default;
$article-important-table-header: $grad-OminousFog !default;
$article-important-table-row-alt: $g20-white !default;
$article-important-table-scrollbar: $br-galaxy !default;
$article-important-shadow: #b0a6eb !default;
$article-important-code: $br-pulsar !default;
$article-important-code-bg: #dadbff !default;
$article-important-code-accent1: #998aeb !default;
$article-important-code-accent2: $br-pulsar !default;
$article-important-code-accent3: #026d33 !default;
$article-important-code-accent4: $r-ruby !default;
$article-important-code-accent5: #e24bbb !default;
$article-important-code-accent6: #0084d6 !default;
$article-important-code-accent7: #e90 !default;
$article-important-code-scrollbar: $br-galaxy !default;
$article-enterprise-base: $br-galaxy !default;
$article-enterprise-text: $cp-marguerite !default;
$article-enterprise-link: $cp-marguerite !default;
$article-enterprise-link-hover: $b-pool !default;
$article-warning-base: $r-dreamsicle !default;
$article-warning-bg: rgba($r-dreamsicle, .08) !default;
$article-warning-heading: $r-fire !default;
$article-warning-text: $r-curacao !default;
$article-warning-strong: $br-pulsar !default;
$article-warning-link: $r-curacao !default;
$article-warning-link-hover: $br-pulsar !default;
$article-warning-table-header: $grad-red !default;
$article-warning-table-row-alt: #ffe6df !default;
$article-warning-table-scrollbar: #FFB1B1 !default;
$article-warning-shadow: #b98a7d !default;
$article-warning-code: #d0154e !default;
$article-warning-code-bg: #fde6e5 !default;
$article-warning-code-accent1: #fd99b8 !default;
$article-warning-code-accent2: #357ae8 !default;
$article-warning-code-accent3: #6c59cc !default;
$article-warning-code-accent4: $r-ruby !default;
$article-warning-code-accent5: #6a0a6f !default;
$article-warning-code-accent6: #357ae8 !default;
$article-warning-code-accent7: #e90 !default;
$article-warning-code-scrollbar: #FFB1B1 !default;
$article-caution-base: $br-new-magenta !default;
$article-caution-bg: rgba($br-new-magenta, .08) !default;
$article-caution-heading: $br-new-magenta !default;
$article-caution-text: #db4692 !default;
$article-caution-strong: $br-new-magenta !default;
$article-caution-link: #8709d3 !default;
$article-caution-link-hover: $b-sapphire !default;
$article-caution-table-header: $br-new-magenta, #ff598f !default;
$article-caution-table-row-alt: #fff8fc !default;
$article-caution-table-scrollbar: #faa9cd !default;
$article-caution-shadow: #f1b1cb !default;
$article-caution-code: #d01578 !default;
$article-caution-code-bg: #f3d5e1 !default;
$article-caution-code-accent1: #e683b7 !default;
$article-caution-code-accent2: #356ec8 !default;
$article-caution-code-accent3: #5845b7 !default;
$article-caution-code-accent4: $r-ruby !default;
$article-caution-code-accent5: #6a0a6f !default;
$article-caution-code-accent6: #357ae8 !default;
$article-caution-code-accent7: #e90 !default;
$article-caution-code-scrollbar: #faa9cd !default;
// Article Tabs for tabbed content
$article-tab-text: $g8-storm !default;

View File

@ -37,6 +37,7 @@ body {
@import "tools/icon-fonts/icomoon-v2";
@import "tools/icon-fonts/icon-v3";
@import "tools/icon-fonts/icon-v4";
@import "tools/icon-fonts/alert-icons";
.v3 {font-family: 'icomoon-v3'}
.v4 {font-family: 'icomoon-v4'}

View File

@ -0,0 +1,42 @@
@font-face {
font-family: 'alert-icons';
src: url('fonts/alert-icons.eot?d0dznh');
src: url('fonts/alert-icons.eot?d0dznh#iefix') format('embedded-opentype'),
url('fonts/alert-icons.ttf?d0dznh') format('truetype'),
url('fonts/alert-icons.woff?d0dznh') format('woff'),
url('fonts/alert-icons.svg?d0dznh#icomoon') format('svg');
font-weight: normal;
font-style: normal;
font-display: block;
}
[class^="alert-icon-"], [class*=" alert-icon-"] {
/* use !important to prevent issues with browser extensions that change fonts */
font-family: 'alert-icons' !important;
speak: never;
font-style: normal;
font-weight: normal;
font-variant: normal;
text-transform: none;
line-height: 1;
/* Better Font Rendering =========== */
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
}
.alert-icon-caution:before {
content: "\43";
}
.alert-icon-important:before {
content: "\49";
}
.alert-icon-note:before {
content: "\4e";
}
.alert-icon-tip:before {
content: "\54";
}
.alert-icon-warning:before {
content: "\57";
}

File diff suppressed because it is too large Load Diff

View File

@ -14,14 +14,14 @@ of [Auth0](https://auth0.com) and your identity provider of choice.
Use SSO to provide users seamless access to your {{< product-name >}} cluster
with an existing set of credentials.
{{% cloud %}}
#### Contact InfluxData sales to enable SSO
SSO is a paid upgrade to your {{< product-name >}} cluster.
To begin the process of enabling SSO, contact InfluxData Sales:
<a class="btn" href="https://www.influxdata.com/contact-sales/">Contact InfluxData Sales</a>
{{% /cloud %}}
> [!Important]
>
> #### Contact InfluxData sales to enable SSO
>
> SSO is a paid upgrade to your {{< product-name >}} cluster.
> To begin the process of enabling SSO, contact InfluxData Sales:
>
> <a class="btn" href="https://www.influxdata.com/contact-sales/">Contact InfluxData Sales</a>
- [SSO authorization flow](#sso-authorization-flow)
- [Set up your identity provider](#set-up-your-identity-provider)

View File

@ -28,10 +28,9 @@ that queries data from an InfluxDB Cloud TSM-powered bucket in time-based batche
and writes each batch to an {{< product-name >}} (InfluxDB v3) database in
another organization.
{{% cloud %}}
All query requests are subject to your InfluxDB Cloud organization's
[rate limits and adjustable quotas](/influxdb/cloud/account-management/limits/).
{{% /cloud %}}
> [!Important]
> All query requests are subject to your InfluxDB Cloud organization's
> [rate limits and adjustable quotas](/influxdb/cloud/account-management/limits/).
- [Before you migrate](#before-you-migrate)
- [Set up the migration](#set-up-the-migration)

View File

@ -23,10 +23,9 @@ the exported data to a bucket in your InfluxDB Cloud Serverless organization.
Because full data migrations will likely exceed your organizations' limits and
adjustable quotas, migrate your data in batches.
{{% cloud %}}
All write requests are subject to your InfluxDB Cloud Serverless organization's
[rate limits and adjustable quotas](/influxdb/cloud-serverless/account-management/limits/).
{{% /cloud %}}
> [!Important]
> All write requests are subject to your InfluxDB Cloud Serverless organization's
> [rate limits and adjustable quotas](/influxdb/cloud-serverless/account-management/limits/).
<!-- BEGIN TOC -->

View File

@ -31,10 +31,9 @@ that queries data from an InfluxDB Cloud TSM-powered bucket in time-based batche
and writes each batch to an InfluxDB Cloud Serverless (InfluxDB v3) bucket in
another organization.
{{% cloud %}}
All query and write requests are subject to your InfluxDB Cloud organization's
[rate limits and adjustable quotas](/influxdb/cloud-serverless/account-management/limits/).
{{% /cloud %}}
> [!Important]
> All query and write requests are subject to your InfluxDB Cloud organization's
> [rate limits and adjustable quotas](/influxdb/cloud-serverless/account-management/limits/).
- [Before you migrate](#before-you-migrate)
- [Set up the migration](#set-up-the-migration)

View File

@ -10,10 +10,10 @@ weight: 101
influxdb/cloud-serverless/tags: [authorization]
---
{{% cloud %}}
#### Not supported in InfluxDB Cloud
**InfluxDB Cloud** does not support InfluxDB 1.x compatible authorizations.
To authenticate with InfluxDB Cloud, use [InfluxDB token authentication](/influxdb/cloud-serverless/admin/tokens/).
{{% /cloud %}}
> [!Important]
>
> #### Not supported in InfluxDB Cloud
> **InfluxDB Cloud** does not support InfluxDB 1.x compatible authorizations.
> To authenticate with InfluxDB Cloud, use [InfluxDB token authentication](/influxdb/cloud-serverless/admin/tokens/).
{{< duplicate-oss >}}

View File

@ -11,11 +11,11 @@ influxdb/cloud-serverless/tags: [authorization]
updated_in: CLI v2.0.3
---
{{% cloud %}}
#### Not supported in InfluxDB Cloud
**InfluxDB Cloud** does not support InfluxDB 1.x compatible authorizations.
Using the `influx v1 auth create` command with InfluxDB Cloud will result in an error.
To authenticate with InfluxDB Cloud, use [InfluxDB token authentication](/influxdb/cloud-serverless/admin/tokens/).
{{% /cloud %}}
> [!Important]
>
> #### Not supported in InfluxDB Cloud
> **InfluxDB Cloud** does not support InfluxDB 1.x compatible authorizations.
> Using the `influx v1 auth create` command with InfluxDB Cloud will result in an error.
> To authenticate with InfluxDB Cloud, use [InfluxDB token authentication](/influxdb/cloud-serverless/admin/tokens/).
{{< duplicate-oss >}}

View File

@ -10,11 +10,11 @@ weight: 101
influxdb/cloud-serverless/tags: [authorization]
---
{{% cloud %}}
#### Not supported in InfluxDB Cloud
**InfluxDB Cloud** does not support InfluxDB 1.x compatible authorizations.
Using the `influx v1 auth delete` command with InfluxDB Cloud will result in an error.
To authenticate with InfluxDB Cloud, use [InfluxDB token authentication](/influxdb/cloud-serverless/admin/tokens/).
{{% /cloud %}}
> [!Important]
>
> #### Not supported in InfluxDB Cloud
> **InfluxDB Cloud** does not support InfluxDB 1.x compatible authorizations.
> Using the `influx v1 auth delete` command with InfluxDB Cloud will result in an error.
> To authenticate with InfluxDB Cloud, use [InfluxDB token authentication](/influxdb/cloud-serverless/admin/tokens/).
{{< duplicate-oss >}}

View File

@ -10,11 +10,11 @@ weight: 101
influxdb/cloud-serverless/tags: [authorization]
---
{{% cloud %}}
#### Not supported in InfluxDB Cloud
**InfluxDB Cloud** does not support InfluxDB 1.x compatible authorizations.
Using the `influx v1 auth list` command with InfluxDB Cloud will result in an error.
To authenticate with InfluxDB Cloud, use [InfluxDB token authentication](/influxdb/cloud-serverless/admin/tokens/).
{{% /cloud %}}
> [!Important]
>
> #### Not supported in InfluxDB Cloud
> **InfluxDB Cloud** does not support InfluxDB 1.x compatible authorizations.
> Using the `influx v1 auth list` command with InfluxDB Cloud will result in an error.
> To authenticate with InfluxDB Cloud, use [InfluxDB token authentication](/influxdb/cloud-serverless/admin/tokens/).
{{< duplicate-oss >}}

View File

@ -10,11 +10,11 @@ weight: 101
influxdb/cloud-serverless/tags: [authorization]
---
{{% cloud %}}
#### Not supported in InfluxDB Cloud
**InfluxDB Cloud** does not support InfluxDB 1.x compatible authorizations.
Using the `influx v1 auth set-active` command with InfluxDB Cloud will result in an error.
To authenticate with InfluxDB Cloud, use [InfluxDB token authentication](/influxdb/cloud-serverless/admin/tokens/).
{{% /cloud %}}
> [!Important]
>
>#### Not supported in InfluxDB Cloud
>**InfluxDB Cloud** does not support InfluxDB 1.x compatible authorizations.
>Using the `influx v1 auth set-active` command with InfluxDB Cloud will result in an error.
>To authenticate with InfluxDB Cloud, use [InfluxDB token authentication](/influxdb/cloud-serverless/admin/tokens/).
{{< duplicate-oss >}}

View File

@ -10,11 +10,11 @@ weight: 101
influxdb/cloud-serverless/tags: [authorization]
---
{{% cloud %}}
#### Not supported in InfluxDB Cloud
**InfluxDB Cloud** does not support InfluxDB 1.x compatible authorizations.
Using the `influx v1 auth set-inactive` command with InfluxDB Cloud will result in an error.
To authenticate with InfluxDB Cloud, use [InfluxDB token authentication](/influxdb/cloud-serverless/admin/tokens/).
{{% /cloud %}}
> [!Important]
>
> #### Not supported in InfluxDB Cloud
> **InfluxDB Cloud** does not support InfluxDB 1.x compatible authorizations.
> Using the `influx v1 auth set-inactive` command with InfluxDB Cloud will result in an error.
> To authenticate with InfluxDB Cloud, use [InfluxDB token authentication](/influxdb/cloud-serverless/admin/tokens/).
{{< duplicate-oss >}}

View File

@ -11,11 +11,11 @@ influxdb/cloud-serverless/tags: [authorization]
updated_in: CLI v2.0.3
---
{{% cloud %}}
#### Not supported in InfluxDB Cloud
**InfluxDB Cloud** does not support InfluxDB 1.x compatible authorizations.
Using the `influx v1 auth set-password` command with InfluxDB Cloud will result in an error.
To authenticate with InfluxDB Cloud, use [InfluxDB token authentication](/influxdb/cloud-serverless/admin/tokens/).
{{% /cloud %}}
> [!Important]
>
> #### Not supported in InfluxDB Cloud
> **InfluxDB Cloud** does not support InfluxDB 1.x compatible authorizations.
> Using the `influx v1 auth set-password` command with InfluxDB Cloud will result in an error.
> To authenticate with InfluxDB Cloud, use [InfluxDB token authentication](/influxdb/cloud-serverless/admin/tokens/).
{{< duplicate-oss >}}

View File

@ -10,10 +10,11 @@ weight: 101
influxdb/cloud/tags: [authorization]
---
{{% cloud %}}
#### Not supported in InfluxDB Cloud
**InfluxDB Cloud** does not support InfluxDB 1.x compatible authorizations.
To authenticate with InfluxDB Cloud, use [InfluxDB token authentication](/influxdb/cloud/admin/tokens/).
{{% /cloud %}}
> [!IMPORTANT]
>
> #### Not supported in InfluxDB Cloud
>
> **InfluxDB Cloud** does not support InfluxDB 1.x compatible authorizations.
> To authenticate with InfluxDB Cloud, use [InfluxDB token authentication](/influxdb/cloud/admin/tokens/).
{{< duplicate-oss >}}

View File

@ -11,13 +11,12 @@ influxdb/cloud/tags: [authorization]
updated_in: CLI v2.0.3
---
{{% cloud %}}
#### Not supported in InfluxDB Cloud Serverless
**{{< product-name >}}** does not support InfluxDB 1.x compatible authorizations.
Using the `influx v1 auth create` command with InfluxDB Cloud will result in an error.
To authenticate with InfluxDB Cloud, use
[InfluxDB token authentication](/influxdb/cloud-serverless/admin/tokens/).
{{% /cloud %}}
> [!Important]
> #### Not supported in InfluxDB Cloud Serverless
>
> **{{< product-name >}}** does not support InfluxDB 1.x compatible authorizations.
> Using the `influx v1 auth create` command with InfluxDB Cloud will result in an error.
> To authenticate with InfluxDB Cloud, use
> [InfluxDB token authentication](/influxdb/cloud-serverless/admin/tokens/).
{{< duplicate-oss >}}

View File

@ -10,11 +10,11 @@ weight: 101
influxdb/cloud/tags: [authorization]
---
{{% cloud %}}
#### Not supported in InfluxDB Cloud
**InfluxDB Cloud** does not support InfluxDB 1.x compatible authorizations.
Using the `influx v1 auth delete` command with InfluxDB Cloud will result in an error.
To authenticate with InfluxDB Cloud, use [InfluxDB token authentication](/influxdb/cloud/admin/tokens/).
{{% /cloud %}}
> [!Important]
>
> #### Not supported in InfluxDB Cloud
> **InfluxDB Cloud** does not support InfluxDB 1.x compatible authorizations.
> Using the `influx v1 auth delete` command with InfluxDB Cloud will result in an error.
> To authenticate with InfluxDB Cloud, use [InfluxDB token authentication](/influxdb/cloud/admin/tokens/).
{{< duplicate-oss >}}

View File

@ -10,11 +10,11 @@ weight: 101
influxdb/cloud/tags: [authorization]
---
{{% cloud %}}
#### Not supported in InfluxDB Cloud
**InfluxDB Cloud** does not support InfluxDB 1.x compatible authorizations.
Using the `influx v1 auth list` command with InfluxDB Cloud will result in an error.
To authenticate with InfluxDB Cloud, use [InfluxDB token authentication](/influxdb/cloud/admin/tokens/).
{{% /cloud %}}
> [!Important]
>
> #### Not supported in InfluxDB Cloud
> **InfluxDB Cloud** does not support InfluxDB 1.x compatible authorizations.
> Using the `influx v1 auth list` command with InfluxDB Cloud will result in an error.
> To authenticate with InfluxDB Cloud, use [InfluxDB token authentication](/influxdb/cloud/admin/tokens/).
{{< duplicate-oss >}}

View File

@ -10,11 +10,11 @@ weight: 101
influxdb/cloud/tags: [authorization]
---
{{% cloud %}}
#### Not supported in InfluxDB Cloud
**InfluxDB Cloud** does not support InfluxDB 1.x compatible authorizations.
Using the `influx v1 auth set-active` command with InfluxDB Cloud will result in an error.
To authenticate with InfluxDB Cloud, use [InfluxDB token authentication](/influxdb/cloud/admin/tokens/).
{{% /cloud %}}
> [!Important]
>
> #### Not supported in InfluxDB Cloud
> **InfluxDB Cloud** does not support InfluxDB 1.x compatible authorizations.
> Using the `influx v1 auth set-active` command with InfluxDB Cloud will result in an error.
> To authenticate with InfluxDB Cloud, use [InfluxDB token authentication](/influxdb/cloud/admin/tokens/).
{{< duplicate-oss >}}

View File

@ -10,11 +10,11 @@ weight: 101
influxdb/cloud/tags: [authorization]
---
{{% cloud %}}
#### Not supported in InfluxDB Cloud
**InfluxDB Cloud** does not support InfluxDB 1.x compatible authorizations.
Using the `influx v1 auth set-inactive` command with InfluxDB Cloud will result in an error.
To authenticate with InfluxDB Cloud, use [InfluxDB token authentication](/influxdb/cloud/admin/tokens/).
{{% /cloud %}}
> [!Important]
>
> #### Not supported in InfluxDB Cloud
> **InfluxDB Cloud** does not support InfluxDB 1.x compatible authorizations.
> Using the `influx v1 auth set-inactive` command with InfluxDB Cloud will result in an error.
> To authenticate with InfluxDB Cloud, use [InfluxDB token authentication](/influxdb/cloud/admin/tokens/).
{{< duplicate-oss >}}

View File

@ -11,11 +11,11 @@ influxdb/cloud/tags: [authorization]
updated_in: CLI v2.0.3
---
{{% cloud %}}
#### Not supported in InfluxDB Cloud
**InfluxDB Cloud** does not support InfluxDB 1.x compatible authorizations.
Using the `influx v1 auth set-password` command with InfluxDB Cloud will result in an error.
To authenticate with InfluxDB Cloud, use [InfluxDB token authentication](/influxdb/cloud/admin/tokens/).
{{% /cloud %}}
> [!Important]
>
> #### Not supported in InfluxDB Cloud
> **InfluxDB Cloud** does not support InfluxDB 1.x compatible authorizations.
> Using the `influx v1 auth set-password` command with InfluxDB Cloud will result in an error.
> To authenticate with InfluxDB Cloud, use [InfluxDB token authentication](/influxdb/cloud/admin/tokens/).
{{< duplicate-oss >}}

View File

@ -25,10 +25,9 @@ The following guide provides instructions for setting up an InfluxDB task
that queries data from an InfluxDB Cloud bucket in time-based batches and writes
each batch to another InfluxDB Cloud bucket in another organization.
{{% cloud %}}
All query and write requests are subject to your InfluxDB Cloud organization's
[rate limits and adjustable quotas](/influxdb/cloud/account-management/limits/).
{{% /cloud %}}
> [!Important]
> All query and write requests are subject to your InfluxDB Cloud organization's
> [rate limits and adjustable quotas](/influxdb/cloud/account-management/limits/).
- [Set up the migration](#set-up-the-migration)
- [Migration task](#migration-task)

View File

@ -27,10 +27,9 @@ that queries data from an InfluxDB Cloud TSM-powered bucket in time-based batche
and writes each batch to an {{< product-name >}} (InfluxDB v3) database in
another organization.
{{% cloud %}}
All query requests are subject to your InfluxDB Cloud organization's
[rate limits and adjustable quotas](/influxdb/cloud/account-management/limits/).
{{% /cloud %}}
> [!Important]
> All query requests are subject to your InfluxDB Cloud organization's
> [rate limits and adjustable quotas](/influxdb/cloud/account-management/limits/).
- [Before you migrate](#before-you-migrate)
- [Set up the migration](#set-up-the-migration)

View File

@ -28,9 +28,8 @@ The InfluxDB {{< current-version >}} `influx backup` command is not compatible w
- [Manually upgrade from InfluxDB 1.x to {{< current-version >}}](/influxdb/v2/upgrade/v1-to-v2/manual-upgrade/)
{{% /note %}}
{{% cloud %}}
The `influx backup` command **cannot** back up data stored in **InfluxDB Cloud**.
{{% /cloud %}}
> [!Important]
> The `influx backup` command **cannot** back up data stored in **InfluxDB Cloud**.
The `influx backup` command requires:

View File

@ -15,9 +15,8 @@ related:
- /influxdb/v2/reference/cli/influxd/restore/
---
{{% cloud %}}
Restores **not supported in InfluxDB Cloud**.
{{% /cloud %}}
> [!Important]
> Restores **not supported in InfluxDB Cloud**.
Use the `influx restore` command to restore backup data and metadata from InfluxDB OSS.

View File

@ -105,11 +105,10 @@ influx bucket create \
##### Create a bucket with an explicit schema
{{% cloud %}}
[Explicit bucket schemas](/influxdb/cloud/reference/cli/influx/bucket-schema) are only
supported in **InfluxDB Cloud**.
For more information, see [Manage bucket schema](/influxdb/cloud/admin/buckets/bucket-schema/).
{{% /cloud %}}
> [!Important]
> [Explicit bucket schemas](/influxdb/cloud/reference/cli/influx/bucket-schema) are only
> supported in **InfluxDB Cloud**.
> For more information, see [Manage bucket schema](/influxdb/cloud/admin/buckets/bucket-schema/).
```sh
{{< get-shared-text "bucket-schema/bucket-schema-type.sh" >}}

View File

@ -12,9 +12,11 @@ related:
- /influxdb/v2/write-data/replication
---
{{% cloud %}}
Configure InfluxDB Edge Data Replication remotes and replication streams to replicate data from InfluxDB OSS to remote buckets on InfluxDB Cloud, InfluxDB Enterprise, or another InfluxDB OSS instance. Currently, you cannot configure remotes and replication streams on InfluxDB Cloud.
{{% /cloud %}}
> [!Important]
> Configure InfluxDB Edge Data Replication remotes and replication streams to
> replicate data from InfluxDB OSS to remote buckets on InfluxDB Cloud, InfluxDB
> Enterprise, or another InfluxDB OSS instance. Currently, you cannot configure
> remotes and replication streams on InfluxDB Cloud.
Use the `influx remote` command to manage connections to remote instances of InfluxDB.
Remote connections are used to replicate data on write at the bucket level.

View File

@ -11,9 +11,8 @@ related:
- /influxdb/v2/reference/cli/influx/replication
---
{{% cloud %}}
Replication remotes and replication streams can only be configured for InfluxDB OSS.
{{% /cloud %}}
> [!Important]
> Replication remotes and replication streams can only be configured for InfluxDB OSS.
The `influx remote create` command creates a new remote InfluxDB connection for replicating data.

View File

@ -11,9 +11,8 @@ related:
- /influxdb/v2/reference/cli/influx/replication
---
{{% cloud %}}
Replication remotes and replication streams can only be configured for InfluxDB OSS.
{{% /cloud %}}
> [!Important]
> Replication remotes and replication streams can only be configured for InfluxDB OSS.
The `influx remote delete` command delete an existing remote InfluxDB connection used for replication.

View File

@ -11,9 +11,8 @@ related:
- /influxdb/v2/reference/cli/influx/replication
---
{{% cloud %}}
Replication remotes and replication streams can only be configured for InfluxDB OSS.
{{% /cloud %}}
> [!Important]
> Replication remotes and replication streams can only be configured for InfluxDB OSS.
The `influx remote list` command lists all remote InfluxDB connections used for replication.

View File

@ -12,9 +12,8 @@ related:
---
{{% cloud %}}
Replication remotes and replication streams can only be configured for InfluxDB OSS.
{{% /cloud %}}
> [!Important]
> Replication remotes and replication streams can only be configured for InfluxDB OSS.
The `influx remote update` command updates an existing InfluxDB remote connection used for replicating data.

View File

@ -9,10 +9,8 @@ weight: 101
influxdb/v2/tags: [write]
---
{{% cloud %}}
Replication remotes and replication streams can only be configured for InfluxDB OSS.
{{% /cloud %}}
> [!Important]
> Replication remotes and replication streams can only be configured for InfluxDB OSS.
The `influx replication create` command creates a new InfluxDB replication stream.

View File

@ -9,9 +9,8 @@ weight: 102
influxdb/v2/tags: [write, replication]
---
{{% cloud %}}
Replication remotes and replication streams can only be configured for InfluxDB OSS.
{{% /cloud %}}
> [!Important]
> Replication remotes and replication streams can only be configured for InfluxDB OSS.
The `influx replication delete` command deletes an InfluxDB replication stream.

View File

@ -9,9 +9,8 @@ weight: 102
influxdb/v2/tags: [write, replication]
---
{{% cloud %}}
Replication remotes and replication streams can only be configured for InfluxDB OSS.
{{% /cloud %}}
> [!Important]
> Replication remotes and replication streams can only be configured for InfluxDB OSS.
The `influx replication list` command lists all InfluxDB replication streams and their corresponding metrics.

View File

@ -9,9 +9,8 @@ weight: 102
influxdb/v2/tags: [write, replication]
---
{{% cloud %}}
Replication remotes and replication streams can only be configured for InfluxDB OSS.
{{% /cloud %}}
> [!Important]
> Replication remotes and replication streams can only be configured for InfluxDB OSS.
The `influx replication update` command updates an InfluxDB replication stream.

View File

@ -23,9 +23,8 @@ normalizes degree-based wind directions to cardinal directions, and then writes
the normalized data to a bucket.
{{< cloud-only >}}
{{% cloud %}}
**Note**: Using sample data counts towards your total InfluxDB Cloud usage.
{{% /cloud %}}
> [!Important]
> **Note**: Using sample data counts towards your total InfluxDB Cloud usage.
{{< /cloud-only >}}
1. [Create a new notebook](/influxdb/v2/tools/notebooks/create-notebook/).

View File

@ -127,6 +127,5 @@ For example: "5MB / 5min" can be also expressed as `17476.266666667Bs`, `1MB/1mi
If the rate limit format is invalid, `influx write` prints out the format and an exact regular expression.
The `--rate-limit` flag can be also used with [`influx write dryrun`](/influxdb/v2/reference/cli/influx/write/dryrun/).
{{% cloud %}}
By default, the free tier rate limit in InfluxDB Cloud is `1MB/min`.
{{% /cloud %}}
> [!Important]
> By default, the free tier rate limit in InfluxDB Cloud is `1MB/min`.

View File

@ -21,10 +21,9 @@ The following guide provides instructions for setting up an InfluxDB OSS task
that queries data from an InfluxDB Cloud bucket in time-based batches and writes
each batch to an InfluxDB OSS bucket.
{{% cloud %}}
All queries against data in InfluxDB Cloud are subject to your organization's
[rate limits and adjustable quotas](/influxdb/cloud/account-management/limits/).
{{% /cloud %}}
> [!Important]
> All queries against data in InfluxDB Cloud are subject to your organization's
> [rate limits and adjustable quotas](/influxdb/cloud/account-management/limits/).
- [Set up the migration](#set-up-the-migration)
- [Migration task](#migration-task)

View File

@ -17,13 +17,13 @@ To migrate data from an InfluxDB OSS bucket to another InfluxDB OSS or InfluxDB
Cloud bucket, export your data as line protocol and write it to your other
InfluxDB bucket.
{{% cloud %}}
#### InfluxDB Cloud write limits
If migrating data from InfluxDB OSS to InfluxDB Cloud, you are subject to your
[InfluxDB Cloud organization's rate limits and adjustable quotas](/influxdb/cloud/account-management/limits/).
Consider exporting your data in time-based batches to limit the file size
of exported line protocol to match your InfluxDB Cloud organization's limits.
{{% /cloud %}}
> [!Important]
>
> #### InfluxDB Cloud write limits
> If migrating data from InfluxDB OSS to InfluxDB Cloud, you are subject to your
> [InfluxDB Cloud organization's rate limits and adjustable quotas](/influxdb/cloud/account-management/limits/).
> Consider exporting your data in time-based batches to limit the file size
> of exported line protocol to match your InfluxDB Cloud organization's limits.
1. [Find the InfluxDB OSS bucket ID](/influxdb/{{< current-version-link >}}/organizations/buckets/view-buckets/)
that contains data you want to migrate.

View File

@ -21,10 +21,8 @@ then write the scraped data to an InfluxDB bucket.
Scrapers can collect data from any HTTP(S)-accessible endpoint that provides data
in the [Prometheus data format](https://prometheus.io/docs/instrumenting/exposition_formats/).
{{% cloud %}}
Scrapers are not available in InfluxDB Cloud.
{{% /cloud %}}
> [!Important]
> Scrapers are not available in InfluxDB Cloud.
The following articles provide information about creating and managing InfluxDB data scrapers:

View File

@ -23,11 +23,11 @@ To replicate all writes to an InfluxDB OSS instance to an InfluxDB Cloud instanc
use [InfluxDB replication streams](/influxdb/v2/write-data/replication/).
{{% /note %}}
{{% cloud %}}
#### InfluxDB Cloud rate limits
Write requests to InfluxDB Cloud are subject to the rate limits associated with your
[InfluxDB Cloud pricing plan](/influxdb/cloud/account-management/pricing-plans/).
{{% /cloud %}}
> [!Important]
>
> #### InfluxDB Cloud rate limits
> Write requests to InfluxDB Cloud are subject to the rate limits associated with your
> [InfluxDB Cloud pricing plan](/influxdb/cloud/account-management/pricing-plans/).
1. Query data from InfluxDB OSS.
2. _(Optional)_ [Filter](/flux/v0/stdlib/universe/filter/) or process data to write to InfluxDB Cloud.

View File

@ -1,53 +0,0 @@
baseURL = "https://test2.docs.influxdata.com/"
languageCode = "en-us"
title = "InfluxDB Documentation"
# Git history information for lastMod-type functionality
enableGitInfo = true
# Syntax Highlighting
pygmentsCodefences = true
pygmentsUseClasses = true
# Preserve case in article tags
preserveTaxonomyNames = true
# Generate a robots.txt
enableRobotsTXT = true
# Custom staging params
[params]
environment = "staging"
# Markdown rendering options
[blackfriday]
hrefTargetBlank = true
smartDashes = false
[taxonomies]
"influxdb/v2/tag" = "influxdb/v2/tags"
"influxdb/cloud/tag" = "influxdb/cloud/tags"
"influxdb/cloud-serverless/tag" = "influxdb/cloud-serverless/tags"
"influxdb/cloud-dedicated/tag" = "influxdb/cloud-dedicated/tags"
"influxdb/clustered/tag" = "influxdb/clustered/tags"
"flux/v0/tag" = "flux/v0/tags"
[markup]
[markup.goldmark]
[markup.goldmark.renderer]
unsafe = true
[privacy]
[privacy.googleAnalytics]
anonymizeIP = false
disable = false
respectDoNotTrack = true
useSessionStorage = false
[privacy.youtube]
disable = false
privacyEnhanced = true
[outputFormats.json]
mediaType = "application/json"
baseName = "pages"
isPlainText = true

58
hugo.staging.yml Normal file
View File

@ -0,0 +1,58 @@
baseURL: https://test2.docs.influxdata.com/
languageCode: en-us
title: InfluxDB Documentation
# Git history information for lastMod-type functionality
enableGitInfo: true
# Syntax Highlighting
pygmentsCodefences: true
pygmentsUseClasses: true
# Preserve case in article tags
preserveTaxonomyNames: true
# Generate a robots.txt
enableRobotsTXT: true
# Custom staging params
params:
environment: staging
# Markdown rendering options
blackfriday:
hrefTargetBlank: true
smartDashes: false
taxonomies:
influxdb/v2/tag: influxdb/v2/tags
influxdb/cloud/tag: influxdb/cloud/tags
influxdb/cloud-serverless/tag: influxdb/cloud-serverless/tags
influxdb/cloud-dedicated/tag: influxdb/cloud-dedicated/tags
influxdb/clustered/tag: influxdb/clustered/tags
flux/v0/tag: flux/v0/tags
markup:
goldmark:
renderer:
unsafe: true
extensions:
linkify: false
parser:
attribute:
block: true
privacy:
googleAnalytics:
anonymizeIP: false
disable: false
respectDoNotTrack: true
useSessionStorage: false
youtube:
disable: false
privacyEnhanced: true
outputFormats:
json:
mediaType: application/json
baseName: pages
isPlainText: true

View File

@ -1,51 +0,0 @@
baseURL = "https://docs.influxdata.com/"
languageCode = "en-us"
title = "InfluxDB Documentation"
# Git history information for lastMod-type functionality
enableGitInfo = true
# Syntax Highlighting
pygmentsCodefences = true
pygmentsUseClasses = true
# Preserve case in article tags
preserveTaxonomyNames = true
# Generate a robots.txt
enableRobotsTXT = true
# Markdown rendering options
[blackfriday]
hrefTargetBlank = true
smartDashes = false
[taxonomies]
"influxdb/v2/tag" = "influxdb/v2/tags"
"influxdb/cloud/tag" = "influxdb/cloud/tags"
"influxdb/cloud-serverless/tag" = "influxdb/cloud-serverless/tags"
"influxdb/cloud-dedicated/tag" = "influxdb/cloud-dedicated/tags"
"influxdb/clustered/tag" = "influxdb/clustered/tags"
"flux/v0/tag" = "flux/v0/tags"
[markup]
[markup.goldmark]
[markup.goldmark.renderer]
unsafe = true
[markup.goldmark.extensions]
linkify = false
[privacy]
[privacy.googleAnalytics]
anonymizeIP = false
disable = false
respectDoNotTrack = true
useSessionStorage = false
[privacy.youtube]
disable = false
privacyEnhanced = true
[outputFormats.json]
mediaType = "application/json"
baseName = "pages"
isPlainText = true

54
hugo.yml Normal file
View File

@ -0,0 +1,54 @@
baseURL: 'https://docs.influxdata.com/'
languageCode: en-us
title: InfluxDB Documentation
# Git history information for lastMod-type functionality
enableGitInfo: true
# Syntax Highlighting
pygmentsCodefences: true
pygmentsUseClasses: true
# Preserve case in article tags
preserveTaxonomyNames: true
# Generate a robots.txt
enableRobotsTXT: true
# Markdown rendering options
blackfriday:
hrefTargetBlank: true
smartDashes: false
taxonomies:
influxdb/v2/tag: influxdb/v2/tags
influxdb/cloud/tag: influxdb/cloud/tags
influxdb/cloud-serverless/tag: influxdb/cloud-serverless/tags
influxdb/cloud-dedicated/tag: influxdb/cloud-dedicated/tags
influxdb/clustered/tag: influxdb/clustered/tags
flux/v0/tag: flux/v0/tags
markup:
goldmark:
renderer:
unsafe: true
extensions:
linkify: false
parser:
attribute:
block: true
privacy:
googleAnalytics:
anonymizeIP: false
disable: false
respectDoNotTrack: true
useSessionStorage: false
youtube:
disable: false
privacyEnhanced: true
outputFormats:
json:
mediaType: application/json
baseName: pages
isPlainText: true

View File

@ -0,0 +1,11 @@
{{ if eq .Type "alert" }}
<div class="block {{ .AlertType }}">
{{/* Hugo render hooks add an opening paragraph tag if the .Text starts */}}
{{/* with a heading. This replaces the phantom paragraph tag. */}}
{{ replace .Text "<p><h" "<h" | safeHTML }}
</div>
{{ else }}
<blockquote>
{{ .Text | safeHTML}}
</blockquote>
{{ end }}

View File

@ -2,7 +2,7 @@
{{ $productPathData := findRE "[^/]+.*?" .RelPermalink }}
{{ $product := index $productPathData 0 }}
{{ $currentVersion := index $productPathData 1 }}
{{ $doNotIncludeVersion := slice "resources" "platform" }}
{{ $doNotIncludeVersion := slice "resources" "platform" "example" }}
{{ if or (eq $product nil) (in $doNotIncludeVersion $product) }}
{{ else }}

View File

@ -1,4 +0,0 @@
{{ $_hugo_config := `{ "version": 1 }` }}
<div class="cloud block">
{{ .Inner }}
</div>

View File

@ -1,4 +0,0 @@
{{ $_hugo_config := `{ "version": 1 }` }}
<div class="enterprise block">
{{ .Inner }}
</div>

Binary file not shown.

View File

@ -0,0 +1,15 @@
<?xml version="1.0" standalone="no"?>
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd" >
<svg xmlns="http://www.w3.org/2000/svg">
<metadata>Generated by IcoMoon</metadata>
<defs>
<font id="icomoon" horiz-adv-x="1024">
<font-face units-per-em="1024" ascent="960" descent="-64" />
<missing-glyph horiz-adv-x="1024" />
<glyph unicode="&#x20;" horiz-adv-x="512" d="" />
<glyph unicode="&#x43;" glyph-name="caution" d="M569.6 236.8c0-32-25.6-57.6-57.6-57.6s-57.6 25.6-57.6 57.6 25.6 57.6 57.6 57.6 57.6-25.6 57.6-57.6zM563.2 345.6h-96v371.2h96v-371.2zM723.2-64h-422.4l-300.8 300.8v422.4l300.8 300.8h422.4l300.8-300.8v-422.4l-300.8-300.8zM332.8 12.8h358.4l256 256v358.4l-256 256h-358.4l-256-256v-358.4l256-256z" />
<glyph unicode="&#x49;" glyph-name="important" d="M576 384c0-38.4-32-64-64-64s-64 25.6-64 64 25.6 64 64 64 64-25.6 64-64zM563.2 512h-96v192h96v-192zM416-12.8c-12.8 0-25.6 0-38.4 6.4-38.4 12.8-64 51.2-64 96v96h-89.6c-89.6 0-166.4 76.8-166.4 166.4v384c0 89.6 76.8 166.4 166.4 166.4h576c89.6 0 166.4-76.8 166.4-166.4v-384c0-89.6-76.8-166.4-166.4-166.4h-153.6l-160-166.4c-19.2-19.2-44.8-32-70.4-32zM224 825.6c-51.2 0-89.6-38.4-89.6-89.6v-384c0-51.2 38.4-89.6 89.6-89.6h166.4v-172.8c0-12.8 12.8-19.2 12.8-25.6 0 0 19.2 0 25.6 0l185.6 192h185.6c51.2 0 89.6 38.4 89.6 89.6v390.4c0 51.2-38.4 89.6-89.6 89.6h-576z" />
<glyph unicode="&#x4e;" glyph-name="note" d="M512-64c-281.6 0-512 230.4-512 512s230.4 512 512 512 512-230.4 512-512-230.4-512-512-512zM512 883.2c-243.2 0-435.2-192-435.2-435.2s198.4-435.2 435.2-435.2 435.2 198.4 435.2 435.2-192 435.2-435.2 435.2zM448 652.8c0 32 32 64 64 64s64-25.6 64-64-25.6-64-64-64-64 25.6-64 64zM448 531.2h128v-313.6h-128v313.6z" />
<glyph unicode="&#x54;" glyph-name="tip" d="M345.6 102.4c-19.2 0-32 12.8-38.4 32 0 19.2 12.8 38.4 32 44.8l326.4 44.8c19.2 0 38.4-12.8 44.8-32 0-19.2-12.8-38.4-32-44.8l-326.4-44.8s0 0 0 0zM377.6-38.4c-19.2 0-32 12.8-38.4 32 0 19.2 12.8 38.4 32 44.8l268.8 38.4c19.2 0 38.4-12.8 44.8-32 0-19.2-12.8-38.4-32-44.8l-268.8-38.4s0 0 0 0zM390.4 243.2c-12.8 0-25.6 0-32 12.8-19.2 25.6-38.4 44.8-64 64-64 57.6-140.8 128-140.8 268.8s160 345.6 358.4 345.6 358.4-153.6 358.4-345.6-83.2-256-211.2-313.6c-19.2-6.4-44.8 0-51.2 19.2s0 44.8 19.2 51.2c96 44.8 160 140.8 160 243.2 0 147.2-128 268.8-281.6 268.8s-275.2-121.6-275.2-268.8 57.6-153.6 115.2-211.2c25.6-25.6 51.2-44.8 76.8-76.8 12.8-19.2 6.4-38.4-6.4-51.2-6.4 0-12.8-6.4-25.6-6.4z" />
<glyph unicode="&#x57;" glyph-name="warning" d="M576 320c0-32-32-64-64-64s-64 25.6-64 64 25.6 64 64 64 64-25.6 64-64zM563.2 448h-96v243.2h96v-243.2zM889.6 89.6h-755.2c-38.4 0-70.4 19.2-89.6 51.2s-19.2 70.4 0 102.4l377.6 659.2c19.2 32 51.2 51.2 89.6 51.2s70.4-19.2 89.6-51.2l377.6-659.2c19.2-32 19.2-70.4 0-102.4s-51.2-51.2-89.6-51.2zM486.4 864l-377.6-652.8c-6.4-12.8 0-25.6 0-25.6s12.8-12.8 25.6-12.8h761.6c12.8 0 19.2 12.8 25.6 12.8 0 0 6.4 12.8 0 25.6l-384 652.8c-6.4 12.8-19.2 12.8-25.6 12.8s-19.2 0-25.6-12.8v0z" />
</font></defs></svg>

After

Width:  |  Height:  |  Size: 2.9 KiB

Binary file not shown.

Binary file not shown.