Skip to content

Commit

Permalink
Clean up template and favicon
Browse files Browse the repository at this point in the history
  • Loading branch information
Myoldmopar committed Apr 26, 2023
1 parent f4204eb commit 301a857
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 12 deletions.
4 changes: 3 additions & 1 deletion .readthedocs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@ version: 2
sphinx:
configuration: doc/readthedocs/sphinx/conf.py

# read the docs image build already includes sphinx-rtd-theme, so this isn't needed
# however, keeping it here and running it on RTD is a near zero cost operation and makes sure the requirements are ok
python:
install:
- requirements: doc/readthedocs/requirements.txt
- requirements: doc/readthedocs/requirements.txt
Original file line number Diff line number Diff line change
@@ -1,10 +1,6 @@
{% extends "!layout.html" %}
{%- block footer %}
<div class="footer">
<div style="text-align:center;">
{% extends "!footer.html" %}
{%- block contentinfo %}
<a href="https://energyplus.net">EnergyPlus Web Site</a> <br>
<a href="https://github.com/NREL/EnergyPlus">EnergyPlus Github Repo</a> <br>
<a href="https://energyplus.readthedocs.io/en/latest/">API Documentation Home</a> <br>
</div>
</div>
{%- endblock %}
7 changes: 2 additions & 5 deletions doc/readthedocs/sphinx/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -39,27 +39,24 @@

# -- Options for HTML output -------------------------------------------------
html_theme = 'sphinx_rtd_theme'
html_logo = '../../../release/favicon.png'
html_logo = '../../../release/favicon_white_plus.png'
html_show_sphinx = False
html_show_copyright = True
html_extra_path = ['_build_c']
html_static_path = ['_static']
html_css_files = [
'https://cdn.datatables.net/1.10.23/css/jquery.dataTables.min.css',
'main.css',
]
html_js_files = [
'https://code.jquery.com/jquery-1.11.2.min.js',
'https://cdn.datatables.net/1.10.23/js/jquery.dataTables.min.js',
'main.js',
]
extra_nav_links = {
'Blah': 'https://energyplus.net'
}
# templates_path = ['.templates']
templates_path = ['.templates']
html_theme_options = {
"titles_only": True,
'style_nav_header_background': '#343131',
}
# html_sidebars = {
# '**': [
Expand Down
Binary file added release/favicon_white_plus.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 301a857

Please sign in to comment.