-
Notifications
You must be signed in to change notification settings - Fork 15
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: Source specifying for relative links is allowed (#232) [FC-0063]
It is possible that an .imscc course dump contains files with relative links to resources for some reason not included into it (e.g. some LMS static files that are not processed by its exporting tool). It can show up as broken images, missing styles etc. To handle such situations, we now allow you to specify the source for relative links during the conversion process using the -s flag: cc2olx -i <IMSCC_FILE> -s <RELATIVE_LINKS_SOURCE>
- Loading branch information
1 parent
226714a
commit 1bfea42
Showing
27 changed files
with
604 additions
and
284 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,3 @@ | ||
[pytest] | ||
usefixtures = chdir_to_workspace | ||
DJANGO_SETTINGS_MODULE = cc2olx.django_settings |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,6 @@ | ||
# Core requirements for this package | ||
|
||
Django | ||
lxml | ||
requests | ||
youtube-dl |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.