Skip to content

About

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

Topics

Resources

Stars

8 stars

Watchers

17 watching

Forks

Latest commit

 

History

3,101 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

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:noble /bin/bash
apt-get update && apt-get -u install bundler wget nodejs npm
make
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 nodejs npm && make && bundler install && export LANG="C.UTF-8" && export LC_ALL="C.UTF-8"

Building and testing locally (in docker image)

Build the site and generate the Pagefind search index:

bundle exec jekyll build
npx pagefind@1.4.0 --site _site

Serve the site locally:

python3 -m http.server -d _site

The site will be available at http://localhost:8000/ . Re-run both commands above after making changes.

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

Stars

8 stars

Watchers

17 watching

Forks

Releases

Packages

Used by

Contributors

Languages