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

feat: add Sphinx as a documentation tool#1

feat: add Sphinx as a documentation tool

feat: add Sphinx as a documentation tool #1

name:Build and Deploy documentation
on:
pull_request:
types:[closed]
permissions:
contents:write
jobs:
build-and-deploy:
if:github.event.pull_request.merged == true
runs-on:ubuntu-latest
steps:
-uses:actions/checkout@v4
-uses:actions/setup-python@v5
-name:Install dependencies
run:pip install sphinx sphinx_rtd_theme myst_parser
-name:Build Docs
run:|
sphinx-build -b html . _build/html
-name:Deploy to GitHub Pages
uses:peaceiris/actions-gh-pages@v7
with:
github_token:${{ secrets.GITHUB_TOKEN }}
publish_dir:_build/html

[8]ページ先頭

©2009-2025 Movatter.jp