diff --git a/docs/assets/style.css b/docs/assets/style.css index b71f04ad4..75f760f84 100644 --- a/docs/assets/style.css +++ b/docs/assets/style.css @@ -367,6 +367,11 @@ blockquote { border-left: 4px solid #ef5b58; background-color: #f9ad76; } +.warning { + border-left: 4px solid #cd2512; + background-color: #d1675f; + color: white; +} .fa:before { -webkit-font-smoothing: antialiased } diff --git a/docs/community/plugins.md b/docs/community/plugins.md index 5c5051a8d..63c2e98ad 100644 --- a/docs/community/plugins.md +++ b/docs/community/plugins.md @@ -44,7 +44,7 @@ The following plugins are available and provided by Dokku maintainers. Where not ## 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 [abossard]: https://github.com/dudagroup diff --git a/docs/development/plugin-triggers.md b/docs/development/plugin-triggers.md index 6a172b32a..8d81dcdba 100644 --- a/docs/development/plugin-triggers.md +++ b/docs/development/plugin-triggers.md @@ -311,7 +311,7 @@ set -eo pipefail; [[ $DOKKU_TRACE ]] && set -x # 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 as `git archive`. Instead, use the [`user-auth`](#user-auth) trigger. diff --git a/docs/networking/port-management.md b/docs/networking/port-management.md index 7c71d392b..5da299329 100644 --- a/docs/networking/port-management.md +++ b/docs/networking/port-management.md @@ -98,7 +98,7 @@ By default, buildpack apps and dockerfile apps **without** explicitly exposed po ## 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 diff --git a/docs/template.html b/docs/template.html index 4edfd9928..3fe95ec5c 100644 --- a/docs/template.html +++ b/docs/template.html @@ -377,7 +377,10 @@ } 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', 'Warning') + } else if (el.innerHTML.toLowerCase().indexOf('new as of') !== -1) { addClass(el, 'new-as-of'); } else if (el.innerHTML.toLowerCase().indexOf('not yet released') !== -1) { addClass(el, 'not-yet-released');