Skip to content

Commit 752568d

Browse files
committed
reinit from copier
1 parent 5847164 commit 752568d

File tree

7 files changed

+208
-166
lines changed

7 files changed

+208
-166
lines changed

.copier-answers.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# Changes here will be overwritten by Copier
2-
_commit: 9642da9
2+
_commit: bc2e300
33
_src_path: https://github.com/python-project-templates/base.git
44
add_docs: true
55
add_extension: js

.github/workflows/docs.yaml

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
name: Publish Docs
2+
3+
on:
4+
push:
5+
branches:
6+
- main
7+
workflow_dispatch:
8+
permissions:
9+
contents: write
10+
jobs:
11+
docs:
12+
runs-on: ubuntu-latest
13+
steps:
14+
- uses: actions/checkout@v4
15+
- uses: actions-ext/python/setup@main
16+
- uses: actions-ext/node/setup@main
17+
- run: uv pip install .
18+
- run: uv pip install yardang
19+
- run: yardang build
20+
- uses: peaceiris/actions-gh-pages@v4
21+
with:
22+
publish_branch: gh-pages
23+
github_token: ${{ secrets.GITHUB_TOKEN }}
24+
publish_dir: docs/html

.github/workflows/wiki.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
name: Publish Docs
1+
name: Publish Wiki
22

33
on:
44
push:

.gitignore

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -139,10 +139,13 @@ js/dist
139139
js/lib
140140
js/node_modules
141141
js/*.tgz
142+
python_template_js/extension
142143

143144
# Jupyter
144145
.ipynb_checkpoints
145146
.autoversion
147+
!python_template_js/extension/python_template_js.json
148+
!python_template_js/extension/install.json
146149
python_template_js/nbextension
147150
python_template_js/labextension
148151

0 commit comments

Comments
 (0)