From 630ebd30bfee15807827816b154704620d4760d2 Mon Sep 17 00:00:00 2001 From: Ned Batchelder Date: Mon, 11 Sep 2023 16:12:15 -0400 Subject: [PATCH] feat: edX projects get edX logos --- en_us/course_authors/source/conf.py | 1 + en_us/course_catalog_api_user_guide/source/conf.py | 1 + en_us/discovery_api/source/conf.py | 1 + en_us/enterprise_api/source/conf.py | 1 + en_us/students_redirect/source/conf.py | 1 + shared/edxconf.py | 12 ++++++++++++ 6 files changed, 17 insertions(+) create mode 100644 shared/edxconf.py diff --git a/en_us/course_authors/source/conf.py b/en_us/course_authors/source/conf.py index 5ed720ac78..e44963c104 100644 --- a/en_us/course_authors/source/conf.py +++ b/en_us/course_authors/source/conf.py @@ -4,6 +4,7 @@ sys.path.append('../../../') from shared.conf import * +from shared.edxconf import * project = u'Building and Running an edX Course' diff --git a/en_us/course_catalog_api_user_guide/source/conf.py b/en_us/course_catalog_api_user_guide/source/conf.py index 49f069cda8..e1b5b9d5be 100644 --- a/en_us/course_catalog_api_user_guide/source/conf.py +++ b/en_us/course_catalog_api_user_guide/source/conf.py @@ -4,6 +4,7 @@ sys.path.append('../../../') from shared.conf import * +from shared.edxconf import * project = u'EdX Course Catalog API User Guide' diff --git a/en_us/discovery_api/source/conf.py b/en_us/discovery_api/source/conf.py index 85c531e701..caf83b3a81 100644 --- a/en_us/discovery_api/source/conf.py +++ b/en_us/discovery_api/source/conf.py @@ -4,6 +4,7 @@ sys.path.append('../../../') from shared.conf import * +from shared.edxconf import * project = u'Discovery Service API Guide' diff --git a/en_us/enterprise_api/source/conf.py b/en_us/enterprise_api/source/conf.py index df97fc86b8..10301cd6e8 100644 --- a/en_us/enterprise_api/source/conf.py +++ b/en_us/enterprise_api/source/conf.py @@ -4,6 +4,7 @@ sys.path.append('../../../') from shared.conf import * +from shared.edxconf import * project = u'EdX Enterprise API Guide' diff --git a/en_us/students_redirect/source/conf.py b/en_us/students_redirect/source/conf.py index 615bee09cd..7d2b4b4157 100644 --- a/en_us/students_redirect/source/conf.py +++ b/en_us/students_redirect/source/conf.py @@ -4,6 +4,7 @@ sys.path.append('../../../') from shared.conf import * +from shared.edxconf import * project = u'EdX Learner\'s Guide' diff --git a/shared/edxconf.py b/shared/edxconf.py new file mode 100644 index 0000000000..026accf8e1 --- /dev/null +++ b/shared/edxconf.py @@ -0,0 +1,12 @@ +""" +Settings common to all edX projects. + +Import this into conf.py after the common configuration:: + + from shared.conf import * + from shared.edxconf import * + +""" + +html_logo = "https://www.edx.org/images/logos/edx-logo-elm.svg" +html_favicon = "https://www.edx.org/favicon.ico"