Skip to content

Commit 1a48c57

Browse files
allways load latest css files
1 parent ffbb941 commit 1a48c57

File tree

2 files changed

+6
-5
lines changed

2 files changed

+6
-5
lines changed

doc/_templates/layout.html

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -18,10 +18,10 @@
1818
<script src="https://kit.fontawesome.com/df034fdb97.js" crossorigin="anonymous"></script>
1919

2020
<!-- Theme CSS -->
21-
<link id="theme-style" rel="stylesheet" href="_static/pygments.css">
22-
<link id="theme-style" rel="stylesheet" href="https://www.ssh-mitm.at/assets/css/theme.css">
23-
<link id="theme-style" rel="stylesheet" href="_static/assets/css/sphinx.css">
24-
<link id="theme-style" rel="stylesheet" href="_static/assets/css/toctree-icons.css">
21+
<link id="theme-style" rel="stylesheet" href="_static/pygments.css?{{built_timestamp}}">
22+
<link id="theme-style" rel="stylesheet" href="https://www.ssh-mitm.at/assets/css/theme.css?{{built_timestamp}}">
23+
<link id="theme-style" rel="stylesheet" href="_static/assets/css/sphinx.css?{{built_timestamp}}">
24+
<link id="theme-style" rel="stylesheet" href="_static/assets/css/toctree-icons.css?{{built_timestamp}}">
2525
{%- block extrahead %} {% endblock %}
2626
</head>
2727

doc/conf.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,8 @@
9595
'githubrepo': 'https://github.com/ssh-mitm/ssh-mitm',
9696
'pypiurl': 'https://pypi.org/project/ssh-mitm/',
9797
'linkedinurl': 'https://www.linkedin.com/in/manfred-kaiser'
98-
}
98+
},
99+
'built_timestamp': int(datetime.datetime.now().timestamp())
99100
}
100101

101102

0 commit comments

Comments
 (0)