readthedocs / sphinx-notfound-page

Create a custom 404 page with absolute URLs hardcoded
https://sphinx-notfound-page.readthedocs.io/
MIT License
48 stars 32 forks source link

Setting configuration in conf.py #195

Closed angelinekwan closed 2 years ago

angelinekwan commented 2 years ago

Is this the right way of setting the Configuration options in conf.py. I don't seems to get it working. As all my static assets are still pointing to default -/en/latest/

extensions = [
    'notfound.extension',
]

notfound_urls_prefix = 'None'

Thanks in advance.

angelinekwan commented 2 years ago

Found the right syntax is just notfound_urls_prefix = None

humitos commented 2 years ago

Happy you figured it out! 👍🏼