Browse Source

Added fontawesome added to theme.conf

rc1
miili 5 years ago
parent
commit
fa85060315
  1. 2
      README.rst
  2. 4
      src/sphinx_py3doc_enhanced_theme/themes/sphinx_py3doc_enhanced_theme/layout.html
  3. 1
      src/sphinx_py3doc_enhanced_theme/themes/sphinx_py3doc_enhanced_theme/theme.conf

2
README.rst

@ -70,6 +70,8 @@ To get the original styling Python 3 docs have add this in you ``conf.py``:
'linkcolor': '#0072AA',
'visitedlinkcolor': '#6363bb',
'extrastyling': False,
'googlewebfonturl': 'http://fonts.googleapis.com/css?family=Rubik+One|Kalam',
'fontawesome': 'https://use.fontawesome.com/d51e5252e5.js',
}
pygments_style = 'friendly'

4
src/sphinx_py3doc_enhanced_theme/themes/sphinx_py3doc_enhanced_theme/layout.html

@ -15,7 +15,9 @@
{% if theme_googlewebfonturl %}
<link rel="stylesheet" type="text/css"
href="{{ theme_googlewebfonturl }}">
{% endif %}
{% if theme_fontawesome %}
<link rel="stylesheet" href="{{ theme_fontawesome }}">
{% endif %}
{% endblock %}

1
src/sphinx_py3doc_enhanced_theme/themes/sphinx_py3doc_enhanced_theme/theme.conf

@ -32,3 +32,4 @@ embedded = false
extrastyling = true
appendcss =
googlewebfonturl =
fontawesome =
Loading…
Cancel
Save