Skip to content

Commit f3b8135

Browse files
authored
Add cookie notice to mkdocs (#99)
1 parent f159427 commit f3b8135

File tree

1 file changed

+14
-1
lines changed

1 file changed

+14
-1
lines changed

mkdocs.yml

Lines changed: 14 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,9 @@
11
site_name: "causalprog"
22
site_description: "Documentation website for causalprog"
33
site_author: "Collaborations team, UCL Centre for Advanced Research Computing"
4-
copyright: "Copyright © 2025 University College London"
4+
copyright: >
5+
Copyright © 2025 University College London -
6+
<a href="#__consent">Change cookie settings</a>
57
repo_url: "https://github.com/UCL/causalprog/"
68
repo_name: "UCL/causalprog"
79
edit_uri: edit/main/docs/
@@ -65,6 +67,17 @@ plugins:
6567
closing_tag: "!}"
6668

6769
extra:
70+
consent:
71+
title: Cookie consent
72+
description: >-
73+
We use cookies to recognize your repeated visits and preferences, as well
74+
as to measure the effectiveness of our documentation and whether users
75+
find what they're searching for. With your consent, you're helping us to
76+
make our documentation better.
77+
actions:
78+
- reject
79+
- manage
80+
- accept
6881
social:
6982
- icon: fontawesome/brands/github
7083
link: "https://github.com/UCL"

0 commit comments

Comments
 (0)