docs: add proper warning styling
[ci skip]
This commit is contained in:
1 parent
11f8cdf29a
commit
c94b938b10
5 files changed
+12
-4
No files matched your search
@@ -367,6 +367,11 @@ blockquote {
|
|||||||
border-left: 4px solid #ef5b58;
|
border-left: 4px solid #ef5b58;
|
||||||
background-color: #f9ad76;
|
background-color: #f9ad76;
|
||||||
}
|
}
|
||||||
|
.warning {
|
||||||
|
border-left: 4px solid #cd2512;
|
||||||
|
background-color: #d1675f;
|
||||||
|
color: white;
|
||||||
|
}
|
||||||
.fa:before {
|
.fa:before {
|
||||||
-webkit-font-smoothing: antialiased
|
-webkit-font-smoothing: antialiased
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -44,7 +44,7 @@ The following plugins are available and provided by Dokku maintainers. Where not
|
|||||||
|
|
||||||
## Community plugins
|
## Community plugins
|
||||||
|
|
||||||
Note: The following plugins have been supplied by our community and may not have been tested by Dokku maintainers.
|
> Warning: The following plugins have been supplied by our community and may not have been tested by Dokku maintainers.
|
||||||
|
|
||||||
[256dpi]: https://github.com/256dpi
|
[256dpi]: https://github.com/256dpi
|
||||||
[abossard]: https://github.com/dudagroup
|
[abossard]: https://github.com/dudagroup
|
||||||
|
|||||||
@@ -311,7 +311,7 @@ set -eo pipefail; [[ $DOKKU_TRACE ]] && set -x
|
|||||||
# TODO
|
# TODO
|
||||||
```
|
```
|
||||||
|
|
||||||
> WARNING: The `git-pre-pull` trigger should _not_ be used for authentication
|
> Warning: The `git-pre-pull` trigger should _not_ be used for authentication
|
||||||
since it does not get called for commands that use `git-upload-archive` such
|
since it does not get called for commands that use `git-upload-archive` such
|
||||||
as `git archive`. Instead, use the [`user-auth`](#user-auth) trigger.
|
as `git archive`. Instead, use the [`user-auth`](#user-auth) trigger.
|
||||||
|
|
||||||
|
|||||||
@@ -98,7 +98,7 @@ By default, buildpack apps and dockerfile apps **without** explicitly exposed po
|
|||||||
|
|
||||||
## Port management by Deployment Method
|
## Port management by Deployment Method
|
||||||
|
|
||||||
> WARNING: If you set a proxy port map but _do not have a global domain set_, Dokku will reset that map upon first deployment.
|
> Warning: If you set a proxy port map but _do not have a global domain set_, Dokku will reset that map upon first deployment.
|
||||||
|
|
||||||
### Buildpacks
|
### Buildpacks
|
||||||
|
|
||||||
|
|||||||
+4
-1
@@ -377,7 +377,10 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
Array.prototype.forEach.call(blockquotes, function (el, i) {
|
Array.prototype.forEach.call(blockquotes, function (el, i) {
|
||||||
if (el.innerHTML.toLowerCase().indexOf('new as of') !== -1) {
|
if (el.innerHTML.toLowerCase().indexOf('warning') !== -1) {
|
||||||
|
addClass(el, 'warning');
|
||||||
|
el.innerHTML = el.innerHTML.replace('Warning', '<strong>Warning</strong>')
|
||||||
|
} else if (el.innerHTML.toLowerCase().indexOf('new as of') !== -1) {
|
||||||
addClass(el, 'new-as-of');
|
addClass(el, 'new-as-of');
|
||||||
} else if (el.innerHTML.toLowerCase().indexOf('not yet released') !== -1) {
|
} else if (el.innerHTML.toLowerCase().indexOf('not yet released') !== -1) {
|
||||||
addClass(el, 'not-yet-released');
|
addClass(el, 'not-yet-released');
|
||||||
|
|||||||
Reference in new issue
Block a user