Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions .github/workflows/docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,12 +5,12 @@ on:
branches:
- main
paths:
- 'doc/**'
- 'docs/**'
pull_request:
branches:
- main
paths:
- 'doc/**'
- 'docs/**'

# Security: restrict GITHUB_TOKEN to least privilege.
# See: https://www.upwind.io/feed/hackerbot-claw-github-actions-pull-request-rce
Expand All @@ -23,7 +23,7 @@ jobs:
runs-on: ubuntu-latest
defaults:
run:
working-directory: doc
working-directory: docs
steps:
- name: Check out the repository
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v4
Expand All @@ -48,7 +48,7 @@ jobs:
uses: actions/upload-artifact@v4
with:
name: docs-html
path: doc/_build/html/
path: docs/_build/html/

sync-to-website:
name: sync-docs-to-website
Expand Down
2 changes: 1 addition & 1 deletion .readthedocs.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ build:
python: "3.12"

sphinx:
configuration: doc/conf.py
configuration: docs/conf.py

python:
install:
Expand Down
4 changes: 2 additions & 2 deletions CONTRIB
Original file line number Diff line number Diff line change
Expand Up @@ -51,10 +51,10 @@ Licensing:
## Releases
For you dev op folks who release builds to the larger community ...

Update the release tag: doc/conf.py
Update the release tag: docs/conf.py
And also edit setup.py and assure that has the same release tag.
New versions of SpiffWorkflow are automatically published to PyPi whenever
a maintainer of our GitHub repository creates a new release on GitHub. This
is managed through GitHub's actions. The configuration of which can be
found in .github/workflows/....
Just create a release in GitHub that matches the release number in doc/conf.py
Just create a release in GitHub that matches the release number in docs/conf.py
4 changes: 2 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -13,15 +13,15 @@ clean:
find . -name "*.pyc" -o -name "*.pyo" | xargs -rn1 rm -f
find . -name "*.egg-info" | xargs -rn1 rm -r
rm -Rf build
cd doc; make clean
cd docs; make clean

.PHONY : dist-clean
dist-clean: clean
rm -Rf dist

.PHONY : doc
doc:
cd doc; make html
cd docs; make html

.PHONY : tests
tests:
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
8 changes: 4 additions & 4 deletions doc/bin/serve_docs → docs/bin/serve_docs
Original file line number Diff line number Diff line change
Expand Up @@ -8,23 +8,23 @@ PORT="${PORT:-8001}"
case "${1:-}" in
-h|--help|help)
cat <<EOF
Usage: doc/bin/serve_docs
Usage: docs/bin/serve_docs

Environment:
HOST Bind host, default 127.0.0.1
PORT Bind port, default 8001

Examples:
doc/bin/serve_docs
PORT=8010 doc/bin/serve_docs
docs/bin/serve_docs
PORT=8010 docs/bin/serve_docs
EOF
exit 0
;;
"")
;;
*)
echo "Unknown argument: $1" >&2
echo "Usage: doc/bin/serve_docs" >&2
echo "Usage: docs/bin/serve_docs" >&2
exit 1
;;
esac
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes.
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes.
File renamed without changes.
File renamed without changes.
2 changes: 1 addition & 1 deletion tests/SpiffWorkflow/core/docTest.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

dirname = os.path.abspath(os.path.dirname(__file__))
sys.path.insert(0, os.path.join(dirname, '..', '..', '..'))
doc_dir = os.path.join(dirname, '..', '..', '..', 'doc')
doc_dir = os.path.join(dirname, '..', '..', '..', 'docs')


class TutorialTest:
Expand Down
Loading