From 05496c304c4c2e64d489e5023c372b232674d55a Mon Sep 17 00:00:00 2001 From: Thomas Misilo Date: Tue, 20 Feb 2024 09:11:19 -0600 Subject: [PATCH] Remove mentions of INDIGO_FOOTER_NAV_LINKS from documentation --- README.rst | 3 +-- ...20_091010_misilot_remove_legal_links_mentions.md | 13 +++++++++++++ tutorindigo/plugin.py | 9 +-------- 3 files changed, 15 insertions(+), 10 deletions(-) create mode 100644 changelog.d/20240220_091010_misilot_remove_legal_links_mentions.md diff --git a/README.rst b/README.rst index fe6ba33d1..5caa12c62 100644 --- a/README.rst +++ b/README.rst @@ -29,11 +29,10 @@ Configuration - ``INDIGO_WELCOME_MESSAGE`` (default: "The place for all your online learning") - ``INDIGO_PRIMARY_COLOR`` (default: "#3b85ff") - ``INDIGO_FOOTER_NAV_LINKS`` (default: ``[{"title": "About", "url": "/about"}, {"title": "Contact", "url": "/contact"}]``) -- ``INDIGO_FOOTER_LEGAL_LINKS`` (default: ``[{"title": "Terms of service", "url": "/tos"}, {"title": "Indigo theme for Open edX", "url": "https://github.com/overhangio/tutor-indigo"}]``) The ``INDIGO_*`` settings listed above may be modified by running ``tutor config save --set INDIGO_...=...``. For instance, to remove all links from the footer, run:: - tutor config save --set "INDIGO_FOOTER_NAV_LINKS=[]" --set "INDIGO_FOOTER_LEGAL_LINKS=[]" + tutor config save --set "INDIGO_FOOTER_NAV_LINKS=[]" Or, to set the primary color to forest green, run:: diff --git a/changelog.d/20240220_091010_misilot_remove_legal_links_mentions.md b/changelog.d/20240220_091010_misilot_remove_legal_links_mentions.md new file mode 100644 index 000000000..02ad3a64f --- /dev/null +++ b/changelog.d/20240220_091010_misilot_remove_legal_links_mentions.md @@ -0,0 +1,13 @@ + + + + + +- [Improvement] Remove mentions of INDIGO_FOOTER_NAV_LINKS in docs since it is no longer used by the plugin. (by @misilot) diff --git a/tutorindigo/plugin.py b/tutorindigo/plugin.py index 0a9e6c745..0e8edf73d 100644 --- a/tutorindigo/plugin.py +++ b/tutorindigo/plugin.py @@ -23,7 +23,7 @@ "PRIMARY_COLOR": "#3b85ff", # cool blue # Footer links are dictionaries with a "title" and "url" # To remove all links, run: - # tutor config save --set INDIGO_FOOTER_NAV_LINKS=[] --set INDIGO_FOOTER_LEGAL_LINKS=[] + # tutor config save --set INDIGO_FOOTER_NAV_LINKS=[] "FOOTER_NAV_LINKS": [ {"title": "About Us", "url": "/about"}, {"title": "Blog", "url": "/blog"}, @@ -33,13 +33,6 @@ {"title": "Help", "url": "/help"}, {"title": "Contact Us", "url": "/contact"}, ], - "FOOTER_LEGAL_LINKS": [ - {"title": "Terms of service", "url": "/tos"}, - { - "title": "Indigo theme for Open edX", - "url": "https://github.com/overhangio/tutor-indigo", - }, - ], }, "unique": {}, "overrides": {},