Skip to content

Commit

Permalink
Merge pull request #395 from pcattori/doc-style
Browse files Browse the repository at this point in the history
Change doc styling
  • Loading branch information
pcattori committed Jun 29, 2020
2 parents 5b8b3c4 + 88ed705 commit 31c2fd9
Show file tree
Hide file tree
Showing 4 changed files with 37 additions and 1 deletion.
24 changes: 24 additions & 0 deletions docs/_static/css/custom.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
@import url('https://fonts.googleapis.com/css2?family=Lexend+Deca&display=swap');

h1,
h2,
.rst-content .toctree-wrapper p.caption,
h3,
h4,
h5,
h6,
legend {
font-family: 'Lexend Deca', sans-serif;
}

h1 {
font-size: 225%;
}

.wy-side-nav-search {
background-color: #0859C6;
}

.wy-side-nav-search input[type="text"] {
border-color: unset;
}
Binary file added docs/_static/favicon.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
8 changes: 8 additions & 0 deletions docs/_templates/footer.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
{% extends '!footer.html' %}
{% block extrafooter %}
<div>
© 2020, <a href="https://www.tamr.com/">Tamr, Inc.</a> All rights reserved. <a
href="https://www.tamr.com/terms-conditions/">Terms of Use</a> | <a
href="https://www.tamr.com/privacy-2/">Privacy Policy</a>
</div>
{% endblock %}
6 changes: 5 additions & 1 deletion docs/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,6 @@
# -- Project information -----------------------------------------------------

project = "Tamr - Python Client"
copyright = "2020, Tamr"
author = "Tamr"


Expand Down Expand Up @@ -97,6 +96,10 @@
# a list of builtin themes.
#
html_theme = "sphinx_rtd_theme"
html_favicon = "_static/favicon.png"
html_show_copyright = False # custom copyright in _templates/footer.html
html_show_sphinx = False


# Theme options are theme-specific and customize the look and feel of a theme
# further. For a list of options available for each theme, see the
Expand All @@ -109,6 +112,7 @@
# so a file named "default.css" will overwrite the builtin "default.css".

html_static_path = ["_static"]
html_css_files = ["css/custom.css"]
html_logo = "_static/tamr.png"
html_sidebars = {"**": ["localtoc.html", "relations.html", "searchbox.html"]}

Expand Down

0 comments on commit 31c2fd9

Please sign in to comment.