Add robots.txt + update to Sphinx 7
This commit is contained in:
parent
9d31a132e1
commit
00bc8da32d
2 changed files with 33 additions and 14 deletions
4
source/_static/robots.txt
Normal file
4
source/_static/robots.txt
Normal file
|
@ -0,0 +1,4 @@
|
|||
User-agent: *
|
||||
Disallow:
|
||||
User-agent: GPTBot
|
||||
Disallow: /
|
|
@ -12,8 +12,11 @@ site_url = 'https://tn.nerv-project.eu/'
|
|||
vcs_uri = "https://procrastinator.nerv-project.eu/"
|
||||
use_bibtex = True
|
||||
use_git = True
|
||||
html_favicon = '_static/favicon.ico'
|
||||
language = 'en'
|
||||
html_extra_path = [
|
||||
"_static/robots.txt",
|
||||
"_static/favicon.ico",
|
||||
]
|
||||
|
||||
version = "0.1"
|
||||
release = "0.1"
|
||||
|
@ -78,23 +81,28 @@ html_theme = 'nervproject'
|
|||
html_theme_options = {
|
||||
"logoalt": project,
|
||||
"social": [
|
||||
('solid', 'building', 'BCE 0756.741.342', 'https://kbopub.economie.fgov.be/kbopub/toonondernemingps.html?ondernemingsnummer=756741342'),
|
||||
('solid', 'receipt', 'TVA BE0756741342', 'https://kbopub.economie.fgov.be/kbopub/toonondernemingps.html?ondernemingsnummer=756741342'),
|
||||
('solid', 'books', 'KBR Éditeur 15066', 'https://www.kbr.be'),
|
||||
('brands', 'twitter', 'twitter', 'http://twitter.com/@nerv_project'),
|
||||
('solid', 'mug-hot', 'gitea', 'https://procrastinator.nerv-project.eu/nerv-project/nervtn'),
|
||||
('solid', 'hashtag', 'xmpp', 'xmpp:technique@clac.nerv-project.eu'),
|
||||
('regular', 'comments', 'movim', 'https://clac.nerv-project.eu/'),
|
||||
('solid', 'paragraph', 'gemini', 'gemini://tales.nerv-project.eu'),
|
||||
('solid', 'rss', 'rss', 'https://www.nerv-project.eu/blog/atom.xml'),
|
||||
('solid', 'building', 'BCE 0756.741.342', 'https://kbopub.economie.fgov.be/kbopub/toonondernemingps.html?ondernemingsnummer=756741342', False),
|
||||
('solid', 'receipt', 'TVA BE0756741342', 'https://kbopub.economie.fgov.be/kbopub/toonondernemingps.html?ondernemingsnummer=756741342', False),
|
||||
('solid', 'books', 'KBR Éditeur 15066', 'https://www.kbr.be', False),
|
||||
('brands', 'mastodon', 'mastodon', 'https://tiphon.nerv-project.eu/@nerv_project', True),
|
||||
('solid', 'mug-hot', 'forgejo', 'https://procrastinator.nerv-project.eu/nerv-project', True),
|
||||
('solid', 'hashtag', 'xmpp', 'xmpp:asbl@clac.nerv-project.eu', True),
|
||||
('regular', 'comments', 'movim', 'https://clac.nerv-project.eu/', False),
|
||||
('solid', 'film', 'peertube', 'https://clap.nerv-project.eu/video-channels/kujiu_channel/videos', False),
|
||||
('brands', 'youtube', 'youtube', 'https://www.youtube.com/channel/UC6LcFMVZUOs4WbKvV3p1xVw', False),
|
||||
('solid', 'podcast', 'podcasts', 'https://kreskenn.nerv-project.eu', False),
|
||||
('solid', 'paragraph', 'gemini', 'gemini://nerv-project.eu', False),
|
||||
('solid', 'rss', 'rss', 'https://nerv-project.eu/blog/atom.xml', False),
|
||||
('solid', 'rss', 'newsletter (rss)', 'https://morpork.nerv-project.eu/blog/atom.xml', False),
|
||||
('solid', 'envelope', 'newsletter', 'https://e8eb781a.sibforms.com/serve/MUIEAJvJnY3tRS7Nh4RvCneup4b6zYrTqGw3TUsq3igy7_QACEbhSd8G26qTXES6uJS-fGtcGBaji0Os0eWK2CY2it80LrbbXL7WRdNibWlpKtLD2sv43rRROQxdBktxF0qci_7hXvkRuAKLRk_X3NtNCkRUV2prn0BHb4g4tr8vck_yic-nw_ZQlmAPWSrFd1FwGBGTqf1M_Frm', False),
|
||||
],
|
||||
"mastodon_user": "@nerv_project@tiphon.nerv-project.eu",
|
||||
'external_languages': [
|
||||
# ('code', 'name', 'baseurl'),
|
||||
('en', 'en', 'https://tn.nerv-project.eu/en'),
|
||||
('fr', 'fr', 'https://tn.nerv-project.eu/fr'),
|
||||
('nl', 'nl', 'https://tn.nerv-proect.eu/nl'),
|
||||
],
|
||||
"twitter_user": "nerv_project",
|
||||
"fathom": {
|
||||
'url': '//casanabo.nerv-project.eu',
|
||||
'id': 'BJLEM',
|
||||
|
@ -111,9 +119,7 @@ html_static_path = ['_static']
|
|||
html_sidebars = {
|
||||
'**': [
|
||||
'about.html',
|
||||
'postcard.html', 'util/sidetoc.html',
|
||||
'recentposts.html', 'tagcloud.html',
|
||||
'categories.html', 'archives.html',
|
||||
'util/sidetoc.html',
|
||||
'social.html',
|
||||
'util/searchbox.html',
|
||||
],
|
||||
|
@ -122,6 +128,15 @@ html_baseurl = baseurl
|
|||
|
||||
htmlhelp_basename = basename
|
||||
|
||||
gemini_baseurl = 'gemini://tn.nerv-project.eu/'
|
||||
gemini_footer = """
|
||||
Nerv Project ASBL - BCE 0756.741.342 - TVA BE0756741342 - KBR Éditeur 15066 - IBAN BE02751210684040 - BIC AXABBE22.
|
||||
|
||||
Licensed under EUPL 1.2
|
||||
|
||||
Created with Sphinx.
|
||||
"""
|
||||
|
||||
pyppeteer_pdf_options = {
|
||||
'printBackground': True,
|
||||
'format': 'A4',
|
||||
|
|
Loading…
Reference in a new issue