Skip to content
Merged
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
20 changes: 20 additions & 0 deletions .readthedocs.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
# SPDX-FileCopyrightText: 2025 PythonWoods <dev@pythonwoods.dev>
# SPDX-License-Identifier: Apache-2.0

# Read the Docs configuration for Docusaurus v3
version: 2

build:
os: ubuntu-24.04
tools:
nodejs: "22"

commands:
# 1. Installazione deterministica delle dipendenze (root-based)
- npm ci
# 2. Generazione del sito statico
- npm run build
# 3. Preparazione directory di output RTD
- mkdir --parents $READTHEDOCS_OUTPUT/html/
# 4. Trasferimento della build (la cartella è 'build/', non 'docs/build/')
- cp --recursive build/* $READTHEDOCS_OUTPUT/html/
Loading