Skip to content

Commit a846be2

Browse files
authored
Merge pull request #92 from NodeJSmith/feature/bit_of_improvement_to_docs
Feature/bit of improvement to docs
2 parents 8235da3 + d92639b commit a846be2

File tree

6 files changed

+30
-6
lines changed

6 files changed

+30
-6
lines changed

.bumpversion.toml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,3 +22,8 @@ replace = 'version = "{new_version}"'
2222
filename = "src/otf_api/__init__.py"
2323
search = '__version__ = "{current_version}"'
2424
replace = '__version__ = "{new_version}"'
25+
26+
[[tool.bumpversion.files]]
27+
filename = "source/conf.py"
28+
search = 'release = "{current_version}"'
29+
replace = 'release = "{new_version}"'

source/_static/custom.css

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
footer {
2+
margin-top: 0.5rem;
3+
margin-bottom: 0.5rem;
4+
}
5+
6+
footer .disclaimer {
7+
margin-top: 0;
8+
font-size: 0.85em;
9+
color: #666;
10+
text-align: center;
11+
}

source/_templates/page.html

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
{% extends "!page.html" %}
2+
3+
{%- block footer -%}
4+
{{- super() -}}
5+
<footer>
6+
<p class="disclaimer">
7+
<strong>Disclaimer:</strong>
8+
This project is not affiliated with, endorsed by, or supported by Orangetheory Fitness. It is an independent,
9+
unofficial client for interacting with Orangetheory's services. Use at your own risk.
10+
</p>
11+
</footer>
12+
{%- endblock -%}

source/api/otf_api.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
Otf API Code Reference
2-
================
2+
========================
33

44
.. toctree::
55
:maxdepth: 4

source/conf.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@
3434

3535
templates_path = ["_templates"]
3636
exclude_patterns = []
37-
37+
html_css_files = ["custom.css"]
3838

3939
# -- Options for HTML output -------------------------------------------------
4040
# https://www.sphinx-doc.org/en/master/usage/configuration.html#options-for-html-output

source/index.rst

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,3 @@ You can also export the environment variables ``OTF_EMAIL`` and ``OTF_PASSWORD``
3030
from otf_api import Otf, OtfUser
3131
3232
otf = Otf(user=OtfUser(<email_address>, <password>))
33-
34-
35-
**Disclaimer:**
36-
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.

0 commit comments

Comments
 (0)