Skip to content

Repository for storing GO documentation, directly available through the general GO site

License

Notifications You must be signed in to change notification settings

geneontology/geneontology.github.io

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Gene Ontology Website

To contribute to this site content, please follow the guidelines

Installation (docker)

As versions have rather moved on at this point, we can still reproduce our desired environment with:

git clone https://github.com/geneontology/geneontology.github.io.git
cd geneontology.github.io
docker run --network host -v `pwd`:'/work' -w /work -i -t ubuntu:focal /bin/bash
apt-get update && apt-get -u install bundler wget
make
gem install bundler:2.2.3
bundler install
export LANG="C.UTF-8"
export LC_ALL="C.UTF-8"

As a "shortcut"

apt-get update && apt-get -u install bundler wget && make && gem install bundler:2.2.3 && bundler install && export LANG="C.UTF-8" && export LC_ALL="C.UTF-8"

Running (in docker image)

bundle exec jekyll serve

This will run a local instance of the jekyll server. The site will be available at: http://127.0.0.1:4000/ .

Building the site

bundle exec jekyll build

The static files of the site will be stored in _site

Indexing the pages

ALGOLIA_API_KEY=admin_key bundle exec jekyll algolia

This will index all markdown pages using algolia. The pages to be indexed (or not indexed) as well as the tag elements can be configured in _config.yml

Removing pages

Pages that are no longer needed can be deleted, or if the .md might still be used later the permalinks/links can be deleted.

About

Repository for storing GO documentation, directly available through the general GO site

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published