Skip to content
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

EthicalAds: don't show ad on 404 pages #430

Merged
merged 2 commits into from
Nov 12, 2024
Merged

Conversation

humitos
Copy link
Member

@humitos humitos commented Nov 11, 2024

It seems the isEnabled method wasn't updated to accept the httpStatus and that's why it wasn't working fine.

Now, the Ad won't be shown on pages like this one: https://sphinx-rtd-theme.readthedocs.io/en/stable/notfound

Related #385
Closes #386

It seems the `isEnabled` method wasn't updated to accept the `httpStatus` and
that's why it wasn't working fine.

Now, the Ad won't be shown on pages like this one:
https://sphinx-rtd-theme.readthedocs.io/en/stable/notfound

Related #385
@humitos humitos requested a review from a team as a code owner November 11, 2024 15:07
@humitos humitos requested a review from agjohnson November 11, 2024 15:07
@humitos humitos merged commit bff2f37 into main Nov 12, 2024
4 checks passed
@humitos humitos deleted the humitos/ethicalad-404-pages branch November 12, 2024 13:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

EthicalAd: keeps showing on 404 pages
2 participants