Description Usage Arguments Examples
Licensing your course is important if you want to share your course. For more information see https://github.com/swirldev/swirlify/wiki/Licensing-Your-Course. For more information about Creative Commons licenses see http://creativecommons.org/licenses/. For more information about software licenses see http://www.gnu.org/licenses/license-list.en.html.
1 2 3 4 |
author |
The author of the course. This can be an organization. |
year |
The year the course was written. |
open_source_content |
If |
content_license |
Specify which Creative Commons license you would like
to use for the content of your course. This must be equal to one of the
following: |
open_source_data |
If |
data_license |
Currently this value must be equal to |
open_source_code |
If |
code_license |
Specify which open source software license you would like
to use for the content of your course. This must be equal to one of the
following: |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 | ## Not run:
# Add a license with simple open source options
add_license("Team swirl")
# Add a license so that derivative works are shared alike
add_license("Team swirl", content_license = "CC BY-SA 4.0", code_license ="GPL3")
# Add a license that reserves all of the author's rights
add_license("Team Bizzaro swirl", open_source_content = FALSE,
open_source_data = FALSE,
open_source_code = FALSE)
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.