Skip to content
This repository has been archived by the owner on Jun 9, 2021. It is now read-only.

Commit

Permalink
update redirect script
Browse files Browse the repository at this point in the history
  • Loading branch information
deviantony committed Jun 9, 2021
1 parent 44f4675 commit 367a984
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 12 deletions.
12 changes: 6 additions & 6 deletions docs/source/deployment.rst
Expand Up @@ -231,10 +231,10 @@ You can change the folder used by Portainer to store its data with the ``--data`

$ ./portainer --data /opt/portainer-data

.. raw:: html
.. raw:: html

<script type="text/javascript">
if (String(window.location).indexOf("readthedocs") !== -1) {
window.location.replace('https://documentation.portainer.io/');
}
</script>
<script type="text/javascript">
if (String(window.location).indexOf("readthedocs") !== -1) {
window.location.replace('https://documentation.portainer.io/');
}
</script>
13 changes: 7 additions & 6 deletions docs/source/templates.rst
Expand Up @@ -606,10 +606,11 @@ You can also mount the ``templates.json`` file inside the container, so you can
$ docker run -d -p "8080:80" -v "${PWD}/templates.json:/usr/share/nginx/html/templates.json" portainer-templates
.. raw:: html
<script type="text/javascript">
if (String(window.location).indexOf("readthedocs") !== -1) {
window.location.replace('https://documentation.portainer.io/');
}
</script>
.. raw:: html

<script type="text/javascript">
if (String(window.location).indexOf("readthedocs") !== -1) {
window.location.replace('https://documentation.portainer.io/');
}
</script>

0 comments on commit 367a984

Please sign in to comment.