humans.txt, security.txt, ads.txt, interdiction d'entraînement d'IA, liens CGU/confidentialité

- humans.txt, ads.txt (ligne placeholder IAB), ai.txt, .well-known/security.txt (RFC 9116), .well-known/tdmrep.json
- robots.txt : robots d'entraînement d'IA refusés ; robots de recherche et de lecture laissés libres
- À propos : section « Intelligence artificielle » (#ia)
- <link rel="privacy-policy"> et "terms-of-service" (vers /a-propos#mentions) dans toutes les pages et le forum ; <link rel="author"> dans l'accueil
- assembler.py copie les nouveaux fichiers

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Cette révision appartient à :
Théo GastineletClaude Opus 5.5 a révisé 2026-11-07 01:00:43 +01:00
1 Parent 62d8ee91a5
révision 1df8be2be1
14 fichiers modifiés
+81 -2

Aucun fichier ne correspond à votre recherche

+12 -1
Voir le fichier
@@ -39,7 +39,18 @@ def main():
for fixe in ("404.html", "llms.txt", "llms-full.txt", "charte.html", "charte-vercors.pdf"):
if os.path.exists(os.path.join(ICI, fixe)):
shutil.copy(os.path.join(ICI, fixe), os.path.join(DEST, fixe))
open(os.path.join(DEST, "robots.txt"), "w", encoding="utf-8").write("User-agent: *\nAllow: /\nDisallow: /forum/connexion\nDisallow: /forum/api/\nDisallow: /forum/photo/\nSitemap: https://vercors.me/sitemap.xml\n")
# robots d'ENTRAÎNEMENT d'IA refusés ; robots de recherche / lecture à la demande (OAI-SearchBot, ChatGPT-User, Claude-User, Claude-SearchBot, PerplexityBot, Googlebot) autorisés
entrainement = ("GPTBot", "Google-Extended", "CCBot", "ClaudeBot", "anthropic-ai", "Applebot-Extended", "Bytespider", "meta-externalagent",
"FacebookBot", "Amazonbot", "cohere-ai", "Diffbot", "Omgilibot", "ImagesiftBot", "Timpibot")
robots = "# Entraînement d'IA interdit (voir /ai.txt). Lecture pour répondre à une question permise.\n"
robots += "".join("User-agent: %s\nDisallow: /\n\n" % b for b in entrainement)
robots += "User-agent: *\nAllow: /\nDisallow: /forum/connexion\nDisallow: /forum/api/\nDisallow: /forum/photo/\n\nSitemap: https://vercors.me/sitemap.xml\n"
open(os.path.join(DEST, "robots.txt"), "w", encoding="utf-8").write(robots)
for fixe in ("humans.txt", "ads.txt", "ai.txt"):
shutil.copy(os.path.join(ICI, fixe), os.path.join(DEST, fixe))
os.makedirs(os.path.join(DEST, ".well-known"), exist_ok=True)
for fixe in ("security.txt", "tdmrep.json"):
shutil.copy(os.path.join(ICI, "well-known", fixe), os.path.join(DEST, ".well-known", fixe))
urls = "".join("<url><loc>https://vercors.me/%s</loc></url>" % u for u in ("", "climat", "a-propos", "statistiques", "charte", "forum/"))
open(os.path.join(DEST, "sitemap.xml"), "w", encoding="utf-8").write('<?xml version="1.0" encoding="UTF-8"?><urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9">%s</urlset>\n' % urls)
for dossier in ("polices", "tuiles"):