Skip to content

Commit

Permalink
docs: add Jekyll theme
Browse files Browse the repository at this point in the history
This also includes a link to the GitHub repo from the generated GitHub Pages site.

Fixes #58
  • Loading branch information
MikeLankamp committed May 9, 2024
1 parent 22bab8f commit fdd9d8b
Show file tree
Hide file tree
Showing 5 changed files with 28 additions and 0 deletions.
9 changes: 9 additions & 0 deletions docs/Gemfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
# frozen_string_literal: true

source "https://rubygems.org"

gem "github-pages"
gem "jekyll-relative-links"
gem "jekyll-github-metadata"

gem "webrick", "~> 1.8"
10 changes: 10 additions & 0 deletions docs/_config.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
title: FPM
description: C++ header-only fixed-point math library
theme: jekyll-theme-slate
site:
github:
- is_project_page
- repository_url: https://github.com/MikeLankamp/fpm
gems:
- jekyll-relative-links
- jekyll-github-metadata
3 changes: 3 additions & 0 deletions docs/accuracy.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
---
layout: default
---
# Accuracy

The images below compare the accuracy (versus the real result) of:
Expand Down
3 changes: 3 additions & 0 deletions docs/index.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
---
layout: default
---
# fpm
A C++ header-only fixed-point math library. "fpm" stands for "fixed-point math".

Expand Down
3 changes: 3 additions & 0 deletions docs/performance.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
---
layout: default
---
# Performance

The image below shows the approximate performance of:
Expand Down

0 comments on commit fdd9d8b

Please sign in to comment.