diff --git a/.readthedocs.yaml b/.readthedocs.yaml index 79d38982..ba332ca6 100644 --- a/.readthedocs.yaml +++ b/.readthedocs.yaml @@ -12,7 +12,7 @@ build: commands: - python -m pip install --upgrade --no-cache-dir pip setuptools - python -m pip install --upgrade -r ./requirements.in -c ./requirements.txt - - nikola build + - nikola build --conf=dev.conf.py - mkdir -p _readthedocs/html/ - cp -r output/* _readthedocs/html/ - rm _readthedocs/html/robots.txt diff --git a/conf.py b/conf.py index cf99e764..44f0ee44 100644 --- a/conf.py +++ b/conf.py @@ -20,7 +20,7 @@ BLOG_TITLE = "Ansible Community" # (translatable) # This is the main URL for your site. It will be used # in a prominent link. Don't forget the protocol (http/https)! -SITE_URL = "https://ansible-community-website.readthedocs.io/" +SITE_URL = "https://ansible.com/" # This is the URL where Nikola's output will be deployed. # If not set, defaults to SITE_URL # BASE_URL = "https://ansible.community/" diff --git a/dev.conf.py b/dev.conf.py new file mode 100644 index 00000000..d84738b7 --- /dev/null +++ b/dev.conf.py @@ -0,0 +1,2 @@ +from conf import * +SITE_URL = "https://ansible-community-website.readthedocs.io/"