Skip to content

Commit 9a076b4

Browse files
authored
Merge pull request just-the-docs#122 from pmarsceill/v0.2.4-release
v0.2.4 release branch
2 parents 4fb036e + 2c789d4 commit 9a076b4

File tree

10 files changed

+783
-2312
lines changed

10 files changed

+783
-2312
lines changed

_config.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,3 +35,6 @@ color_scheme: nil
3535
# Google Analytics Tracking (optional)
3636
# e.g, UA-1234567-89
3737
ga_tracking: UA-2709176-10
38+
39+
plugins:
40+
- jekyll-seo-tag

_includes/head.html

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,4 +23,6 @@
2323
<script type="text/javascript" src="{{ "/assets/js/just-the-docs.js" | absolute_url }}"></script>
2424

2525
<meta name="viewport" content="width=device-width, initial-scale=1">
26+
27+
{% seo %}
2628
</head>

_layouts/default.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<!DOCTYPE html>
22

3-
<html lang="en-us">
3+
<html lang="{{ site.lang | default: "en-US" }}">
44
{% include head.html %}
55
<body>
66

_sass/layout.scss

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -120,7 +120,8 @@
120120
}
121121
}
122122

123-
// stylelint-disable selector-no-type
123+
// stylelint-disable selector-max-type
124+
124125
body {
125126
position: relative;
126127
padding-bottom: $sp-10;
@@ -130,7 +131,8 @@ body {
130131
padding-bottom: 0;
131132
}
132133
}
133-
// stylelint-enable selector-no-type
134+
135+
// stylelint-enable selector-max-type
134136

135137
.site-footer {
136138
position: absolute;

assets/css/just-the-docs.scss

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,12 @@
1616
// Support
1717
@import "./support/support";
1818

19+
//
20+
// Import custom overrides
21+
//
22+
23+
@import "./custom/custom";
24+
1925
//
2026
// Import custom color scheme scss
2127
//
@@ -36,8 +42,3 @@
3642
@import "./tables";
3743
@import "./code";
3844
@import "./utilities/utilities";
39-
40-
//
41-
// Import custom overrides
42-
//
43-
@import "./custom/custom";

assets/js/just-the-docs.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -153,7 +153,6 @@ function initSearch() {
153153
function pageFocus() {
154154
var mainContent = document.querySelector('.js-main-content');
155155
mainContent.focus();
156-
console.log(mainContent)
157156
}
158157

159158

index.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -58,6 +58,8 @@ $ bundle exec jekyll serve
5858
```
5959
4. Point your web browser to [http://localhost:4000](http://localhost:4000)
6060

61+
If you're hosting your site on GitHub Pages, [set up GitHub Pages and Jekyll locally](https://help.github.com/en/articles/setting-up-your-github-pages-site-locally-with-jekyll) so that you can more easily work in your development environment.
62+
6163
### Configure Just the Docs
6264

6365
- [See configuration options]({{ site.baseurl }}{% link docs/configuration.md %})

just-the-docs.gemspec

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
Gem::Specification.new do |spec|
44
spec.name = "just-the-docs"
5-
spec.version = "0.2.3"
5+
spec.version = "0.2.4"
66
spec.authors = ["Patrick Marsceill"]
77
spec.email = ["[email protected]"]
88

@@ -14,6 +14,7 @@ Gem::Specification.new do |spec|
1414
spec.executables << 'just-the-docs'
1515

1616
spec.add_runtime_dependency "jekyll", "~> 3.8.5"
17+
spec.add_runtime_dependency "jekyll-seo-tag", "~> 2.0"
1718
spec.add_runtime_dependency "rake", "~> 12.3.1"
1819

1920
spec.add_development_dependency "bundler", "~> 2.0.1"

0 commit comments

Comments
 (0)