Add robots.txt + update to Sphinx 7

This commit is contained in:
Kujiu 2023-08-18 02:20:43 +02:00
parent 9d31a132e1
commit 00bc8da32d
Signed by: kujiu
GPG key ID: ABBB2CAC6855599F
2 changed files with 33 additions and 14 deletions

View file

@ -0,0 +1,4 @@
User-agent: *
Disallow:
User-agent: GPTBot
Disallow: /

View file

@ -12,8 +12,11 @@ site_url = 'https://tn.nerv-project.eu/'
vcs_uri = "https://procrastinator.nerv-project.eu/" vcs_uri = "https://procrastinator.nerv-project.eu/"
use_bibtex = True use_bibtex = True
use_git = True use_git = True
html_favicon = '_static/favicon.ico'
language = 'en' language = 'en'
html_extra_path = [
"_static/robots.txt",
"_static/favicon.ico",
]
version = "0.1" version = "0.1"
release = "0.1" release = "0.1"
@ -78,23 +81,28 @@ html_theme = 'nervproject'
html_theme_options = { html_theme_options = {
"logoalt": project, "logoalt": project,
"social": [ "social": [
('solid', 'building', 'BCE 0756.741.342', 'https://kbopub.economie.fgov.be/kbopub/toonondernemingps.html?ondernemingsnummer=756741342'), ('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'), ('solid', 'receipt', 'TVA BE0756741342', 'https://kbopub.economie.fgov.be/kbopub/toonondernemingps.html?ondernemingsnummer=756741342', False),
('solid', 'books', 'KBR Éditeur 15066', 'https://www.kbr.be'), ('solid', 'books', 'KBR Éditeur 15066', 'https://www.kbr.be', False),
('brands', 'twitter', 'twitter', 'http://twitter.com/@nerv_project'), ('brands', 'mastodon', 'mastodon', 'https://tiphon.nerv-project.eu/@nerv_project', True),
('solid', 'mug-hot', 'gitea', 'https://procrastinator.nerv-project.eu/nerv-project/nervtn'), ('solid', 'mug-hot', 'forgejo', 'https://procrastinator.nerv-project.eu/nerv-project', True),
('solid', 'hashtag', 'xmpp', 'xmpp:technique@clac.nerv-project.eu'), ('solid', 'hashtag', 'xmpp', 'xmpp:asbl@clac.nerv-project.eu', True),
('regular', 'comments', 'movim', 'https://clac.nerv-project.eu/'), ('regular', 'comments', 'movim', 'https://clac.nerv-project.eu/', False),
('solid', 'paragraph', 'gemini', 'gemini://tales.nerv-project.eu'), ('solid', 'film', 'peertube', 'https://clap.nerv-project.eu/video-channels/kujiu_channel/videos', False),
('solid', 'rss', 'rss', 'https://www.nerv-project.eu/blog/atom.xml'), ('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': [ 'external_languages': [
# ('code', 'name', 'baseurl'), # ('code', 'name', 'baseurl'),
('en', 'en', 'https://tn.nerv-project.eu/en'), ('en', 'en', 'https://tn.nerv-project.eu/en'),
('fr', 'fr', 'https://tn.nerv-project.eu/fr'), ('fr', 'fr', 'https://tn.nerv-project.eu/fr'),
('nl', 'nl', 'https://tn.nerv-proect.eu/nl'), ('nl', 'nl', 'https://tn.nerv-proect.eu/nl'),
], ],
"twitter_user": "nerv_project",
"fathom": { "fathom": {
'url': '//casanabo.nerv-project.eu', 'url': '//casanabo.nerv-project.eu',
'id': 'BJLEM', 'id': 'BJLEM',
@ -111,9 +119,7 @@ html_static_path = ['_static']
html_sidebars = { html_sidebars = {
'**': [ '**': [
'about.html', 'about.html',
'postcard.html', 'util/sidetoc.html', 'util/sidetoc.html',
'recentposts.html', 'tagcloud.html',
'categories.html', 'archives.html',
'social.html', 'social.html',
'util/searchbox.html', 'util/searchbox.html',
], ],
@ -122,6 +128,15 @@ html_baseurl = baseurl
htmlhelp_basename = basename 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 = { pyppeteer_pdf_options = {
'printBackground': True, 'printBackground': True,
'format': 'A4', 'format': 'A4',