Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
added ga and minor setup improvements
- Loading branch information
Showing
4 changed files
with
53 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
.PHONY: clean test lint | ||
|
||
TEST_PATH=./ | ||
|
||
help: | ||
@echo " clean" | ||
@echo " Remove python artifacts and build artifacts." | ||
@echo " lint" | ||
@echo " Check style with flake8." | ||
@echo " test" | ||
@echo " Run py.test" | ||
|
||
clean: | ||
find . -name '*.pyc' -exec rm -f {} + | ||
find . -name '*.pyo' -exec rm -f {} + | ||
find . -name '*~' -exec rm -f {} + | ||
rm -rf build/ | ||
rm -rf dist/ | ||
rm -rf *.egg-info | ||
rm -rf docs/_build | ||
|
||
lint: | ||
py.test --pep8 -m pep8 | ||
|
||
test: clean | ||
py.test tests --verbose --pep8 --color=yes $(TEST_PATH) | ||
|
||
livedocs: | ||
cd docs && make livehtml |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,17 @@ | ||
{% extends "!layout.html" %} | ||
{% block extrahead %} | ||
<link href="{{ pathto("_static/css/rasa_theme.css", True) }}" rel="stylesheet" type="text/css"> | ||
{% endblock %} | ||
{% endblock %} | ||
|
||
{% block footer %} | ||
{{ super() }} | ||
<!-- Global Site Tag (gtag.js) - Google Analytics --> | ||
<script async src="https://www.googletagmanager.com/gtag/js?id=UA-87333416-3"></script> | ||
<script> | ||
window.dataLayer = window.dataLayer || []; | ||
function gtag(){dataLayer.push(arguments)}; | ||
gtag('js', new Date()); | ||
|
||
gtag('config', 'UA-87333416-3'); | ||
</script> | ||
{% endblock %} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters