This repository was archived by the owner on Jun 26, 2024. It is now read-only.
File tree Expand file tree Collapse file tree 4 files changed +28
-1
lines changed Expand file tree Collapse file tree 4 files changed +28
-1
lines changed Original file line number Diff line number Diff line change 81
81
uses : actions/checkout@v2
82
82
83
83
- name : generate website
84
+ env :
85
+ SITE_SOURCE : github
84
86
run : |
85
87
make site
86
88
touch ./out/site/.nojekyll
Original file line number Diff line number Diff line change @@ -31,6 +31,9 @@ OUTPUT_DIR ?= $(shell echo ${PWD})/out
31
31
GOLANGCI_LINT_BIN =$(OUTPUT_DIR ) /golangci-lint
32
32
PYTHON_VENV_DIR =$(OUTPUT_DIR ) /venv3
33
33
34
+ # Source for generating docs (one of `local` and `github`)
35
+ SITE_SOURCE ?= local
36
+
34
37
CONTAINER_RUNTIME ?= docker
35
38
36
39
QUAY_USERNAME ?= redhat-developer+travis
@@ -334,7 +337,7 @@ clean:
334
337
.PHONY : site
335
338
# # render site
336
339
site :
337
- $(CONTAINER_RUNTIME ) run -u $(shell id -u) -e CI=true -e HOME=/antora -v ${PWD} :/antora:Z --rm -t antora/antora:3.0.1 antora-playbook.yaml
340
+ $(CONTAINER_RUNTIME ) run -u $(shell id -u) -e CI=true -e HOME=/antora -v ${PWD} :/antora:Z --rm -t antora/antora:3.0.1 antora-playbook.$( SITE_SOURCE ) . yaml
338
341
339
342
.PHONY : test-performance-setup
340
343
# # Setup OpenShift cluster for performance test
Original file line number Diff line number Diff line change
1
+ site :
2
+ title : Service Binding Operator Documentation
3
+ url : https://redhat-developer.github.io/service-binding-operator
4
+ start_page : userguide::intro.adoc
5
+ content :
6
+ sources :
7
+ - branches : HEAD
8
+ start_paths : docs/userguide, docs/devguide
9
+ url : https://github.com/redhat-developer/service-binding-operator
10
+ - branches : v1.0.1
11
+ start_paths : docs/userguide, docs/devguide
12
+ url : https://github.com/redhat-developer/service-binding-operator
13
+ - branches : v1.0.0
14
+ start_paths : docs/userguide
15
+ url : https://github.com/redhat-developer/service-binding-operator
16
+ ui :
17
+ bundle :
18
+ url : https://gitlab.com/antora/antora-ui-default/-/jobs/artifacts/master/raw/build/ui-bundle.zip?job=bundle-stable
19
+ snapshot : true
20
+ supplemental_files : ./hack/antora
21
+ output :
22
+ dir : ./out/site
File renamed without changes.
You can’t perform that action at this time.
0 commit comments