Skip to content

Commit

Permalink
config(course): add title and update license fields
Browse files Browse the repository at this point in the history
  • Loading branch information
HussainTaj-arbisoft committed Apr 24, 2024
1 parent 39b31a1 commit 00cf3d2
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 1 deletion.
1 change: 1 addition & 0 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ repos:
hooks:
- id: trailing-whitespace
- id: end-of-file-fixer
exclude: VERSION|RELEASE.rst
- id: check-merge-conflict
- id: check-yaml
- id: check-added-large-files
Expand Down
12 changes: 11 additions & 1 deletion ocw-course-v2/ocw-studio.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -214,6 +214,8 @@ collections:
value: https://creativecommons.org/licenses/by/4.0/
- label: CC BY-NC
value: https://creativecommons.org/licenses/by-nc/4.0/
- label: CC BY-SA
value: https://creativecommons.org/licenses/by-sa/4.0/
- label: public domain
value: https://creativecommons.org/publicdomain/zero/1.0/
widget: select
Expand Down Expand Up @@ -280,6 +282,12 @@ collections:
label: External Resources
folder: content/external-resources
fields:
- label: Title
name: title
widget: string
required: true
help: The default link text for this external resource.

- label: URL
name: external_url
widget: string
Expand All @@ -298,11 +306,13 @@ collections:
value: https://creativecommons.org/licenses/by/4.0/
- label: CC BY-NC
value: https://creativecommons.org/licenses/by-nc/4.0/
- label: CC BY-SA
value: https://creativecommons.org/licenses/by-sa/4.0/
- label: public domain
value: https://creativecommons.org/publicdomain/zero/1.0/
- label: All Rights Reserved
value: https://en.wikipedia.org/wiki/All_rights_reserved
default: https://creativecommons.org/licenses/by-nc-sa/4.0/
default: https://en.wikipedia.org/wiki/All_rights_reserved
required: true

- label: Include non-OCW licensing warning
Expand Down

0 comments on commit 00cf3d2

Please sign in to comment.