Code Monkey home page Code Monkey logo

bioschemas.github.io's Introduction

Bioschemas Website

This repo contains the files for the Bioschemas website. The website is deployed on GitHub using Jekyll.

Contribute

Feel free to propose changes to the Bioschemas website! This can be done by opening an issue on our specifications repo or by forking this repository and making a pull request. The content of this website is built using a combination of Markdown and HTML.

Previewing your changes on your own fork

Since the website uses GitHub pages for its deployment, it is possible to create live previews to inspect your changes. Go to your fork -> settings tab -> pages and select the branch you are working on to activate GitHub pages. GitHub will do the rest and will tell you at which url the website will be served.

Deploying the website locally

It is possible to preview the website locally to preview changes. You need a Ruby installation in order to do so. Ruby version 2.7.* works out of the box well with Jekyll, more recent versions will need bundle add webrick to make it work. If you already have the correct Ruby installed on your machine, then the following files will allow you to get started by installing the relevant dependencies:

  • Install Jekyll and Dependencies: gem install jekyll bundler and gem install jekyll-sitemap jekyll-sitemap jekyll-gist jekyll-redirect-from
  • Clone the repository: git clone https://github.com/Bioschemas/bioschemas.github.io.git
  • Run the website: jekyll serve

If you need more help with installing Jekyll, then see their installation instructions for full details.

Note, if you use the GitHub pages documentation, then you will need a Gemfile with the following contents (Gemfile):

source 'https://rubygems.org'
gem 'github-pages', group: :jekyll_plugins

Collections

The website uses a series of collections that are configured in the _config.yml file. There are collections in the pages directory for:

  • About: _about
  • Community: _community
  • Groups: _groups
  • Meetings: _meetings
  • News: _news
  • People: _people
  • Profiles: _profiles
  • Stories: _stories
  • Tutorials: _tutorials
  • Types: _types
  • Use Cases: _useCases

Site Data

Live Deployments

The list of live deployments is maintained in the JSON-LD file _data/live_deployments.json. The file conforms to the JSON-Schema defined in _data/live_deployments_schema.json. Upon pushing to GitHub, an action checks the live deployments data file conforms to the schema file.

A resource listing in the live deployments file consists of the following JSON keys (optional properties denoted with a ?, + indicates one or more required:

  • name
  • description?
  • keywords?: ["CDR", "DDR", "RIR"]
  • url
  • nodes?: ELIXIR node two letter code
  • sitemap?
  • profiles+:
    • profileName: Valid profile name
    • conformsTo
    • exampleURL
    • highlight?

Profile and Type Status

The status of specification files, i.e. latest draft, release, or deprecated, is controlled by the following data files:

  • Profiles: _data/profile_version.yaml
  • Types: _data/type_version.yaml

There should be an entry in each file for each profile/type respectively.

The values of the latest_publication and latest_release keys should be the corresponding filename (without extension) in the _profile or _type folder. The latest_publication field captures the latest publication (draft or release) of a specification, while the latest_release key captures the most recent release. The latest_release key may be empty if there has not been a release.

The status value is used to distinguish between 'active' specifications, and those that have been 'deprecated'. Deprecated specifications must have a deprecated_date value.

bioschemas.github.io's People

Contributors

kcmcleod avatar ljgarcia avatar bedroesb avatar gtsueng avatar ricardoaat avatar guicalman avatar robertopreste avatar rajido avatar albangaignard avatar martin-nc avatar alaninmcr avatar egonw avatar sahar-frikha avatar njall avatar sarala avatar vdda avatar agbeltran avatar justinccdev avatar ivanmicetic avatar frmichel avatar ficolo avatar nsjuty avatar petrospaps avatar carolegoble avatar drosophilic avatar otienoanyango avatar sneumann avatar kerruba avatar fbacall avatar hexylena avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.