-
-
Notifications
You must be signed in to change notification settings - Fork 3.6k
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
Site URLs should be configurable #62
Comments
This has apparently been fixed by e7f9991, but I haven't had the time to verify this yet. |
I've begun to build urls using the {% url %} tag. That will ensure that the mentioned site settings are preserved. |
Yea. Things originally used the url tags, but it caused some oddities with 404 pages on subdomains and CNAME'd pages. Basically, you would get .readthedocs.org/search or /login, which is another broken link, so it made it really hard to get back to the main site without manipulating the URLs. I haven't thought of a great way to handle this, but keeping it working for local dev is probably more important ATM than having 404 pages work correctly, especially now that a lot of the 404s will come from nginx directly. |
Closing this since it's done. |
I'm trying to set up a RTFD-site internally in my company to host our documentation, but I'm struggling a bit with
readthedocs.org
(36) and, to a lesser extent,rtfd.org
(3) being hard-coded all over the place.IMHO, this should be configurable, somehow.
(I tried hacking it by adding a variable in
readthedocs/settings/base.py
, and accessing that in the templates, expecting it to "just work" likeSITE_ROOT
and friends, but to no avail. Any pointers to where I'm going wrong?)The text was updated successfully, but these errors were encountered: