diff --git a/Makefile b/Makefile index 471eda74..11e12148 100644 --- a/Makefile +++ b/Makefile @@ -1,7 +1,7 @@ .PHONY: all production test docs clean COMPOSE = "-compose" -$(shell docker$(COMPOSE) 2> /dev/null) +$(which shell && shell docker$(COMPOSE) 2> /dev/null) ifneq ($(.SHELLSTATUS),0) COMPOSE = " compose" endif diff --git a/docs/source/conf.py b/docs/source/conf.py index 6769b99e..6659883b 100644 --- a/docs/source/conf.py +++ b/docs/source/conf.py @@ -1,4 +1,5 @@ import sphinx_rtd_theme +from datetime import datetime # -*- coding: utf-8 -*- # @@ -35,7 +36,7 @@ # General information about the project. project = u'ElastAlert 2' -copyright = u'2014-2021, Yelp, et al' +copyright = str(datetime.now().year) # The version info for the project you're documenting, acts as replacement for # |version| and |release|, also used in various other places throughout the diff --git a/docs/source/requirements.txt b/docs/source/requirements.txt index ecd67a4a..d265aedd 100644 --- a/docs/source/requirements.txt +++ b/docs/source/requirements.txt @@ -1 +1,2 @@ -m2r2 \ No newline at end of file +m2r2 +sphinx_rtd_theme \ No newline at end of file