Skip to content

Commit abd1c51

Browse files
meili-bors[bot]Strift
andauthored
Merge #810
810: Migrate docs to Meilisearch subdomain r=sanders41 a=Strift # Pull Request The goal of this PR is to prepare the repository to have the docs migrated to `https://python-sdk.meilisearch.com`. ## What does this PR do? - Inject the Fathom analytics script - Add CNAME for Github Pages redirection (see [github docs](https://docs.github.com/en/pages/configuring-a-custom-domain-for-your-github-pages-site/about-custom-domains-and-github-pages)) ## PR checklist Please check if your PR fulfills the following requirements: - [x] Does this PR fix an existing issue, or have you listed the changes applied in the PR description (and why they are needed)? - [x] Have you read the contributing guidelines? - [x] Have you made sure that the title is accurate and descriptive of the changes? Thank you so much for contributing to Meilisearch! Co-authored-by: Strift <laurent@meilisearch.com>
2 parents 8de12de + 3c1be13 commit abd1c51

2 files changed

Lines changed: 8 additions & 0 deletions

File tree

CNAME

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
python-sdk.meilisearch.com/

docs/conf.py

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -57,3 +57,10 @@
5757

5858
# This value contains a list of modules to be mocked up.
5959
autodoc_mock_imports = ["camel_converter"]
60+
61+
html_title = 'Meilisearch Python | Documentation'
62+
63+
# Add Fathom analytics script
64+
html_js_files = [
65+
("https://cdn.usefathom.com/script.js", { "data-site": "QNBPJXIV", "defer": "defer" })
66+
]

0 commit comments

Comments
 (0)