Skip to content

Commit

Permalink
added tutorial on uploading files
Browse files Browse the repository at this point in the history
  • Loading branch information
anbeemer committed Jul 17, 2024
1 parent 1bce33f commit 8114200
Show file tree
Hide file tree
Showing 2 changed files with 24 additions and 0 deletions.
1 change: 1 addition & 0 deletions docs/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ Tutorials
tutorials/writing_content
tutorials/styling_content
tutorials/text_replacements
tutorials/uploading_files
tutorials/publishing_content


Expand Down
23 changes: 23 additions & 0 deletions docs/tutorials/uploading_files.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
How to upload a file
--------------------------------------------------------------------------



The `meta.json` file
===========

Check warning on line 7 in docs/tutorials/uploading_files.rst

View workflow job for this annotation

GitHub Actions / build

Title underline too short.

Filenames and titles of files are distinct on canvas:
the latter is what you will see when the file is placed in a module, while the former is what is shown in the file structure.

You can place a file in as many modules as you wish by specifying the modules in the `meta.json` file.
The key `module` has a value which is a list of names of modules in the Canvas course.
If no module with the specified name exists, a module will be created to house the file.

The `destination` key specifies where in the file structure you would like the file to be placed.


Example
===========



0 comments on commit 8114200

Please sign in to comment.