File tree Expand file tree Collapse file tree 5 files changed +18
-16
lines changed Expand file tree Collapse file tree 5 files changed +18
-16
lines changed Original file line number Diff line number Diff line change @@ -14,25 +14,18 @@ jobs:
1414 build :
1515 runs-on : ubuntu-latest
1616 steps :
17- - name : Python Setup
18- uses : actions/setup-python@v6
19- with :
20- python-version : 3
21- architecture : x64
22-
2317 - name : Checkout Source
2418 uses : actions/checkout@v5
2519
26- - name : Install Packages
27- run : |
28- pip install -r requirements.txt
20+ - name : Install UV and Python
21+ uses : astral-sh/setup-uv@v6
2922
3023 - name : Setup Pages
3124 uses : actions/configure-pages@v5
3225
3326 - name : Build Pages
3427 run : |
35- make html
28+ uv run sphinx-build -W -b html source build/ html
3629
3730 - name : Upload Artifact
3831 uses : actions/upload-pages-artifact@v4
Original file line number Diff line number Diff line change 11# Build Files
22build /
3+ uv.lock
34
45# Dev Stuff
56.pytest_cache /
Original file line number Diff line number Diff line change 11#! /bin/bash
22
3- make html
3+ rm -rf build/*
4+ uv run sphinx-build -W -b html source build/html
45rsync -avPh --delete build/html/ novelwriter.io:www/
Original file line number Diff line number Diff line change 1+ [project ]
2+ name = " novelWriter.io"
3+ version = " 1.0"
4+ description = " The novelWriter website"
5+ readme = " README.md"
6+ dependencies = [
7+ " pydata-sphinx-theme>=0.15" ,
8+ " sphinx-copybutton" ,
9+ " sphinx-design" ,
10+ " sphinx-favicon" ,
11+ " sphinx<7.0" ,
12+ ]
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments