diff --git a/Makefile b/Makefile index 32bd332..6bdc4cc 100644 --- a/Makefile +++ b/Makefile @@ -1,4 +1,4 @@ -.PHONY: all clean requirements develop test lint flake8 isort dist sandbox +.PHONY: all clean requirements develop test lint flake8 isort dist sandbox docs all: clean requirements dist @@ -25,6 +25,9 @@ retest: coverage: py.test --nomigrations --reuse-db tests/ --cov=wagtail_personalisation --cov-report=term-missing --cov-report=html +docs: + $(MAKE) -C docs html + lint: flake8 isort flake8: diff --git a/docs/conf.py b/docs/conf.py index f3dcec5..cb0534a 100644 --- a/docs/conf.py +++ b/docs/conf.py @@ -90,11 +90,19 @@ html_theme = 'alabaster' # documentation. # # html_theme_options = {} +html_theme_options = { + 'github_user': 'LabD', + 'github_banner': True, + 'github_repo': 'wagtail-personalisation', + 'travis_button': True, + 'codecov_button': True, + 'analytics_id': 'UA-100203499-2', +} # Add any paths that contain custom static files (such as style sheets) here, # relative to this directory. They are copied after the builtin static files, # so a file named "default.css" will overwrite the builtin "default.css". -html_static_path = ['_static'] +# html_static_path = ['_static'] # -- Options for HTMLHelp output ------------------------------------------