Skip to content

Commit 15ef118

Browse files
committed
Fix docs Makefile
1 parent 24d8f34 commit 15ef118

File tree

2 files changed

+2
-27
lines changed

2 files changed

+2
-27
lines changed

.github/workflows/docs.yml

Lines changed: 0 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -11,31 +11,6 @@ on:
1111
- '*.md'
1212

1313
jobs:
14-
homepage:
15-
name: Homepage
16-
runs-on: ubuntu-latest
17-
steps:
18-
- name: Check out the repo
19-
uses: actions/checkout@v2
20-
with:
21-
fetch-depth: 0
22-
23-
- name: Set up Nodejs and yarn
24-
uses: actions/setup-node@v1
25-
with:
26-
node-version: '11.x'
27-
28-
- name: Build homepage
29-
run: make homepage
30-
31-
- name: Deploy to GH Pages
32-
uses: peaceiris/actions-gh-pages@v3
33-
with:
34-
github_token: ${{ secrets.GITHUB_TOKEN }}
35-
publish_dir: ./docs/dist
36-
cname: dipdup.net
37-
keep_files: true
38-
3914
docs:
4015
name: Docs
4116
runs-on: ubuntu-latest

docs/Makefile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,11 +20,11 @@ help:
2020
@$(SPHINXBUILD) -M $@ "$(SOURCEDIR)" "$(BUILDDIR)" $(SPHINXOPTS) $(O)
2121

2222
docs:
23-
make html
23+
poetry run make html
2424
tail -n '+33' _build/html/cli-reference.html | head -n '-63' > cli-reference.md
2525
tail -n '+33' _build/html/config-reference.html | head -n '-63' > config/reference.md
2626
tail -n '+33' _build/html/context-reference.html | head -n '-63' > advanced/context/reference.md
27-
python ../scripts/print_help.py > troubleshooting/common-issues.md
27+
poetry run python ../scripts/print_help.py > troubleshooting/common-issues.md
2828
mdbook build --dest-dir=dist/docs
2929

3030
homepage:

0 commit comments

Comments
 (0)