Skip to content

Commit 029fbd3

Browse files
committed
reinit from copier
1 parent 2ea8f05 commit 029fbd3

File tree

4 files changed

+28
-2
lines changed

4 files changed

+28
-2
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: 31de4a0
33
_src_path: https://github.com/python-project-templates/base.git
44
add_docs: true
55
add_extension: cpp

.github/workflows/docs.yaml

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
name: Public 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+
- run: uv pip install .
17+
- run: uv pip install yardang
18+
- run: yardang build
19+
- uses: peaceiris/actions-gh-pages@v4
20+
with:
21+
publish_branch: gh-pages
22+
github_token: ${{ secrets.GITHUB_TOKEN }}
23+
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_cpp/extension
142143

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

0 commit comments

Comments
 (0)