Add site_url (#2130)

### Changes

- Tells MkDocs where the site will be published at allowing it to
generate a sitemap

---------

Co-authored-by: emma <hi@emma.cafe>
This commit is contained in:
Henry Wilkinson 2024-12-04 16:56:19 -05:00 committed by GitHub
parent c385b1404c
commit f3ed70a1db
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 3 additions and 1 deletions

View File

@ -27,7 +27,8 @@ jobs:
DOCS_SOURCE_URL: https://app.browsertrix.com
ENABLE_ANALYTICS: true
- name: Build Docs
- name: Build & Deploy Docs
run: cd frontend/docs; mkdocs gh-deploy --force
env:
SITE_URL: https://docs.browsertrix.com
ENABLE_ANALYTICS: true

View File

@ -1,4 +1,5 @@
site_name: Browsertrix Docs
site_url: !ENV SITE_URL
repo_url: https://github.com/webrecorder/browsertrix-cloud/
repo_name: Browsertrix
edit_uri: edit/main/frontend/docs/docs/