diff --git a/.gitignore b/.gitignore index 6ff593282ab..d4939081a95 100644 --- a/.gitignore +++ b/.gitignore @@ -32,6 +32,7 @@ media/json media/man media/pdf media/static +/static node_modules package-lock.json readthedocs/rtd_tests/builds diff --git a/media/font/fontawesome_webfont.woff2 b/media/font/fontawesome_webfont.woff2 new file mode 120000 index 00000000000..d8b851262b1 --- /dev/null +++ b/media/font/fontawesome_webfont.woff2 @@ -0,0 +1 @@ +../../readthedocs/core/static/core/font/fontawesome-webfont.woff2 \ No newline at end of file diff --git a/media/fonts b/media/fonts index e645d633d5d..fb346f06d29 120000 --- a/media/fonts +++ b/media/fonts @@ -1 +1 @@ -../readthedocs/core/static/core/font/ \ No newline at end of file +../readthedocs/core/static/core/font \ No newline at end of file diff --git a/readthedocs/settings/base.py b/readthedocs/settings/base.py index e6b3e400af2..a9113c7ee08 100644 --- a/readthedocs/settings/base.py +++ b/readthedocs/settings/base.py @@ -167,7 +167,7 @@ def USE_PROMOS(self): # noqa PRODUCTION_MEDIA_ARTIFACTS = os.path.join(PRODUCTION_ROOT, 'media') # Assets and media - STATIC_ROOT = os.path.join(SITE_ROOT, 'media/static/') + STATIC_ROOT = os.path.join(SITE_ROOT, 'static') STATIC_URL = '/static/' MEDIA_ROOT = os.path.join(SITE_ROOT, 'media/') MEDIA_URL = '/media/' diff --git a/readthedocs/templates/admin.html b/readthedocs/templates/admin.html deleted file mode 100644 index 7487a941b2b..00000000000 --- a/readthedocs/templates/admin.html +++ /dev/null @@ -1,12 +0,0 @@ - - - - - - - - - - - - diff --git a/readthedocs/templates/base.html b/readthedocs/templates/base.html index 57d80a18f52..26b7aa6c13c 100644 --- a/readthedocs/templates/base.html +++ b/readthedocs/templates/base.html @@ -10,7 +10,7 @@ {% block extra_metas %}{% endblock extra_metas %} - + {% block title %}{% endblock %}{% block head_title %}{% endblock %} | {% block branding %}Read the Docs {% endblock %} @@ -47,7 +47,7 @@ - + {% block extra_links %}{% endblock %} @@ -58,7 +58,7 @@ require('jquery'); - + +