Skip to content

Commit

Permalink
Merge #810
Browse files Browse the repository at this point in the history
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 <[email protected]>
  • Loading branch information
meili-bors[bot] and Strift authored Jul 24, 2023
2 parents 8de12de + 3c1be13 commit abd1c51
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
1 change: 1 addition & 0 deletions CNAME
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
python-sdk.meilisearch.com/
7 changes: 7 additions & 0 deletions docs/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -57,3 +57,10 @@

# This value contains a list of modules to be mocked up.
autodoc_mock_imports = ["camel_converter"]

html_title = 'Meilisearch Python | Documentation'

# Add Fathom analytics script
html_js_files = [
("https://cdn.usefathom.com/script.js", { "data-site": "QNBPJXIV", "defer": "defer" })
]

0 comments on commit abd1c51

Please sign in to comment.