Skip to content

Commit 5800a60

Browse files
authored
Merge pull request #176 from DapperLib/marc/docs-polish
Pin the docs site config, and give it a favicon
2 parents 1bd4004 + fbd7f20 commit 5800a60

4 files changed

Lines changed: 26 additions & 1 deletion

File tree

‎docs/_config.yml‎

Lines changed: 23 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1,23 @@
1-
theme: jekyll-theme-cayman
1+
# Jekyll config for the published docs site (https://contrib.dapperlib.dev).
2+
# Pinned here rather than left to GitHub's defaults, which take the site title and
3+
# description from the repo's name and description fields.
4+
5+
title: Dapper.Contrib
6+
description: Community contributions - additional extensions for Dapper
7+
url: https://contrib.dapperlib.dev
8+
9+
theme: jekyll-theme-cayman
10+
11+
# Cayman renders "Download .zip/.tar.gz" buttons in its header when this is on, and
12+
# GitHub's default config turns it on; these ship as NuGet packages, not tarballs.
13+
show_downloads: false
14+
15+
# Cayman renders the page title in its header banner, and the title comes from each page's
16+
# first heading - so without this the heading reads twice, banner then body.
17+
titles_from_headings:
18+
strip_title: true
19+
20+
# Not in the always-on GitHub Pages plugin set, so it has to be asked for; generates
21+
# sitemap.xml and robots.txt.
22+
plugins:
23+
- jekyll-sitemap

‎docs/_includes/head-custom.html‎

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
<!-- Overrides the theme's own head-custom.html, which ships with the favicon line commented out. -->
2+
<link rel="icon" href="/assets/icon.png" type="image/png" sizes="256x256">
3+
<link rel="icon" href="/favicon.ico" sizes="16x16 32x32 48x48">

‎docs/assets/icon.png‎

20.1 KB
Loading

‎docs/favicon.ico‎

6.06 KB
Binary file not shown.

0 commit comments

Comments
 (0)