Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update Sushi-Chef LibreTexts to support a custom array of Books/Courses #5

Open
wants to merge 5 commits into
base: master
Choose a base branch
from

Conversation

Miniland1333
Copy link

This pull request primarily adds options so that the sushi-chef can create a channel containing a selected, custom assortment of books. Usage:

#upload a custom list of LibreTexts books to a channel
./sushichef.py --token=".token" --channel=IntroChem --urlFile=courses.txt

This PR also addresses minor issues such as:

  • Added additional LibreTexts libraries
  • Logic fix in QueryPage()
  • Added redistribution of MathJax v2.7.8, allowed per MathJax's Apache License Version 2.0
  • Added Dockerfile for easier dependency resolution
  • Modified README to reflect these changes

Known limitation:

  • Custom assortment of books must all be from the same library due to reliance on DATA_DIR_SUBJECT

These improvements have worked well for my purposes, but do let me know if you encounter any bugs.
-Henry Agnew
LibreTexts Lead Full-Stack Developer
UC Davis, Class of 2020

Miniland1333 and others added 5 commits March 28, 2020 13:55
Allows for builds within Docker

Fixed issue with Courses
…g a file

Fixed many errors with how sushichef was handling LibreText's structure
-HTML5 processor could not handle colons in titles
-changed page_id scraping as "mt-guide-tabs-container" is not present on all guides.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant