Skip to content

Commit

Permalink
Merge pull request #71 from misilot/remove-legal-links-mentions
Browse files Browse the repository at this point in the history
Remove mentions of INDIGO_FOOTER_LEGAL_LINKS from documentation
  • Loading branch information
hinakhadim committed Feb 26, 2024
2 parents b4e4110 + bc97d5c commit 9000238
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 10 deletions.
3 changes: 1 addition & 2 deletions README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -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::

Expand Down
13 changes: 13 additions & 0 deletions changelog.d/20240220_091010_misilot_remove_legal_links_mentions.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@

<!--
Create a changelog entry for every new user-facing change. Please respect the following instructions:
- Indicate breaking changes by prepending an explosion 💥 character.
- Prefix your changes with either [Bugfix], [Improvement], [Feature], [Security], [Deprecation].
- You may optionally append "(by @<author>)" at the end of the line, where "<author>" is either one (just one)
of your GitHub username, real name or affiliated organization. These affiliations will be displayed in
the release notes for every release.
-->

<!-- - 💥[Feature] Foobarize the blorginator. This breaks plugins by renaming the `FOO_DO` filter to `BAR_DO`. (by @regisb) -->
<!-- - [Improvement] This is a non-breaking change. Life is good. (by @billgates) -->
- [Improvement] Remove mentions of INDIGO_FOOTER_LEGAL_LINKS in docs since it is no longer used by the plugin. (by @misilot)
9 changes: 1 addition & 8 deletions tutorindigo/plugin.py
Original file line number Diff line number Diff line change
Expand Up @@ -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"},
Expand All @@ -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": {},
Expand Down

0 comments on commit 9000238

Please sign in to comment.