Git Product home page Git Product logo

osbuild.github.io's Introduction

OSBuild Website

Website Sources for the OSBuild Project

This repository contains the sources of the public website of the OSBuild Project. It uses Jekyll to generate static content, which is immediately deployed to serve www.osbuild.org.

Project

About

The osbuild website uses static jekyll-generated sources for the website served from https://www.osbuild.org. The website is sourced from the main branch of https://github.com/osbuild/osbuild.github.io.

The website uses a collection of static pages, as well as jekyll-collections to serve sub-pages. Currently, the landing-page is served as static overview page. The _news collection provides automatically rendered blog-like entries, which are automatically picked up under News.

The CI of this repository automatically builds all branches via the jekyll/jekyll docker container. This does not necessarily reflect the exact build environment that GitHub uses to generate the pages. However, it is close enough and serves as suitable testing bed.

Furthermore, an additional workflow is set up that renders any branch that is pushed to the repository and stores it in a subdirectory of the preview branch. This means, the preview branch of a repository contains a rendered version of every other branch of that respective repository, except itself. This allows to inspect the actual website sources of PRs or experimental branches. Additionally, if you direct GitHub to source GitHub-Pages of your fork from the preview branch, you will be able to get a live preview of all your branches (the baseurl is adjusted for all those previews to reflect the subdirectory path).

Requirements

The requirements for this project are:

  • jekyll >= 4.0.0
  • jekyll-sitemap >= 1.4.0

Build

To build the website from its sources, use:

jekyll build

To try it out locally, use:

jekyll serve

Alternatively, use the jekyll/jekyll docker container:

docker run \
        --env "JEKYLL_UID=$(id -u)" \
        --env "JEKYLL_GID=$(id -u)" \
        --rm \
        --volume "${PWD}:/srv/jekyll" \
        "jekyll/jekyll:stable" \
        jekyll build

Repository:

License:

  • Apache-2.0
  • See LICENSE file for details.

osbuild.github.io's People

Contributors

dvdhrm avatar jkozol avatar larskarlitski avatar ondrejbudai avatar kaysievers avatar stefwalter avatar

Watchers

James Cloos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.