Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions .bumpversion.toml
Original file line number Diff line number Diff line change
Expand Up @@ -22,3 +22,8 @@ replace = 'version = "{new_version}"'
filename = "src/otf_api/__init__.py"
search = '__version__ = "{current_version}"'
replace = '__version__ = "{new_version}"'

[[tool.bumpversion.files]]
filename = "source/conf.py"
search = 'release = "{current_version}"'
replace = 'release = "{new_version}"'
11 changes: 11 additions & 0 deletions source/_static/custom.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
footer {
margin-top: 0.5rem;
margin-bottom: 0.5rem;
}

footer .disclaimer {
margin-top: 0;
font-size: 0.85em;
color: #666;
text-align: center;
}
12 changes: 12 additions & 0 deletions source/_templates/page.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
{% extends "!page.html" %}

{%- block footer -%}
{{- super() -}}
<footer>
<p class="disclaimer">
<strong>Disclaimer:</strong>
This project is not affiliated with, endorsed by, or supported by Orangetheory Fitness. It is an independent,
unofficial client for interacting with Orangetheory's services. Use at your own risk.
</p>
</footer>
{%- endblock -%}
2 changes: 1 addition & 1 deletion source/api/otf_api.rst
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
Otf API Code Reference
================
========================

.. toctree::
:maxdepth: 4
Expand Down
2 changes: 1 addition & 1 deletion source/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@

templates_path = ["_templates"]
exclude_patterns = []

html_css_files = ["custom.css"]

# -- Options for HTML output -------------------------------------------------
# https://www.sphinx-doc.org/en/master/usage/configuration.html#options-for-html-output
Expand Down
4 changes: 0 additions & 4 deletions source/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,3 @@ You can also export the environment variables ``OTF_EMAIL`` and ``OTF_PASSWORD``
from otf_api import Otf, OtfUser

otf = Otf(user=OtfUser(<email_address>, <password>))


**Disclaimer:**
This project is not affiliated with, endorsed by, or supported by Orangetheory Fitness. It is an independent, unofficial client for interacting with Orangetheory's services. Use at your own risk.