Skip to content

Commit

Permalink
Merge branch 'demo/mini18n'
Browse files Browse the repository at this point in the history
  • Loading branch information
attakei committed May 6, 2024
2 parents 17079b4 + 0ca9d7d commit f779565
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 9 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/deploy-demo.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,14 +28,15 @@ jobs:
python tools/fetch_revealjs.py
pip install ".[screenshot,demo]"
playwright install
make -C demo demo
make -C demo mini18n-revealjs
touch demo/_build/mini18n-revealjs/.nojeykll
env:
GTAGJS_IDS: ${{ secrets.GTAGJS_IDS }}
DEMO_URL_BASE: "https://attakei.github.io/sphinx-revealjs/"
- name: Upload artifact
uses: actions/upload-pages-artifact@v1
with:
path: demo/_build/demo/
path: demo/_build/mini18n-revealjs/
deploy:
needs: build
runs-on: ubuntu-latest
Expand Down
8 changes: 1 addition & 7 deletions demo/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -11,13 +11,7 @@ BUILDDIR = _build
help:
@$(SPHINXBUILD) -M help "$(SOURCEDIR)" "$(BUILDDIR)" $(SPHINXOPTS) $(O)

.PHONY: help Makefile demo intl

demo:
@$(SPHINXBUILD) -b dirrevealjs "$(SOURCEDIR)" "$(BUILDDIR)/demo/ja" $(SPHINXOPTS) $(O) -D language="ja"
@$(SPHINXBUILD) -b dirrevealjs "$(SOURCEDIR)" "$(BUILDDIR)/demo/en" $(SPHINXOPTS) $(O)
./gen-index.py $(BUILDDIR)/demo
touch $(BUILDDIR)/demo/.nojekyll
.PHONY: help Makefile intl

intl:
@$(SPHINXBUILD) -M gettext "$(SOURCEDIR)" "$(BUILDDIR)" $(SPHINXOPTS) $(O)
Expand Down

0 comments on commit f779565

Please sign in to comment.