Skip to content

eBookConfig migration #1392

Description

@ascholerChemeketa

This is for discussion related to moving as much responsibility for eBookConfig to Runestone as possible.

Here is what the _base.html emitted by RS has:

eBookConfig property Runestone-hosted context variable / source Non-Runestone-hosted value
🟢 🔵 🟡 useRunestoneServices Fixed: true false
🔴 host Fixed: '' http://127.0.0.1:8000
🔴 app Derived from host Not set
🟢 course course_name PTX_Course_Title_Here
🟢 termStartDate term_start_date Not set
🟢 basecourse base_course PTX_Base_Course
🟢 isLoggedIn is_logged_in (default false) false
🟢 email user_email ''
🟢 isInstructor is_instructor (default false) false
🟢 🔵 logLevel Fixed: 10 0
🔴 ajaxURL Derived from app Not set
🟢 username user_id ''
🟢 readings readings (default []) null
🟢 activities activity_info (default {}) null
🟢 🟡 downloadsEnabled downloads_enabled (default false) false
🟢 🟡 allow_pairs allow_pairs (default false) false
🟢 course_attrs course_attrs (default {}, JSON-encoded) Not set
🟢 🔵 🟡 enableScratchAC Publisher option: $b-has-scratch-activecode Same
🟢 🔵 🟡 acDefaultLanguage $html-scratch-activecode-language, when Scratch enabled Same
new_server_prefix Fixed: "/ns" Not set
🟡 runestone_version $runestone-version Same
🔴 build_info Not set ''
🔴 python3 Not set null
🔴 jobehost Not set ''
🔴 proxyuri_runs Not set ''
🔴 proxyuri_files Not set ''
🔴 enable_chatcodes Not set false

🟢 Definitely needed for RA
🔴 Should be removed, potentially with a bit of work
🔵 Needed for static html
🟡 Gets a value set by PreTeXt

Metadata

Metadata

Labels

enhancementNew feature or request

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions