Skip to content

GitLab

  • Projects
  • Groups
  • Snippets
  • Help
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
I
image-analysis-training-resources
  • Project overview
    • Project overview
    • Details
    • Activity
    • Releases
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 15
    • Issues 15
    • List
    • Boards
    • Labels
    • Service Desk
    • Milestones
  • Merge Requests 2
    • Merge Requests 2
  • CI / CD
    • CI / CD
    • Pipelines
    • Jobs
    • Schedules
  • Operations
    • Operations
    • Incidents
    • Environments
  • Packages & Registries
    • Packages & Registries
    • Container Registry
  • Analytics
    • Analytics
    • CI / CD
    • Repository
    • Value Stream
  • Wiki
    • Wiki
  • Members
    • Members
  • Collapse sidebar
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
  • grp-bio-it
  • image-analysis-training-resources
  • Merge Requests
  • !20

Merged
Opened Jun 04, 2019 by Toby Hodges@stamperOwner

More advanced Jekyll setup

  • Overview 3
  • Commits 121
  • Pipelines 110
  • Changes 17

@tischer @hossain @halavaty @jhartman

Using the Binarization module as an example, this MR includes a Jekyll layout for module pages. This should make it easier for us to keep a standard layout for the module pages and to add in additional instructions for platforms and so on. The idea is that we will ask people to populate the header of the module page files as follows:

---
title:     Image binarization #page title
layout:    module # leave this the same
prerequisites:
  - "the concepts of image files, pixels, and intensity" # a list of required knowledge 
  - "something else __that__ `requires` _formatting_"    # for the module to make sense
objectives:
  - "describe the relationship between an intensity image and a derived binary image" # learning objectives
  - "use thresholding to distinguish foreground and background pixels"                # for the module
platforms: # these will be used to populate the dropdown and blocks for the "Activity" section
  "ImageJ GUI": "activities/binarization/binarization_imagejgui.md" # paired list of platform
  "ImageJ Macro": "activities/binarization/binarization.ijm"        # names and associated 
  "Jython": "activities/binarization/binarization_jython.py"        # files of instructions
  "MATLAB": "activities/binarization/binarization.m"                # for that platform
---

For now, please take a look at https://grp-bio-it.embl-community.io/image-analysis-training-resources/modules/binarization.html (example module as web page) and https://git.embl.de/grp-bio-it/image-analysis-training-resources/blob/jekyll/modules/binarization.md (equivalent Markdown file for module, best viewed raw) and give me your feedback.

If you like the look of this and want to merge, we will need to go through the other modules and adjust them accordingly. Before that I would like to add a similar dropdown-based setup for the exercises, so that I can shift the weird blocks of combined Jekyll and JavaScript out of the module pages and into the module layout specification.

Edited Jun 06, 2019 by Toby Hodges
Assignee
Assign to
Reviewer
Request review from
None
Milestone
None
Assign milestone
Time tracking
Reference: grp-bio-it/image-analysis-training-resources!20
Source branch: jekyll

Revert this merge request

This will create a new commit in order to revert the existing changes.

Switch branch
Cancel
A new branch will be created in your fork and a new merge request will be started.

Cherry-pick this merge request

Switch branch
Cancel
A new branch will be created in your fork and a new merge request will be started.