Skip to content

Commit

Permalink
Merge pull request #217 from minijackson/docs-opengraph
Browse files Browse the repository at this point in the history
docs: add opengraph metadata to HTML website
  • Loading branch information
stephane-cea authored Dec 13, 2024
2 parents 0651032 + 305a499 commit 751094f
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 0 deletions.
8 changes: 8 additions & 0 deletions docs/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@
"sphinx.ext.githubpages",
"sphinx_copybutton",
"sphinxcontrib_nixdomain",
"sphinxext.opengraph",
]

templates_path = ["_templates"]
Expand Down Expand Up @@ -126,3 +127,10 @@ def nix_linkcode_resolve(path: str) -> str:
]

man_show_urls = True

# -- Options for OpenGraph ---------------------------------------------------
# https://sphinxext-opengraph.readthedocs.io/en/latest/

ogp_site_url = html_baseurl
ogp_image = "_static/logo.svg"
ogp_image_alt = "EPNix logo"
1 change: 1 addition & 0 deletions pkgs/docs/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -103,6 +103,7 @@ in
sphinx
sphinx-copybutton
sphinxcontrib-nixdomain
sphinxext-opengraph
])
++ [
installShellFiles
Expand Down

0 comments on commit 751094f

Please sign in to comment.