Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
19 changes: 19 additions & 0 deletions .github/workflows/rtd-preview.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
name: Read the Docs PR preview
on:
pull_request_target:
types:
- opened

permissions:
pull-requests: write

jobs:
documentation-links:
runs-on: ubuntu-latest
timeout-minutes: 10
steps:
- uses: readthedocs/actions/preview@v1
with:
project-slug: "ep-website-demo"
single-version: "true"
message-template: "🖼️ Preview available 🖼️ : {docs-pr-index-url}"
25 changes: 25 additions & 0 deletions .readthedocs.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
# Read the Docs configuration file
# See https://docs.readthedocs.io/en/stable/config-file/v2.html for details

# Required
version: 2

# Set the OS, Python version, and other tools you might need
build:
os: ubuntu-24.04
tools:
# Specify the language and version your project requires,
# by uncommenting one of the following tools.
#
# python: "3.13"
# ruby: "3.3"
nodejs: "22"
# rust: "1.82"
# golang: "1.23"

commands:
- npm install -g pnpm@latest-10
- make install
- make build PREVIEW=true
- mkdir -p $READTHEDOCS_OUTPUT/html
- cd dist && cp -r * $READTHEDOCS_OUTPUT/html