Skip to content

Commit

Permalink
Merge pull request #2575 from rtfd/revert-conf-changes
Browse files Browse the repository at this point in the history
Revert "conf.py.tmpl; Use absolute URL for doc versions"
  • Loading branch information
ericholscher committed Jan 10, 2017
2 parents 3de2774 + 602f08c commit f9d1738
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion readthedocs/doc_builder/templates/doc_builder/conf.py.tmpl
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ context = {
'MEDIA_URL': "{{ settings.MEDIA_URL }}",
'PRODUCTION_DOMAIN': "{{ settings.PRODUCTION_DOMAIN }}",
'versions': [{% for version in versions %}
("{{ version.slug }}", "{{ version.get_absolute_url }}"),{% endfor %}
("{{ version.slug }}", "/{{ version.project.language }}/{{ version.slug}}/"),{% endfor %}
],
'downloads': [ {% for key, val in downloads.items %}
("{{ key }}", "{{ val }}"),{% endfor %}
Expand Down

0 comments on commit f9d1738

Please sign in to comment.