Skip to content

Commit

Permalink
update docs
Browse files Browse the repository at this point in the history
  • Loading branch information
SuperKogito committed Feb 28, 2023
1 parent 09329cf commit f9ac145
Show file tree
Hide file tree
Showing 3 changed files with 38 additions and 3 deletions.
5 changes: 5 additions & 0 deletions docs/source/_static/switcher.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,9 @@
[
{
"name": "v0.3.2",
"version": "0.3.2",
"url": "https://superkogito.github.io/spafe/index.html"
},
{
"name": "v0.3.1",
"version": "0.3.1",
Expand Down
31 changes: 31 additions & 0 deletions docs/source/_templates/layout.html
Original file line number Diff line number Diff line change
@@ -1,4 +1,35 @@
{%- extends "pydata_sphinx_theme/layout.html" %}
{%- block extrahead %}
<meta name="viewport" content="width=device-width, initial-scale=1" />
<meta name="docsearch:language" content="{{ language }}">
<link
href="http://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.3.0/css/font-awesome.css"
rel="stylesheet" type='text/css'>
{% for favicon in theme_favicons %}
{% if favicon.href[:4] == 'http'%}
<link rel="{{ favicon.rel }}" sizes="{{ favicon.sizes }}" href="{{ favicon.href }}">
{% else %}
<link rel="{{ favicon.rel }}" sizes="{{ favicon.sizes }}" href="{{ pathto('_static/' + favicon.href, 1) }}">
{% endif %}
{% endfor %}

<!-- Google tag (gtag.js) -->
<script async src="https://www.googletagmanager.com/gtag/js?id=G-GPWJJB9TRK"></script>
<script>
window.dataLayer = window.dataLayer || [];
function gtag(){dataLayer.push(arguments);}
gtag('js', new Date());

gtag('config', 'G-GPWJJB9TRK');
</script>

<!-- Google Ads -->
<script async src="https://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js?client=ca-pub-8554106698532684" crossorigin="anonymous"></script>

<!-- Google Analytics -->
<!-- {{ generate_google_analytics_script(id=theme_google_analytics_id) }} -->
{%- endblock %}

{% block docs_body %}


Expand Down
5 changes: 2 additions & 3 deletions docs/source/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -25,9 +25,9 @@
html_favicon = "_static/favicon_io/favicon.ico"

# The short X.Y version
version = "0.3.1"
version = "0.3.2"
# The full version, including alpha/beta/rc tags
release = "0.3.1"
release = "0.3.2"

# -- General configuration ---------------------------------------------------

Expand Down Expand Up @@ -84,7 +84,6 @@
html_theme_options = {
"github_url": "https://github.com/superkogito/",
"search_bar_text": "Search this site...",
"google_analytics_id": "UA-133660046-1",
"navbar_start": ["navbar-logo"],
"navbar_center": ["navbar-nav"],
"navbar_end": ["search-field.html", "version-switcher", "navbar-icon-links"],
Expand Down

0 comments on commit f9ac145

Please sign in to comment.