From 2c395baa8055244e3f95f0332ccc715e35a65d1a Mon Sep 17 00:00:00 2001
From: Patrick Capon <137233925+PatCapon39@users.noreply.github.com>
Date: Mon, 6 May 2024 14:26:07 +0930
Subject: [PATCH] Add all collection pages and tweak display (#11)
* Update and rename data_management-collection.md to data_sharing.md
* Create data_collection.md
* Create data_reuse
* Create Metagenomics.md
* Rename data_reuse to data_reuse.md
* Create data_analysis.md
* Create metabolomics.md
* Create data_planning.md
* Create genomics.md
* Update main.yml
* Update resource-table-all.html
* Update main.yml
* Update main.yml
* Update index.md
---
.github/workflows/update_library.yml | 6 ++---
_data/sidebars/main.yml | 22 ++++++++++++++++---
_includes/resource-table-all.html | 2 +-
index.md | 2 +-
pages/Metagenomics.md | 8 +++++++
pages/data_analysis.md | 8 +++++++
pages/data_collection.md | 8 +++++++
pages/data_planning.md | 8 +++++++
pages/data_reuse.md | 8 +++++++
...nagement-collection.md => data_sharing.md} | 6 ++---
pages/genomics.md | 8 +++++++
pages/metabolomics.md | 8 +++++++
12 files changed, 83 insertions(+), 11 deletions(-)
create mode 100644 pages/Metagenomics.md
create mode 100644 pages/data_analysis.md
create mode 100644 pages/data_collection.md
create mode 100644 pages/data_planning.md
create mode 100644 pages/data_reuse.md
rename pages/{data_management-collection.md => data_sharing.md} (75%)
create mode 100644 pages/genomics.md
create mode 100644 pages/metabolomics.md
diff --git a/.github/workflows/update_library.yml b/.github/workflows/update_library.yml
index f00c173..b69b36e 100644
--- a/.github/workflows/update_library.yml
+++ b/.github/workflows/update_library.yml
@@ -2,9 +2,9 @@
name: Update library
on:
- push:
- pull_request:
- branches: [ main, master ]
+ #push:
+ #pull_request:
+ #branches: [ main, master ]
workflow_dispatch:
jobs:
diff --git a/_data/sidebars/main.yml b/_data/sidebars/main.yml
index 6e99c65..b0acaf5 100644
--- a/_data/sidebars/main.yml
+++ b/_data/sidebars/main.yml
@@ -3,12 +3,28 @@ subitems:
url: /index
- title: All resources
url: /resources
- - title: Collections by topic
+ - title: Collections
subitems:
+ - title: Data management
+ subitems:
+ - title: Data analysis
+ url: /data-analysis
+ - title: Data collection
+ url: /data-collection
+ - title: Data planning
+ url: /data-planning
+ - title: Data reuse
+ url: /data-reuse
+ - title: Data sharing
+ url: /data-sharing
+ - title: Genomics
+ url: /genomics
+ - title: Metabolomics
+ url: /metabolomics
+ - title: Metagenomics
+ url: /Metagenomics
- title: Proteomics
url: /proteomics-collection
- - title: Data management
- url: /data_management-collection
- title: Contact us
url: /contact-us
- title: Contributors
diff --git a/_includes/resource-table-all.html b/_includes/resource-table-all.html
index 7fd1901..d5b77b2 100644
--- a/_includes/resource-table-all.html
+++ b/_includes/resource-table-all.html
@@ -16,7 +16,7 @@
{%- endif %}
Description |
- Topic(s) |
+ Collection(s) |
Provider |
diff --git a/index.md b/index.md
index 72db350..cdd5820 100644
--- a/index.md
+++ b/index.md
@@ -19,7 +19,7 @@ The training materials are sorted into collections by broad topic - eg. training
The following collections are available:
-{% include section-navigation-tiles.html col = "1" type="Collection"%}
+{% include section-navigation-tiles.html col = "3" type="Collection"%}
## Acknowledgements
diff --git a/pages/Metagenomics.md b/pages/Metagenomics.md
new file mode 100644
index 0000000..51fc5aa
--- /dev/null
+++ b/pages/Metagenomics.md
@@ -0,0 +1,8 @@
+---
+title: Metagenomics
+type: Collection
+page_id: metagenomics
+contributors:
+description: This page includes all Learning Library content related to metagenomics
+affiliations:
+---
diff --git a/pages/data_analysis.md b/pages/data_analysis.md
new file mode 100644
index 0000000..5c3ea6f
--- /dev/null
+++ b/pages/data_analysis.md
@@ -0,0 +1,8 @@
+---
+title: Data analysis
+type: Collection
+page_id: data_analysis
+contributors:
+description: This page includes all Learning Library content related to data analysis
+affiliations:
+---
diff --git a/pages/data_collection.md b/pages/data_collection.md
new file mode 100644
index 0000000..e22f162
--- /dev/null
+++ b/pages/data_collection.md
@@ -0,0 +1,8 @@
+---
+title: Data collection
+type: Collection
+page_id: data_collection
+contributors:
+description: This page includes all Learning Library content related to data collection
+affiliations:
+---
diff --git a/pages/data_planning.md b/pages/data_planning.md
new file mode 100644
index 0000000..5c4a20d
--- /dev/null
+++ b/pages/data_planning.md
@@ -0,0 +1,8 @@
+---
+title: Data planning
+type: Collection
+page_id: data_planning
+contributors:
+description: This page includes all Learning Library content related to data planning
+affiliations:
+---
diff --git a/pages/data_reuse.md b/pages/data_reuse.md
new file mode 100644
index 0000000..6a3f10c
--- /dev/null
+++ b/pages/data_reuse.md
@@ -0,0 +1,8 @@
+---
+title: Data reuse
+type: Collection
+page_id: data_reuse
+contributors:
+description: This page includes all Learning Library content related to data reuse
+affiliations:
+---
diff --git a/pages/data_management-collection.md b/pages/data_sharing.md
similarity index 75%
rename from pages/data_management-collection.md
rename to pages/data_sharing.md
index cee5e08..e20b458 100644
--- a/pages/data_management-collection.md
+++ b/pages/data_sharing.md
@@ -1,9 +1,9 @@
---
-title: Data management
+title: Data sharing
type: Collection
-page_id: data_management
+page_id: data_sharing
contributors:
-description: This page includes all Learning Library content related to data management
+description: This page includes all Learning Library content related to data sharing
affiliations:
---
diff --git a/pages/genomics.md b/pages/genomics.md
new file mode 100644
index 0000000..4c5c585
--- /dev/null
+++ b/pages/genomics.md
@@ -0,0 +1,8 @@
+---
+title: Genomics
+type: Collection
+page_id: genomics
+contributors:
+description: This page includes all Learning Library content related to genomics
+affiliations:
+---
diff --git a/pages/metabolomics.md b/pages/metabolomics.md
new file mode 100644
index 0000000..591dc1e
--- /dev/null
+++ b/pages/metabolomics.md
@@ -0,0 +1,8 @@
+---
+title: Metabolomics
+type: Collection
+page_id: metabolomics
+contributors:
+description: This page includes all Learning Library content related to metabolomics
+affiliations:
+---