Skip to content
This repository was archived by the owner on Jan 23, 2026. It is now read-only.

Commit 12782ff

Browse files
authored
Add Open Graph Metadata for Link Previews (#403)
1 parent 22c6f70 commit 12782ff

4 files changed

Lines changed: 9 additions & 1 deletion

File tree

docs/source/_static/img/avatar.png

21.2 KB
Loading

docs/source/_templates/head.html

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
<meta property="og:title" content="Jumpstarter Docs" />
2+
<meta property="og:description"
3+
content="Jumpstarter is an open source and cloud native Hardware-in-the-Loop testing tool that enables you to test your software stack on both real hardware and virtual environments using CI/CD principles." />
4+
<meta property="og:image" content="{{ deploy_url }}/_static/img/avatar.png" />

docs/source/_templates/page.html

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,7 @@
11
{% extends "!page.html" %}
2+
{% block extrahead %}
3+
{% include "head.html" %}
4+
{% endblock %}
25

36
{% block content %}
47
<div class="admonition warning">

docs/source/conf.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@
4444
# https://www.sphinx-doc.org/en/master/usage/configuration.html#options-for-html-output
4545

4646
html_theme = "furo"
47-
html_title = "Jumpstarter"
47+
html_title = "Jumpstarter Docs"
4848
html_logo = "_static/img/logo-light-theme.svg"
4949
html_favicon = "_static/img/favicon.png"
5050
html_show_sphinx = False
@@ -95,4 +95,5 @@
9595
# Patterns for the versions panel
9696
html_context = {
9797
"display_lower": True, # Display lower versions at the bottom of the menu
98+
"deploy_url": os.getenv("DEPLOY_URL", "http://localhost:8000"), # Get Netlify URL from environment variable
9899
}

0 commit comments

Comments
 (0)