Skip to content

Commit

Permalink
Merge pull request #81 from JV-conseil/dev
Browse files Browse the repository at this point in the history
Dev
  • Loading branch information
JV-conseil authored Mar 17, 2024
2 parents ca0c614 + 252917a commit 4412537
Show file tree
Hide file tree
Showing 6 changed files with 12 additions and 8 deletions.
5 changes: 4 additions & 1 deletion _config-dev.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,19 +27,22 @@ plugins:
- jekyll-mentions

exclude:
- .yarn
- CNAME
- Gemfile
- Gemfile.lock
- jekyll-theme-read-the-docs.gemspec
- LICENSE
- Makefile
- node_modules
- package-lock.json
- package.json
- Pipfile
- Pipfile.lock
- jekyll-theme-read-the-docs.gemspec
- requirements.txt
- webpack.config.js
- yarn.lock


# Dev
# ------------------------------------------------------------------------------
Expand Down
6 changes: 4 additions & 2 deletions _config.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
title: jekyll-theme-read-the-docs
description: Read the Docs like Jekyll Theme for GitHub Pages

theme: null
theme: https://github.com/JV-conseil/jekyll-theme-read-the-docs

google:
site_verification: ChPjQbKFflPAwOF9uuYRLEodZBgPjW5CISg0gSsViN0
Expand All @@ -27,16 +27,18 @@ plugins:
- jekyll-mentions

exclude:
- .yarn
- CNAME
- Gemfile
- Gemfile.lock
- jekyll-theme-read-the-docs.gemspec
- LICENSE
- Makefile
- node_modules
- package-lock.json
- package.json
- Pipfile
- Pipfile.lock
- jekyll-theme-read-the-docs.gemspec
- requirements.txt
- webpack.config.js
- yarn.lock
4 changes: 2 additions & 2 deletions assets/js/theme.js
Original file line number Diff line number Diff line change
Expand Up @@ -298,12 +298,12 @@ $(function () {
* Add target="'_blank" to all external links
*/
$("a[href^='http']").each(function () {
// console.debug("link", this.href);
/* console.debug("link", this.href); */
let rel = $(this).attr("rel");
rel =
"noopener noreferrer" +
(rel && !rel.match("noopener noreferrer") ? " " + rel : "");
// console.debug("rel", rel);
/* console.debug("rel", rel); */
$(this).attr({ target: "_blank", rel: rel });
});

Expand Down
1 change: 0 additions & 1 deletion assets/js/theme.min.js.LICENSE.txt

This file was deleted.

2 changes: 1 addition & 1 deletion jekyll-theme-read-the-docs.gemspec
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
Gem::Specification.new do |spec|
spec.name = "jekyll-theme-read-the-docs"
spec.version = "2.1"
spec.version = "2.3"
spec.authors = ["JV-conseil"]
spec.email = ["[email protected]"]

Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,6 @@
"report": "lighthouse http://127.0.0.1:4000",
"yarn-update": "yarn set version stable && yarn install && yarn up && yarn npm audit && ( npx depcheck --detailed ) || : && yarn upgrade-interactive"
},
"version": "2.2",
"version": "2.3",
"packageManager": "[email protected]"
}

0 comments on commit 4412537

Please sign in to comment.