mirror of
https://gh.llkk.cc/https://github.com/mainwp/mainwp.dev.git
synced 2025-10-03 15:34:35 +08:00
Create .readthedocs.yaml
Read the docs test
This commit is contained in:
parent
8664cc48e4
commit
5c17040bf0
1 changed files with 21 additions and 0 deletions
21
.readthedocs.yaml
Normal file
21
.readthedocs.yaml
Normal file
|
@ -0,0 +1,21 @@
|
|||
# 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:
|
||||
nodejs: "22"
|
||||
|
||||
commands:
|
||||
# Install Docusaurus dependencies
|
||||
- cd docs/ && npm install
|
||||
# Build the site
|
||||
- cd docs/ && npm run build
|
||||
# Copy generated files into Read the Docs directory
|
||||
- mkdir --parents $READTHEDOCS_OUTPUT/html/
|
||||
- cp --recursive docs/build/* $READTHEDOCS_OUTPUT/html/
|
||||
|
Loading…
Add table
Add a link
Reference in a new issue