Skip to content

Commit 8d6831e

Browse files
authored
Merge pull request #1224 from kennethrioja/tess-yml-style
[`tess.example.yml`] arranging `TeSS::Config.feature` list
2 parents 71960a2 + a71d1f0 commit 8d6831e

1 file changed

Lines changed: 27 additions & 16 deletions

File tree

config/tess.example.yml

Lines changed: 27 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -146,34 +146,45 @@ default: &default
146146
focused: 13
147147
header_notice: # HTML to display above the header
148148
feature:
149-
elearning_materials: false
149+
# TeSS main resources
150150
events: true
151151
materials: true
152-
nodes: false
152+
elearning_materials: false
153+
workflows: true
153154
collections: true
155+
learning_paths: false
154156
content_providers: true
155-
subscription: true
156-
trainers: false
157-
workflows: true
158157
sources: false
159-
user_source_creation: true
160-
edit_suggestions: false
158+
nodes: false
159+
spaces: false
160+
161+
# Resources' features
162+
subscription: true
161163
geocoding: false
162-
sticky_navbar: false # when true, allows navbar (and header_notice if enabled) to stick to the top of the window and shrink when scrolling
163-
# Possible features to disable:
164-
# biotools, topics, operations, sponsors, fairshare, county, ardc_fields_of_research,
165-
# other_types, subsets, syllabus, approved_editors, address_finder
166-
disabled: ['ardc_fields_of_research', 'other_types', 'subsets', 'syllabus', 'approved_editors']
167-
auto_parse_vars: [] # available features to auto parse from description: ['keywords', 'target_audience']
168164
materials_disabled: []
169165
content_providers_disabled: []
170166
bioschemas_testing: false
171-
learning_paths: false
172167
collection_curation: true
173-
spaces: false
168+
auto_parse_vars: [] # available features to auto parse from description: ['keywords', 'target_audience']
169+
170+
# User login
174171
invitation: false
175172
registration: true
176-
login_through_oidc_only: false # when true, only the first oidc authentication will be available in TeSS, useful when you have your org SSO. Be careful! invitation and registration must be false when using this feature.
173+
login_through_oidc_only: false # when true, only the first oidc authentication will be available in TeSS, useful when you have your org SSO. Caution! invitation and registration must be false when using this feature.
174+
175+
# User rights
176+
user_source_creation: true
177+
trainers: false
178+
edit_suggestions: false
179+
180+
# UI
181+
sticky_navbar: false # when true, allows navbar (and header_notice if enabled) to stick to the top of the window and shrink when scrolling
182+
183+
# Possible features to disable:
184+
# biotools, topics, operations, sponsors, fairshare, county, ardc_fields_of_research,
185+
# other_types, subsets, syllabus, approved_editors, address_finder,
186+
# visibility (if included, material or event can be hidden from the materials/events list)
187+
disabled: ['ardc_fields_of_research', 'other_types', 'subsets', 'syllabus', 'approved_editors']
177188
restrict_content_provider_selection: false
178189
user_ingestion_methods: ['bioschemas']
179190
placeholder:

0 commit comments

Comments
 (0)