From 29ad81b309383e6efede98e60f98cdc1d1f5f92c Mon Sep 17 00:00:00 2001 From: William Ayd Date: Thu, 22 Aug 2024 20:50:36 -0400 Subject: [PATCH] Use absolute path for opengraph preview (#328) --- doc/source/conf.py | 4 +++- doc/source/index.rst | 2 +- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/doc/source/conf.py b/doc/source/conf.py index 1ba00e72..1aa3f413 100644 --- a/doc/source/conf.py +++ b/doc/source/conf.py @@ -22,7 +22,7 @@ # -- Options for HTML output ------------------------------------------------- html_theme = "sphinx_rtd_theme" -html_logo = "../../misc/pantab_logo.png" +html_logo = "../../misc/pantab_logo.svg" master_doc = "index" # see RTD GH issue 2569 html_context = { "display_github": True, @@ -33,3 +33,5 @@ # -- Options for opengraph output -------------------------------------------- ogp_site_url = "https://pantab.readthedocs.io/" +ogp_use_first_image = False +ogp_image = "https://pantab.readthedocs.io/en/latest/_static/pantab_logo.png" diff --git a/doc/source/index.rst b/doc/source/index.rst index f31372b9..e1f3f704 100644 --- a/doc/source/index.rst +++ b/doc/source/index.rst @@ -13,7 +13,7 @@ pantab What is it? ----------- -``pantab`` is a Python wrapper around Tableau's `Hyper API `_ which promotes usage of the `pandas DataFrame `_ to seamlessly generate and read hyper files. +``pantab`` is a fast, efficient, and easy way to exchange data between Tableau's `Hyper `_ database format and popular dataframe packages like `pandas `_, `polars `_, and `pyarrow `_. How do I get it? ----------------