diff --git a/docs/Makefile b/docs/Makefile index b458da2..5c7680c 100644 --- a/docs/Makefile +++ b/docs/Makefile @@ -1,4 +1,4 @@ -BASE_URL ?= "/" +BASE_URL ?= "" VERSION ?= "" SHELL = /bin/bash @@ -21,6 +21,10 @@ install: s serve: bundle exec jekyll serve --trace --livereload +define baseurlparam = +$(if $(BASE_URL),-- --baseurl $(BASE_URL),-- --baseurl "") +endef + build: version npm run build $(baseurlparam) diff --git a/sonar-project.properties b/sonar-project.properties new file mode 100644 index 0000000..0219b68 --- /dev/null +++ b/sonar-project.properties @@ -0,0 +1,3 @@ +sonar.organization=${env.SONAR_ORGANISATION_KEY} +sonar.projectKey=${env.SONAR_PROJECT_KEY} +sonar.sources=.