diff --git a/docs/_utils/deploy.sh b/docs/_utils/deploy.sh index 5d0b90ac38..735c9f8b9a 100755 --- a/docs/_utils/deploy.sh +++ b/docs/_utils/deploy.sh @@ -7,12 +7,11 @@ set -eu -o pipefail # Copy contents mkdir gh-pages -cp -r ./docs/_build/dirhtml/* gh-pages +cp -r ./docs/_build/dirhtml/. gh-pages ./docs/_utils/redirect.sh > gh-pages/index.html # Create gh-pages branch cd gh-pages -touch .nojekyll git init git config --local user.email "action@scylladb.com" git config --local user.name "GitHub Action" diff --git a/docs/source/conf.py b/docs/source/conf.py index 45c239a320..9a6ea37fae 100644 --- a/docs/source/conf.py +++ b/docs/source/conf.py @@ -131,7 +131,7 @@ def setup(sphinx): htmlhelp_basename = 'ScyllaDocumentationdoc' # URL which points to the root of the HTML documentation. -html_baseurl = 'https://scylladb.github.io/scylla-operator' +html_baseurl = 'https://operator.docs.scylladb.com' # Dictionary of values to pass into the template engine’s context for all pages html_context = {'html_baseurl': html_baseurl}