Compare commits

...

44 Commits

Author SHA1 Message Date
Patrick Marsceill
14a3ff5fc8 Add publishing workflow (#172)
Publish to RubyGems and GPR on release
2019-08-09 22:33:42 -04:00
Patrick Marsceill
529c789739 upgrade-to-new-actions (#170)
Added GH Actions CI and removed Travis.
2019-08-09 14:55:53 -04:00
Patrick Marsceill
721484a26e Merge pull request #132 from pmarsceill/v0.2.5-release
v0.2.5 release branch
2019-05-13 17:31:22 -04:00
Patrick Marsceill
3d01578c7d Update main.workflow 2019-05-13 17:23:16 -04:00
Patrick Marsceill
9663d4cba3 try this 2019-05-13 17:16:01 -04:00
Patrick Marsceill
552bf46bc9 not sure what happened here 2019-05-13 17:07:00 -04:00
Patrick Marsceill
6c5d550fa5 update deps 2019-05-13 17:04:16 -04:00
Patrick Marsceill
0f2de675b6 wrong layout 2019-05-13 17:04:06 -04:00
Patrick Marsceill
38521bd845 Put that back, wont build on GH page without it 2019-05-13 16:57:56 -04:00
Patrick Marsceill
a4da666d2a Add new liting rule disables 2019-05-13 16:55:22 -04:00
Patrick Marsceill
f1dcbec0a9 Merge pull request #123 from pmarsceill/dependabot/npm_and_yarn/stylelint-config-primer-7.0.0
Bump stylelint-config-primer from 6.0.0 to 7.0.0
2019-05-13 16:44:48 -04:00
Patrick Marsceill
e6f6001960 Merge pull request #129 from pmarsceill/dependabot/npm_and_yarn/@primer/css-12.3.1
Bump @primer/css from 12.2.3 to 12.3.1
2019-05-13 16:44:24 -04:00
Patrick Marsceill
501bd0169c Merge branch 'v0.2.5-release' of github.com:pmarsceill/just-the-docs into v0.2.5-release 2019-05-13 16:42:40 -04:00
Patrick Marsceill
f06cf593ff bump versions 2019-05-13 16:42:29 -04:00
Patrick Marsceill
460e9ae236 No title if SEO is enbaled 2019-05-13 16:40:28 -04:00
Patrick Marsceill
4d3375a834 Favicon file 2019-05-13 16:40:14 -04:00
Patrick Marsceill
3a3c4a83fa Fix subpath to avoid double slash 2019-05-13 16:40:01 -04:00
Patrick Marsceill
0254d9961a Update main.workflow 2019-05-13 16:37:01 -04:00
dependabot[bot]
d2b3d57eb9 Bump @primer/css from 12.2.3 to 12.3.1
Bumps [@primer/css](https://github.com/primer/css) from 12.2.3 to 12.3.1.
- [Release notes](https://github.com/primer/css/releases)
- [Changelog](https://github.com/primer/css/blob/master/CHANGELOG.md)
- [Commits](https://github.com/primer/css/compare/v12.2.3...v12.3.1)

Signed-off-by: dependabot[bot] <support@dependabot.com>
2019-05-10 10:21:45 +00:00
dependabot[bot]
32401d05a3 Bump stylelint-config-primer from 6.0.0 to 7.0.0
Bumps [stylelint-config-primer](https://github.com/primer/stylelint-config-primer) from 6.0.0 to 7.0.0.
- [Release notes](https://github.com/primer/stylelint-config-primer/releases)
- [Changelog](https://github.com/primer/stylelint-config-primer/blob/master/CHANGELOG.md)
- [Commits](https://github.com/primer/stylelint-config-primer/compare/v6.0.0...v7.0.0)

Signed-off-by: dependabot[bot] <support@dependabot.com>
2019-05-01 10:21:16 +00:00
Patrick Marsceill
9a076b48ac Merge pull request #122 from pmarsceill/v0.2.4-release
v0.2.4 release branch
2019-04-30 18:17:36 -07:00
Patrick Marsceill
2c789d408c Merge branch 'master' into v0.2.4-release 2019-04-30 18:14:27 -07:00
Patrick Marsceill
4fb036ebac Update main.workflow 2019-04-30 18:14:13 -07:00
Patrick Marsceill
f255c07c7f update for latest stylint config 2019-04-30 18:00:56 -07:00
Patrick Marsceill
ce2d213dbe Merge pull request #105 from pmarsceill/dependabot/npm_and_yarn/stylelint-config-primer-6.0.0
Bump stylelint-config-primer from 3.0.1 to 6.0.0
2019-04-30 17:41:34 -07:00
Patrick Marsceill
95b76010c2 Merge branch 'v0.2.4-release' into dependabot/npm_and_yarn/stylelint-config-primer-6.0.0 2019-04-30 17:40:42 -07:00
Patrick Marsceill
ca0af1795a Merge pull request #115 from pmarsceill/dependabot/npm_and_yarn/stylelint-10.0.1
Bump stylelint from 9.10.1 to 10.0.1
2019-04-30 17:38:20 -07:00
Patrick Marsceill
f9e03e1248 Merge pull request #95 from gebeto/master
Add SEO and 'lang' param for `_config`
2019-04-30 17:35:22 -07:00
Patrick Marsceill
c83bdf853e Merge pull request #97 from montchr/montchr-50-sass-custom-import-order
Import custom Sass variable overrides before default variables are defined
2019-04-30 17:32:53 -07:00
Patrick Marsceill
af77e527d0 Merge pull request #102 from JoeNyland/patch-1
Remove unnecessary console.log()
2019-04-30 17:30:33 -07:00
Patrick Marsceill
151691eb09 Merge pull request #117 from gnarea/gh-pages-local
Explain how to use theme locally with GitHub Pages
2019-04-30 17:27:46 -07:00
Patrick Marsceill
4de1bdaf65 Update index.md 2019-04-30 20:24:46 -04:00
Gus Narea
afaa3ab225 Explain how to use theme locally with GitHub Pages 2019-04-17 23:41:04 +01:00
dependabot[bot]
e356659dbe Bump stylelint from 9.10.1 to 10.0.1
Bumps [stylelint](https://github.com/stylelint/stylelint) from 9.10.1 to 10.0.1.
- [Release notes](https://github.com/stylelint/stylelint/releases)
- [Changelog](https://github.com/stylelint/stylelint/blob/master/CHANGELOG.md)
- [Commits](https://github.com/stylelint/stylelint/compare/9.10.1...10.0.1)

Signed-off-by: dependabot[bot] <support@dependabot.com>
2019-04-16 10:24:11 +00:00
dependabot[bot]
0ec44bd474 Bump stylelint-config-primer from 3.0.1 to 6.0.0
Bumps [stylelint-config-primer](https://github.com/primer/stylelint-config-primer) from 3.0.1 to 6.0.0.
- [Release notes](https://github.com/primer/stylelint-config-primer/releases)
- [Changelog](https://github.com/primer/stylelint-config-primer/blob/master/CHANGELOG.md)
- [Commits](https://github.com/primer/stylelint-config-primer/commits/v6.0.0)

Signed-off-by: dependabot[bot] <support@dependabot.com>
2019-03-19 10:33:34 +00:00
Joe Nyland
839cf91428 Remove unnecessary console.log() 2019-03-15 08:20:21 +00:00
Chris Montgomery
5291de45c5 Import custom overrides Sass before variables are used 2019-03-03 23:01:10 -05:00
gebeto
92fb6d1908 add jekyll-seo-tag to dependency to fix bundle crash 2019-02-28 09:08:27 +02:00
gebeto
8597aa4cac bump version to 0.2.4 2019-02-28 08:29:06 +02:00
gebeto
0bfd125087 add dynamic html 'lang' attribute 2019-02-28 08:11:12 +02:00
gebeto
25b6455ed7 add seo 2019-02-28 08:10:48 +02:00
Patrick Marsceill
b44efbf1da Merge pull request #89 from pmarsceill/github-action-for-release
Add main.workflow
2019-02-13 15:42:18 -05:00
Patrick Marsceill
8aa5982cd5 Add main.workflow 2019-02-06 14:54:07 -05:00
Patrick Marsceill
20f21217ca Merge pull request #86 from pmarsceill/v0.2.3
v0.2.3 Release Branch
2019-02-02 15:54:40 -08:00
19 changed files with 796 additions and 2259 deletions

35
.github/workflows/ci.yml vendored Normal file
View File

@@ -0,0 +1,35 @@
on: [push]
name: CI
jobs:
jekyll:
name: Build Jekyll site
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@master
- name: Build the site in the jekyll/builder container
run: |
docker run --rm \
--volume="${{ github.workspace }}:/srv/jekyll" \
jekyll/builder:3.8.5 /bin/bash -c "chmod 777 /srv/jekyll && jekyll build"
css:
name: Stylelint
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@master
- name: Use Node.js 10.x
uses: actions/setup-node@v1
with:
version: 10.x
- name: npm install, build, and test
run: |
npm install
npm test

39
.github/workflows/publish.yml vendored Normal file
View File

@@ -0,0 +1,39 @@
name: Publish Gem
on: [release]
jobs:
build:
name: Build + Publish
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@master
- name: Set up Ruby 2.6
uses: actions/setup-ruby@v1
with:
version: 2.6.x
- name: Publish to GPR
run: |
mkdir -p $HOME/.gem
touch $HOME/.gem/credentials
chmod 0600 $HOME/.gem/credentials
printf -- "---\n:github: Bearer ${GEM_HOST_API_KEY}\n" > $HOME/.gem/credentials
gem build just-the-docs.gemspec
gem push --KEY github --host https://rubygems.pkg.github.com/${OWNER} *.gem
env:
GEM_HOST_API_KEY: ${{secrets.GPR_AUTH_TOKEN}}
OWNER: pmarsceill
- name: Publish to RubyGems
run: |
mkdir -p $HOME/.gem
touch $HOME/.gem/credentials
chmod 0600 $HOME/.gem/credentials
printf -- "---\n:rubygems_api_key: ${GEM_HOST_API_KEY}\n" > $HOME/.gem/credentials
gem build just-the-docs.gemspec
gem push *.gem
env:
GEM_HOST_API_KEY: ${{secrets.RUBYGEMS_AUTH_TOKEN}}

View File

@@ -1,14 +0,0 @@
language: ruby
rvm:
- 2.3.0
env:
- TRAVIS_NODE_VERSION="9.3.0"
install:
- npm install
- gem install bundler --version '>=1.17.1'
- bundle install
script:
- npm run test
- bundle exec jekyll build

View File

@@ -35,3 +35,6 @@ color_scheme: nil
# Google Analytics Tracking (optional)
# e.g, UA-1234567-89
ga_tracking: UA-2709176-10
plugins:
- jekyll-seo-tag

View File

@@ -1,11 +1,17 @@
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=Edge">
{% if page.description %}
<meta name="Description" content="{{ page.description }}">
{% if site.plugins.jekyll-seo == nil %}
<title>{{ page.title }} - {{ site.title }}</title>
{% if page.description %}
<meta name="Description" content="{{ page.description }}">
{% endif %}
{% endif %}
<title>{{ page.title }} - {{ site.title }}</title>
<link rel="shortcut icon" href="{{ "favicon.ico" | absolute_url }}" type="image/x-icon">
<link rel="stylesheet" href="{{ "/assets/css/just-the-docs.css" | absolute_url }}">
{% if site.ga_tracking != nil %}
@@ -23,4 +29,6 @@
<script type="text/javascript" src="{{ "/assets/js/just-the-docs.js" | absolute_url }}"></script>
<meta name="viewport" content="width=device-width, initial-scale=1">
{% seo %}
</head>

View File

@@ -1,6 +1,6 @@
<!DOCTYPE html>
<html lang="en-us">
<html lang="{{ site.lang | default: "en-US" }}">
{% include head.html %}
<body>

View File

@@ -120,7 +120,8 @@
}
}
// stylelint-disable selector-no-type
// stylelint-disable selector-max-type
body {
position: relative;
padding-bottom: $sp-10;
@@ -130,7 +131,8 @@ body {
padding-bottom: 0;
}
}
// stylelint-enable selector-no-type
// stylelint-enable selector-max-type
.site-footer {
position: absolute;

View File

@@ -1,7 +1,7 @@
//
// Typography
//
// stylelint-disable primer/selector-no-utility, selector-no-type, selector-max-type
// stylelint-disable primer/selector-no-utility, primer/no-override, selector-no-type, selector-max-type
h1,
.text-alpha {

View File

@@ -1,4 +1,4 @@
// stylelint-disable primer/selector-no-utility
// stylelint-disable primer/selector-no-utility, primer/no-override
//
// Utility classes for layout
//

View File

@@ -2,7 +2,7 @@
// Utility classes for lists
//
// stylelint-disable primer/selector-no-utility
// stylelint-disable primer/selector-no-utility, primer/no-override
.list-style-none {
padding: 0 !important;

View File

@@ -3,7 +3,7 @@
//
// scss-lint:disable SpaceAfterPropertyName
// stylelint-disable block-opening-brace-space-after, block-opening-brace-space-before, primer/selector-no-utility
// stylelint-disable block-opening-brace-space-after, block-opening-brace-space-before, primer/selector-no-utility, primer/no-override
// Margin spacer utilities

View File

@@ -2,7 +2,7 @@
// Utility classes for typography
//
// stylelint-disable primer/selector-no-utility
// stylelint-disable primer/selector-no-utility, primer/no-override
.fs-1 {
@include fs-1;

View File

@@ -16,6 +16,12 @@
// Support
@import "./support/support";
//
// Import custom overrides
//
@import "./custom/custom";
//
// Import custom color scheme scss
//
@@ -36,8 +42,3 @@
@import "./tables";
@import "./code";
@import "./utilities/utilities";
//
// Import custom overrides
//
@import "./custom/custom";

View File

@@ -153,7 +153,6 @@ function initSearch() {
function pageFocus() {
var mainContent = document.querySelector('.js-main-content');
mainContent.focus();
console.log(mainContent)
}

BIN
favicon.ico Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 32 KiB

View File

@@ -58,6 +58,8 @@ $ bundle exec jekyll serve
```
4. Point your web browser to [http://localhost:4000](http://localhost:4000)
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.
### Configure Just the Docs
- [See configuration options]({{ site.baseurl }}{% link docs/configuration.md %})

View File

@@ -2,7 +2,7 @@
Gem::Specification.new do |spec|
spec.name = "just-the-docs"
spec.version = "0.2.3"
spec.version = "0.2.5"
spec.authors = ["Patrick Marsceill"]
spec.email = ["patrick.marsceill@gmail.com"]
@@ -14,6 +14,7 @@ Gem::Specification.new do |spec|
spec.executables << 'just-the-docs'
spec.add_runtime_dependency "jekyll", "~> 3.8.5"
spec.add_runtime_dependency "jekyll-seo-tag", "~> 2.0"
spec.add_runtime_dependency "rake", "~> 12.3.1"
spec.add_development_dependency "bundler", "~> 2.0.1"

2904
package-lock.json generated

File diff suppressed because it is too large Load Diff

View File

@@ -1,15 +1,18 @@
{
"name": "just-the-docs",
"version": "0.2.3",
"version": "0.2.5",
"description": "A modern Jekyll theme for documentation",
"repository": "pmarsceill/just-the-docs",
"license": "MIT",
"bugs": "https://github.com/pmarsceill/just-the-docs/issues",
"devDependencies": {
"stylelint": "^9.10.1",
"stylelint-config-primer": "^3.0.1"
"stylelint": "^10.0.1",
"stylelint-config-primer": "^7.0.0",
"stylelint-selector-no-utility": "^4.0.0"
},
"dependencies": {
"@primer/css": "^12.3.1"
},
"dependencies": {},
"scripts": {
"test": "stylelint '**/*.scss'"
}