Skip to content

Commit

Permalink
docs: [FC-0063] Content types with custom blocks support is documented
Browse files Browse the repository at this point in the history
  • Loading branch information
myhailo-chernyshov-rg committed Jan 17, 2025
1 parent 13c3bef commit c5c4692
Showing 1 changed file with 16 additions and 1 deletion.
17 changes: 16 additions & 1 deletion README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ Converted:
- Some videos
- LTI links
- QTI assessments
- PDF files

Not converted:

Expand Down Expand Up @@ -60,10 +61,24 @@ The link map file can be supplied using `-f` or `--link_file`::

If the original course content contains relative links and the resources
(images, documents etc) the links point to are not included into the exported
course dump, you can specify their source using `-s` flag:
course dump, you can specify their source using `-s` flag::

cc2olx -i <IMSCC_FILE> -s <RELATIVE_LINKS_SOURCE>

If some custom xBlocks are installed on the target Open edX instance, the
corresponding blocks can be specified by `-c` argument. If the content that
such xBlocks can render are found during the course converting, they will be
used. The argument values correspond to the xBlock names to specify in
`advanced_modules` inside a course advanced settings.

Supported xBlocks :

- `pdf <https://github.com/raccoongang/xblock-pdf>`_

Argument usage example::

cc2olx -i <IMSCC_FILE> -c <CUSTOM_BLOCK_1_NAME> -c <CUSTOM_BLOCK_2_NAME>

Dockerization
-------------

Expand Down

0 comments on commit c5c4692

Please sign in to comment.