Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit03d4bc5

Browse files
authored
Merge pull requestsigmavirus24#1158 from sigmavirus24/ci/auto-upload-docs
Add docs upload workflow
2 parents94541f8 +06af862 commit03d4bc5

File tree

2 files changed

+57
-0
lines changed

2 files changed

+57
-0
lines changed

‎.github/workflows/docs.yml

Lines changed: 45 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,45 @@
1+
---
2+
name:Check documentation
3+
4+
"on":
5+
schedule:
6+
-cron:"0 1 * * *"# everyday at 1am
7+
push:
8+
paths:
9+
-"**.rst"
10+
-"docs/**"
11+
pull_request:
12+
paths:
13+
-"**.rst"
14+
-"docs/**"
15+
16+
jobs:
17+
docs:
18+
name:Build documentation & check links
19+
runs-on:ubuntu-latest
20+
steps:
21+
-uses:actions/checkout@v3
22+
-uses:actions/setup-python@v4
23+
with:
24+
python-version:"3.11"
25+
26+
-name:Upgrade pip
27+
run:|
28+
pip install -U pip
29+
pip --version
30+
31+
-name:Install Tox
32+
run:|
33+
pip install tox
34+
tox --version
35+
36+
-name:Build documentation
37+
run:tox
38+
env:
39+
TOXENV:docs
40+
41+
-name:Upload documentation
42+
uses:actions/upload-artifact@v3
43+
with:
44+
name:docs
45+
path:docs/build

‎.readthedocs.yml

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
version:2
2+
build:
3+
os:ubuntu-22.04
4+
tools:
5+
python:"3.11"
6+
sphinx:
7+
configuration:docs/source/conf.py
8+
formats:all
9+
python:
10+
install:
11+
-requirements:docs/source/requirements.txt
12+
-path:.

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp