Skip to content

Commit

Permalink
Merge pull request #77 from adambkaplan/add-asciidoctor
Browse files Browse the repository at this point in the history
Add asciidoctor to website.
  • Loading branch information
openshift-merge-robot committed May 23, 2022
2 parents d22b0b7 + 30d8738 commit a9533e7
Show file tree
Hide file tree
Showing 6 changed files with 1,040 additions and 7 deletions.
2 changes: 2 additions & 0 deletions Gemfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
source 'https://rubygems.org'
gem 'asciidoctor', '~> 2.0', '>= 2.0.17'
13 changes: 13 additions & 0 deletions Gemfile.lock
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
GEM
remote: https://rubygems.org/
specs:
asciidoctor (2.0.17)

PLATFORMS
x86_64-linux

DEPENDENCIES
asciidoctor (~> 2.0, >= 2.0.17)

BUNDLED WITH
2.3.7
11 changes: 8 additions & 3 deletions Makefile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
.PHONY: all build travis
.PHONY: all build install netlify

all: build

Expand All @@ -9,6 +9,11 @@ build:
serve:
hugo -t docsy server

travis:
hack/install-hugo.sh
install:
bundle
npm install

netlify:
git submodule update --init --recursive --depth 1
$(MAKE) install
$(MAKE) build
2 changes: 1 addition & 1 deletion hack/install-hugo.sh
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#!/bin/bash

hugoVersion=${HUGO_VERSION:-0.74.3}
hugoVersion=${HUGO_VERSION:-0.99.1}
hugoOS=${HUGO_OS:-"Linux"}
tmpDir=${HUGO_TMP_DIR:-"/tmp/hugo-install"}
installDir=${HUGO_INSTALL_DIR:-"$HOME/bin"}
Expand Down
4 changes: 2 additions & 2 deletions netlify.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[build]
publish="public/"
command="git submodule update --init --recursive --depth 1 && make build"
command="make netlify"

[build.environment]
HUGO_VERSION="0.74.3"
HUGO_VERSION="0.99.1"
Loading

0 comments on commit a9533e7

Please sign in to comment.