set alabaster options
This commit is contained in:
5
Makefile
5
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
|
all: clean requirements dist
|
||||||
|
|
||||||
@ -25,6 +25,9 @@ retest:
|
|||||||
coverage:
|
coverage:
|
||||||
py.test --nomigrations --reuse-db tests/ --cov=wagtail_personalisation --cov-report=term-missing --cov-report=html
|
py.test --nomigrations --reuse-db tests/ --cov=wagtail_personalisation --cov-report=term-missing --cov-report=html
|
||||||
|
|
||||||
|
docs:
|
||||||
|
$(MAKE) -C docs html
|
||||||
|
|
||||||
lint: flake8 isort
|
lint: flake8 isort
|
||||||
|
|
||||||
flake8:
|
flake8:
|
||||||
|
10
docs/conf.py
10
docs/conf.py
@ -90,11 +90,19 @@ html_theme = 'alabaster'
|
|||||||
# documentation.
|
# documentation.
|
||||||
#
|
#
|
||||||
# html_theme_options = {}
|
# 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,
|
# 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,
|
# relative to this directory. They are copied after the builtin static files,
|
||||||
# so a file named "default.css" will overwrite the builtin "default.css".
|
# so a file named "default.css" will overwrite the builtin "default.css".
|
||||||
html_static_path = ['_static']
|
# html_static_path = ['_static']
|
||||||
|
|
||||||
|
|
||||||
# -- Options for HTMLHelp output ------------------------------------------
|
# -- Options for HTMLHelp output ------------------------------------------
|
||||||
|
Reference in New Issue
Block a user