NTX SC is an open-source project designed to promote collaboration and user-generated content towards emerging Neurotechnology practices. The idea is that if you are not finding something that should be part of our resources or lessons you can go ahead make it, and upload it to our page.
This project is built with the help of:
Github is necessary if you wish to contribute to NeurotechEDU. You can learn about Github here.
We have set up the contribution process to be as simple as possible so that people who don’t have much experience programming are still able to contribute.
- There are two ways to do so:
With either option, in order to publish you push a commit to us and once approved your content becomes part of the website.
The first option allows you to only use markdown, a very simple syntax designed to accomodate prose in web documents. It does require precise spacing. Elements such as lists might need a blank line before and after the element in order to work properly. You can read more about it here.
The second option gives more freedom with HTML, Markdown and a local Jekyll build. You are able to have more flexibility with design and render a preview of the page as you go.
Head to:
/pages
- Create a new file via "Create new file" button" name the file to your liking, but make sure it ends in
.md
[markdown format] and that no other file in the folder has the name you wish to use. - Change the file’s title, teaser and permalink. Make sure to keep the same formatting.
- The page starts below the masthead markdown code, we have included examples of the code there. You can see what it looks like once rendered by jekyll by going to http://learn.neurotechedu.com/template/ and comparing it with
template.md
in the repository. - DO NOT modify any HTML, simply add your markdown code inside
- If you want to include images, add them to 'http://learn.neurotechedu.com/images/'
- Once done, push a commit that will be reviewed by one of our webmasters. Keep in mind that we are a non-profit and depend on the generosity of people in order to keep a high quality standard.
This option gives you more flexibility and input in the contribution process, but requires a bit of programming knowledge or the willingness to learn :) You'll have to install Jekyll and get a local build going. It's not very hard, but it does require some navigation with terminal.
The website uses Jekyll, a static website generator written in Ruby. You need to have Version 2.0.0 or higher of Ruby and the package manager Bundler. (The package manager is used to make sure you use exactly the same versions of software as GitHub Pages.) After checking out the repository, please run:
$ bundle install
to install Jekyll and the software it depends on. You may consult Using Jekyll with Pages for further instructions.
You will also need Python 3 with PyYAML available in order to re-generate the data files the site depends on.
Installing Jekyll on Windows is somewhat different. You can learn about it here.
Head to:
/pages
/template.md
- Make a copy of
template.md
AND rename it to your liking OR make a new.md
file . The new file has to go in the/pages
folder - Change the file’s title, teaser and permalink. Make sure to keep the same formatting.
- The page starts below the masthead markdown code, we have included examples of the code there. You can see what it looks like once rendered by jekyll by going to http://learn.neurotechedu.com/template/
- Add your markdown code inside the given HTML tags. If you want to change some HTML, that's fine with us but please don't add any styles to the .scss files. The HTML conventions come from our theme's use of the Foundation framework.
- If you want to include images, add them to 'http://learn.neurotechedu.com/images/'
- With local builds you can do
jekyll serve
in order to create a temporary server in your machine and see how the website comes together once built. We suggest you do this as much as possible before commiting any changes. Jekyll's potential really comes through once you have constant feedback capabilities. - Once done, push a commit that will be reviewed by one of our webmasters.
- Please don't add any styling to the scss files. If you want to stylize your page more, inline
<span>
orstyle=""
tags are fine. - The theme we use implements the Foundation framework, that's where the naming conventions for our classes and ID's come from. Their documentation is available here.
Get in touch with us here