-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
update to latest just-the-docs 6.2, fix last-mod-date
- Loading branch information
1 parent
29d69a7
commit 7b3bfb4
Showing
6 changed files
with
131 additions
and
93 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,11 @@ | ||
source 'https://rubygems.org' | ||
|
||
gem "jekyll", "~> 4.2" # installed by `gem jekyll` | ||
gem "jekyll", "~> 4.3.2" # installed by `gem jekyll` | ||
gem "webrick" # required when using Ruby >= 3 | ||
|
||
gem "just-the-docs", "0.4.0.rc3" | ||
gem "just-the-docs", "0.6.2" | ||
gem "jekyll-relative-links" | ||
gem "jekyll-sitemap" | ||
|
||
gem "jekyll-seo-tag" | ||
|
||
gem "html-proofer" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,46 +1,53 @@ | ||
{%- comment -%} | ||
Include as: {%- include head.html -%} | ||
Depends on: site.ga_tracking, site.ga_tracking_anonymize_ip, | ||
site.search_enabled, site.static_files, site.favicon_ico. | ||
Results in: HTML for the head element. | ||
Includes: | ||
head_nav.html, head_custom.html. | ||
Overwrites: | ||
ga_tracking_ids, ga_property, file, favicon. | ||
Should not be cached, because included files depend on page. | ||
{%- endcomment -%} | ||
|
||
<head> | ||
<meta charset="UTF-8"> | ||
<meta http-equiv="X-UA-Compatible" content="IE=Edge"> | ||
|
||
{% unless site.plugins contains "jekyll-seo-tag" %} | ||
<title>{{ page.title }} - {{ site.title }}</title> | ||
|
||
{% if page.description %} | ||
<meta name="Description" content="{{ page.description }}"> | ||
{% endif %} | ||
{% endunless %} | ||
|
||
{% include favicon.html %} | ||
|
||
<link rel="stylesheet" href="{{ '/assets/css/just-the-docs-light.css' | relative_url }}" media="(prefers-color-scheme: light)"> | ||
<link rel="stylesheet" href="{{ '/assets/css/just-the-docs-dark.css' | relative_url }}" media="(prefers-color-scheme: dark)"> | ||
|
||
{% if site.ga_tracking != nil %} | ||
<script async src="https://www.googletagmanager.com/gtag/js?id={{ site.ga_tracking }}"></script> | ||
<script> | ||
window.dataLayer = window.dataLayer || []; | ||
function gtag(){dataLayer.push(arguments);} | ||
gtag('js', new Date()); | ||
|
||
gtag('config', '{{ site.ga_tracking }}'{% unless site.ga_tracking_anonymize_ip == nil %}, { 'anonymize_ip': true }{% endunless %}); | ||
</script> | ||
|
||
{% endif %} | ||
|
||
{% if site.search_enabled != false %} | ||
<script src="{{ '/assets/js/vendor/lunr.min.js' | relative_url }}"></script> | ||
{% endif %} | ||
|
||
{% if site.mermaid %} | ||
<script src="https://cdn.jsdelivr.net/npm/mermaid@{{ site.mermaid.version }}/dist/mermaid.min.js"></script> | ||
{% endif %} | ||
|
||
<script src="{{ '/assets/js/just-the-docs.js' | relative_url }}"></script> | ||
|
||
<meta name="viewport" content="width=device-width, initial-scale=1"> | ||
|
||
{% seo %} | ||
|
||
{% include head_custom.html %} | ||
|
||
</head> | ||
<meta charset="UTF-8"> | ||
<meta http-equiv="X-UA-Compatible" content="IE=Edge"> | ||
|
||
<link rel="stylesheet" href="{{ '/assets/css/just-the-docs-default.css' | relative_url }}"> | ||
<link rel="stylesheet" href="{{ '/assets/css/just-the-docs-light.css' | relative_url }}" | ||
media="(prefers-color-scheme: light)"> | ||
<link rel="stylesheet" href="{{ '/assets/css/just-the-docs-dark.css' | relative_url }}" | ||
media="(prefers-color-scheme: dark)"> | ||
|
||
{% include head_nav.html %} | ||
|
||
{% if site.ga_tracking != nil %} | ||
{% assign ga_tracking_ids = site.ga_tracking | split: "," %} | ||
<script async src="https://www.googletagmanager.com/gtag/js?id={{ ga_tracking_ids.first }}"></script> | ||
<script> | ||
window.dataLayer = window.dataLayer || []; | ||
function gtag() { dataLayer.push(arguments); } | ||
gtag('js', new Date()); | ||
|
||
{% for ga_property in ga_tracking_ids %} | ||
gtag('config', '{{ ga_property }}'{% unless site.ga_tracking_anonymize_ip == nil %}, { 'anonymize_ip': true }{% endunless %}); | ||
{% endfor %} | ||
</script> | ||
{% endif %} | ||
|
||
{% if site.search_enabled != false %} | ||
<script src="{{ '/assets/js/vendor/lunr.min.js' | relative_url }}"></script> | ||
{% endif %} | ||
|
||
<script src="{{ '/assets/js/just-the-docs.js' | relative_url }}"></script> | ||
|
||
<meta name="viewport" content="width=device-width, initial-scale=1"> | ||
|
||
{% include_cached favicon.html %} | ||
|
||
{% seo %} | ||
|
||
{% include head_custom.html %} | ||
|
||
</head> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters