mirror of https://github.com/McSinyx/palace
Follow up on GH-116
* Include docs in source distributions * Prevent docs deploy job from failing when there's nothing to commit
This commit is contained in:
parent
90528cee2d
commit
fae0848283
|
@ -4,12 +4,10 @@ on:
|
|||
push:
|
||||
branches:
|
||||
- master
|
||||
paths-ignore:
|
||||
- examples/**
|
||||
- tests/**
|
||||
- LICENSE
|
||||
- README.md
|
||||
- .*.yml
|
||||
paths:
|
||||
- .github/workflows/*
|
||||
- docs/**
|
||||
- src/**
|
||||
|
||||
jobs:
|
||||
docs:
|
||||
|
@ -62,5 +60,7 @@ jobs:
|
|||
|
||||
rm -r docs
|
||||
git add .
|
||||
git commit -m "Build at $(date --iso-8601=seconds)"
|
||||
git push origin gh-pages
|
||||
if git commit -m "Build at $(date --iso-8601=seconds)"
|
||||
then
|
||||
git push origin gh-pages
|
||||
fi
|
||||
|
|
|
@ -1,6 +1,9 @@
|
|||
include CMakeLists.txt
|
||||
recursive-include src *.h *.pxd *.pyx
|
||||
|
||||
graft docs
|
||||
prune docs/build
|
||||
|
||||
include tox.ini
|
||||
recursive-include tests *.py
|
||||
recursive-include examples *.py
|
||||
|
|
|
@ -19,7 +19,7 @@ napoleon_google_docstring = False
|
|||
default_role = 'py:obj'
|
||||
|
||||
# Add any paths that contain templates here, relative to this directory.
|
||||
templates_path = ['_templates']
|
||||
templates_path = ['templates']
|
||||
|
||||
# List of patterns, relative to source directory, that match
|
||||
# files and directories to ignore when looking for source files.
|
||||
|
|
Loading…
Reference in New Issue