EGI-Federation / documentation

Sources to build EGI documentation site.

Home Page:https://docs.egi.eu/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

EGI documentation

Build Status

Deploy Status

Source files used to build EGI documentation.

If you are interested in contributing, please check the Contributing Guide.

Requirements

Installing dependencies, building and testing locally

Hugo can be installed by following the official documentation.

Hugo (extended) releases can be downloaded from the Hugo releases page.

To install npm+nodejs please check the official instructions.

Everything has been tested with Node.js 12.

The dependencies of the docsy theme can be installed as follows:

# From the root of the repository clone
npm ci

Building the site

# From the root of the repository clone
git submodule update --init --recursive --depth 1
hugo --minify

Testing the site locally

# From the root of the repository clone
hugo server -D

The site is available locally at: http://localhost:1313/.

Updating the theme

For ease of management, the docsy theme has been cloned as a git submodule.

Updating the theme submodule

git submodule foreach git pull
git commit themes/docsy -m 'Update theme'

Deployment to the EGI organisation pages

GitHub Actions will automatically deploy a new version when a PR is merged into main. It will then be available at https://docs.egi.eu.

About

Sources to build EGI documentation site.

https://docs.egi.eu/

License:MIT License


Languages

Language:HTML 42.8%Language:Shell 28.2%Language:JavaScript 13.8%Language:CSS 13.1%Language:SCSS 2.1%