Skip to content

Commit

Permalink
Add site_url to mkdocs.yml (#2326)
Browse files Browse the repository at this point in the history
<!--
Open the PR up as a draft until you feel it is ready for a proper
review.

Do not make PR:s from your own `main` branch, as that makes it difficult
for reviewers to add their own fixes.

Add any improvements to the branch as new commits to make it easier for
reviewers to follow the progress. All commits will be squashed to a
single commit once the PR is merged into `main`.

Make sure you mention any issues that this PR closes in the description,
as well as any other related issues.

To get an auto-generated PR description you can put "copilot:summary" or
"copilot:walkthrough" anywhere.
-->

### What

Fix for #2222 (maybe)

It seems like the sitemap for `ref.rerun.io/docs/python/...` is empty.
It can be fixed by adding a `site_url` for it to use as the base url of
links in the sitemap.

### Checklist
* [x] I have read and agree to [Contributor
Guide](https://github.com/rerun-io/rerun/blob/main/CONTRIBUTING.md) and
the [Code of
Conduct](https://github.com/rerun-io/rerun/blob/main/CODE_OF_CONDUCT.md)

<!-- This line will get updated when the PR build summary job finishes.
-->
PR Build Summary: https://build.rerun.io/pr/2326

<!-- pr-link-docs:start -->
Docs preview: https://rerun.io/preview/edb65d4/docs
Examples preview: https://rerun.io/preview/edb65d4/examples
<!-- pr-link-docs:end -->
  • Loading branch information
jprochazk authored Jun 8, 2023
1 parent 03f9224 commit 0fee672
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions rerun_py/mkdocs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
# Top-level config for mkdocs
# See: https://www.mkdocs.org/user-guide/configuration/
site_name: Rerun Python APIs
site_url: https://ref.rerun.io/docs/python/latest
repo_url: https://github.com/rerun-io/rerun/

# Use the material theme
Expand Down Expand Up @@ -61,3 +62,4 @@ extra:
version:
provider: mike
default: latest

0 comments on commit 0fee672

Please sign in to comment.