Skip to content

Latest commit

 

History

History
51 lines (31 loc) · 3.09 KB

File metadata and controls

51 lines (31 loc) · 3.09 KB

About

Please see the How-to Guide for the template for more information on how to get started.

This template is based on the ELIXIR Toolkit Theme example.

Contribute to BioShell User Guides

This site is built with Jekyll using the ELIXIR Toolkit theme. To fix a typo, update a page, or add a new guide:

  1. Fork or clone the BioShell-User-Guide repository
  2. Edit or add pages under pages/, following the layout in pages/example_page.md
  3. Render the site locally to preview your changes
  4. Open a pull request with your changes

See the ELIXIR Toolkit theme markdown cheat sheet for formatting help (message boxes, images, etc).

Rendering locally {#rendering-locally}

You'll need Ruby and Bundler installed. This site uses the github-pages gem, which needs Ruby 2.7–3.2.

macOS (Homebrew):

brew install ruby@3.2

ruby@3.2 is keg-only, so it won't override your system Ruby automatically. Rather than relying on PATH (which tools like conda can silently reorder between terminals), call it explicitly:

/opt/homebrew/opt/ruby@3.2/bin/gem install bundler
/opt/homebrew/opt/ruby@3.2/bin/bundle install

{% include callout.html type="tip" content="Sanity check before installing: run /opt/homebrew/opt/ruby@3.2/bin/ruby -v and confirm it prints 3.2.x. If a plain ruby -v already prints 3.2.x, you can drop the full paths and just use gem/bundle directly." %}

Start the local server, with live-reload so the browser updates automatically on save:

/opt/homebrew/opt/ruby@3.2/bin/bundle exec jekyll serve --livereload

Then open the printed URL (e.g. http://127.0.0.1:4000/BioShell-User-Guide/) in your browser. Every time you save a page, Jekyll rebuilds it and the open browser tab refreshes on its own — no need to restart the server or reload manually.

{% include callout.html type="note" content="If bundle install fails with a dependency resolution error (e.g. a bundler version mismatch in Gemfile.lock), delete Gemfile.lock and run bundle install again." %}

Acknowledgements for the guides

This work is supported by the Australian BioCommons via funding from Bioplatforms Australia, the Australian Research Data Commons (https://doi.org/10.47486/PL105) and the Queensland Government RICF programme. Bioplatforms Australia and the Australian Research Data Commons are funded by the National Collaborative Research Infrastructure Strategy (NCRIS).

This repository makes use of the ELIXIR toolkit theme: theme badge