-
Notifications
You must be signed in to change notification settings - Fork 527
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
remove old ad #1872
base: devel
Are you sure you want to change the base?
remove old ad #1872
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Rather than commenting, let's just delete the line. If we need to restore it, we have git history and can revert the commit.
Commenting the line increases clutter imo and reduces the risk that it will be accidentally restored. I suppose there might also be a negligible performance reason for removing the line too. It's one less thing to parse.
docs/docsite/rst/conf.py
Outdated
@@ -217,7 +217,7 @@ | |||
|
|||
html_theme_options = { | |||
'canonical_url': "https://docs.ansible.com/ansible/latest/", | |||
'hubspot_id': '330046', | |||
# 'hubspot_id': '330046', |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
# 'hubspot_id': '330046', |
I've kicked off a run to deploy this branch to test: https://github.com/ansible/ansible-documentation/actions/runs/10827409830 |
Yeah it looks like the left nav is truncated on stage too: https://ansible-community.github.io/package-doc-builds/ |
Closed and re-opened to check the RTD preview build. It looks like there's still a reference to the |
Closing this - the problem I think is in the sphinx ansible theme itself - https://github.com/ansible-community/sphinx_ansible_theme/blob/main/src/sphinx_ansible_theme/extranav.html So will remove the ad from there. |
@samccann It might still be worth removing that line from the conf file after you make the change to the sphinx theme. |
A good point. |
The Ad at the bottom left of docs pages stopped working when ansible.com was revamped, so ...time to remove it!