mirror of
https://github.com/snachodog/just-the-docs.git
synced 2025-09-15 22:13:31 -06:00
Compare commits
23 Commits
Author | SHA1 | Date | |
---|---|---|---|
|
14a3ff5fc8 | ||
|
529c789739 | ||
|
721484a26e | ||
|
3d01578c7d | ||
|
9663d4cba3 | ||
|
552bf46bc9 | ||
|
6c5d550fa5 | ||
|
0f2de675b6 | ||
|
38521bd845 | ||
|
a4da666d2a | ||
|
f1dcbec0a9 | ||
|
e6f6001960 | ||
|
501bd0169c | ||
|
f06cf593ff | ||
|
460e9ae236 | ||
|
4d3375a834 | ||
|
3a3c4a83fa | ||
|
0254d9961a | ||
|
d2b3d57eb9 | ||
|
32401d05a3 | ||
|
9a076b48ac | ||
|
2c789d408c | ||
|
4fb036ebac |
16
.github/main.workflow
vendored
16
.github/main.workflow
vendored
@@ -1,16 +0,0 @@
|
||||
workflow "Publish to RubyGems" {
|
||||
on = "release"
|
||||
resolves = ["scarhand/actions-ruby@master"]
|
||||
}
|
||||
|
||||
action "Build from Gemspec" {
|
||||
uses = "scarhand/actions-ruby@master"
|
||||
runs = "build just-the-docs.gemspec"
|
||||
}
|
||||
|
||||
action "scarhand/actions-ruby@master" {
|
||||
uses = "scarhand/actions-ruby@master"
|
||||
needs = ["Build from Gemspec"]
|
||||
runs = "push *.gem"
|
||||
secrets = ["RUBYGEMS_AUTH_TOKEN"]
|
||||
}
|
35
.github/workflows/ci.yml
vendored
Normal file
35
.github/workflows/ci.yml
vendored
Normal 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
39
.github/workflows/publish.yml
vendored
Normal 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}}
|
||||
|
14
.travis.yml
14
.travis.yml
@@ -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
|
@@ -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 %}
|
||||
|
@@ -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 {
|
||||
|
@@ -1,4 +1,4 @@
|
||||
// stylelint-disable primer/selector-no-utility
|
||||
// stylelint-disable primer/selector-no-utility, primer/no-override
|
||||
//
|
||||
// Utility classes for layout
|
||||
//
|
||||
|
@@ -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;
|
||||
|
@@ -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
|
||||
|
||||
|
@@ -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;
|
||||
|
BIN
favicon.ico
Normal file
BIN
favicon.ico
Normal file
Binary file not shown.
After Width: | Height: | Size: 32 KiB |
@@ -2,7 +2,7 @@
|
||||
|
||||
Gem::Specification.new do |spec|
|
||||
spec.name = "just-the-docs"
|
||||
spec.version = "0.2.4"
|
||||
spec.version = "0.2.5"
|
||||
spec.authors = ["Patrick Marsceill"]
|
||||
spec.email = ["patrick.marsceill@gmail.com"]
|
||||
|
||||
|
14
package-lock.json
generated
14
package-lock.json
generated
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "just-the-docs",
|
||||
"version": "0.2.4",
|
||||
"version": "0.2.5",
|
||||
"lockfileVersion": 1,
|
||||
"requires": true,
|
||||
"dependencies": {
|
||||
@@ -177,9 +177,9 @@
|
||||
"dev": true
|
||||
},
|
||||
"@primer/css": {
|
||||
"version": "12.2.3",
|
||||
"resolved": "https://registry.npmjs.org/@primer/css/-/css-12.2.3.tgz",
|
||||
"integrity": "sha512-IhQHkxYiHBt0erXoPADWqgjcnM73NVK3I9tJX112JofwErhWsrJZbtvlpgIQ9WXDEsq74FEh1umSMQm5QuhYug=="
|
||||
"version": "12.3.1",
|
||||
"resolved": "https://registry.npmjs.org/@primer/css/-/css-12.3.1.tgz",
|
||||
"integrity": "sha512-W9khweOSS0VwjGcw/p9t2L4N+uzMHpelsp/lihgQ+g2An54IYuTEUX3RT42Wp++3DQTPGapEMmXFnLI9cTBL4w=="
|
||||
},
|
||||
"@types/events": {
|
||||
"version": "3.0.0",
|
||||
@@ -4193,9 +4193,9 @@
|
||||
}
|
||||
},
|
||||
"stylelint-config-primer": {
|
||||
"version": "6.0.0",
|
||||
"resolved": "https://registry.npmjs.org/stylelint-config-primer/-/stylelint-config-primer-6.0.0.tgz",
|
||||
"integrity": "sha512-sHTgPYNGWMDMq7BMEFLM+6K3M7f1la5saJEdQNPrhjWxhzvWt+r2OaHuKklkgeM6X6yK8+2+UWKKcuIGBCNjOA==",
|
||||
"version": "7.0.0",
|
||||
"resolved": "https://registry.npmjs.org/stylelint-config-primer/-/stylelint-config-primer-7.0.0.tgz",
|
||||
"integrity": "sha512-PpQTJK9WYEoPRIpQtshKeslcloxLwRWTrF+lLgWKxRNsD/J0xuW+ucykqHYeO5+fJALWgFS06MdKQD/eg0Iycw==",
|
||||
"dev": true,
|
||||
"requires": {
|
||||
"stylelint-no-unsupported-browser-features": "^1.0.0",
|
||||
|
@@ -1,17 +1,17 @@
|
||||
{
|
||||
"name": "just-the-docs",
|
||||
"version": "0.2.4",
|
||||
"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": "^10.0.1",
|
||||
"stylelint-config-primer": "^6.0.0",
|
||||
"stylelint-config-primer": "^7.0.0",
|
||||
"stylelint-selector-no-utility": "^4.0.0"
|
||||
},
|
||||
"dependencies": {
|
||||
"@primer/css": "^12.2.3"
|
||||
"@primer/css": "^12.3.1"
|
||||
},
|
||||
"scripts": {
|
||||
"test": "stylelint '**/*.scss'"
|
||||
|
Reference in New Issue
Block a user