Skip to content

Commit f54c14c

Browse files
authored
Merge pull request #32 from seek4science/phil-dev
Make the current navbar section show
2 parents 59111c2 + 2ddc922 commit f54c14c

File tree

5 files changed

+24
-27
lines changed

5 files changed

+24
-27
lines changed

_config.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,12 +28,12 @@ defaults:
2828
scope:
2929
path: "help"
3030
values:
31-
sidebar: userguide
31+
sidebar: user_guide
3232
-
3333
scope:
3434
path: "tech"
3535
values:
36-
sidebar: tech
36+
sidebar: technical_references
3737

3838
theme_variables:
3939
#git_host: GitHub
File renamed without changes.

_data/sidebars/userguide.yml renamed to _data/sidebars/user_guide.yml

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ subitems:
66
- title: Definitions
77
url: /help/user-guide/definitions
88
- title: Browsing content
9-
url: /help/user-guide/browsing
9+
url: /help/user-guide/browsing
1010
- title: Profile
1111
description: Registering and logging into FAIRDOM-SEEK, managing your account and identities, editing your profile.
1212
subitems:
@@ -40,7 +40,7 @@ subitems:
4040
#hr: true
4141
title: Yellow Pages/Directory
4242
description: Directory of common project tasks.
43-
subitems:
43+
subitems:
4444
- title: "Programme"
4545
subitems:
4646
- title: Creating and managing your own Programmes
@@ -65,7 +65,7 @@ subitems:
6565
#hr: true
6666
title: Experiments
6767
description: Generating the ISA structure, designing an ISA-JSON compliant experiment, making items citable.
68-
subitems:
68+
subitems:
6969
- title: Introduction to the ISA structure
7070
subitems:
7171
- title: Visualising ISA structure in FAIRDOM-SEEK
@@ -76,25 +76,25 @@ subitems:
7676
url: /help/user-guide/isa-json-compliant-experiment
7777
- hr: true
7878
- title: Investigations
79-
subitems:
79+
subitems:
8080
- title: Creating an ISA-JSON compliant investigation
8181
url: /help/user-guide/investigations
8282
- title: Export experiments as ISA-JSON
8383
url: /help/user-guide/exporting-experiments-as-isajson
8484
- title: Studies
85-
subitems:
85+
subitems:
8686
- title: Creating an ISA-JSON compliant study
8787
url: /help/user-guide/studies
8888
- title: Export experiments as ISA-JSON
8989
url: /help/user-guide/exporting-experiments-as-isajson
9090
- title: Assays
91-
subitems:
91+
subitems:
9292
- title: Creating an ISA-JSON compliant assay
9393
url: /help/user-guide/assays
9494
- title: Export experiments as ISA-JSON
9595
url: /help/user-guide/exporting-experiments-as-isajson
9696
- title: Experiment Sample Templates
97-
subitems:
97+
subitems:
9898
- title: Creating Experiment Sample Templates
9999
url: /help/user-guide/isajson-templates
100100
- title: Browse samples by Experiment Sample Template
@@ -106,21 +106,21 @@ subitems:
106106
subitems:
107107
- title: Adding assets (data, models, SOPs, publications)
108108
url: /help/user-guide/adding-assets
109-
- title: Data files
109+
- title: Data files
110110
subitems:
111111
- title: Data file wizard
112112
url: /help/user-guide/data-file-upload-wizard
113113
- title: Models
114114
subitems:
115115
# - title: Models
116-
# url:
116+
# url:
117117
- title: Simulate a model on JWS Online
118118
url: /help/user-guide/simulate-on-jws-online
119119
- title: Comparing two versions of a Model
120120
url: /help/user-guide/model-comparison
121121
- title: SOPs
122122
url: /help/user-guide/sops
123-
- title: Publications
123+
- title: Publications
124124
url: /help/user-guide/publications
125125
- title: Collections
126126
url: /help/user-guide/collections
@@ -153,7 +153,7 @@ subitems:
153153
subitems:
154154
- title: Create a Sample Type
155155
url: /help/user-guide/create-sample-type
156-
- title: Samples
156+
- title: Samples
157157
subitems:
158158
- title: Create a Sample
159159
url: /help/user-guide/create-sample
@@ -164,7 +164,7 @@ subitems:
164164
-
165165
#hr: true
166166
title: General attributes and links
167-
description: How to change the many attributes such as titles, types, attributions, licenses.
167+
description: How to change the many attributes such as titles, types, attributions, licenses.
168168
subitems:
169169
- title: General attributes and links
170170
url: /help/user-guide/general-attributes
@@ -176,7 +176,7 @@ subitems:
176176

177177
# - title: "[Extended metadata]"
178178
# url: ""
179-
-
179+
-
180180
#hr: true
181181
title: Integrations
182182
description: Using FAIRDOM-SEEK and openBIS or Copasi, compliance with ISA-JSON schemas.

_data/topnav.yml

Lines changed: 1 addition & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,9 @@
1-
##
2-
## if you want to list an external url, use external_url instead of url. the theme will apply a different link base.
31
subitems:
42
- title: Home
53
url: /
64
- title: About
75
url: /get-seek
8-
#- title: Contacting Us
9-
# url: /contacting-us
10-
#- title: Contributing
11-
# url: /contributing
126
- title: User Guide
137
url: /help/user-guide/
14-
#- title: API
15-
# url: /help/user-guide/api
16-
#- title: Useful Links
17-
# url: /tech/useful-links.html
188
- title: Technical References
19-
url: /tech/
20-
## move some links to footer
9+
url: /tech/

_sass/_custom_classes.scss

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -55,4 +55,12 @@ p:has(img.screenshot) {
5555
/*----Font Aweseome icon colour, match headings----*/
5656
main .fa-solid {
5757
color: $secondary;
58+
}
59+
60+
61+
/*-----Top navigation-----*/
62+
63+
.navbar-nav .nav-item > a.active {
64+
background-color: $primary;
65+
color: white;
5866
}

0 commit comments

Comments
 (0)