From 029fbd349928d9e0e3dd7bc1f9e1c8848aafb9df Mon Sep 17 00:00:00 2001 From: Tim Paine <3105306+timkpaine@users.noreply.github.com> Date: Sat, 2 Aug 2025 16:58:37 -0400 Subject: [PATCH] reinit from copier --- .copier-answers.yaml | 2 +- .github/workflows/docs.yaml | 23 +++++++++++++++++++++++ .github/workflows/wiki.yaml | 2 +- .gitignore | 3 +++ 4 files changed, 28 insertions(+), 2 deletions(-) create mode 100644 .github/workflows/docs.yaml diff --git a/.copier-answers.yaml b/.copier-answers.yaml index 0c83dd5..55cbf9d 100644 --- a/.copier-answers.yaml +++ b/.copier-answers.yaml @@ -1,5 +1,5 @@ # Changes here will be overwritten by Copier -_commit: 9642da9 +_commit: 31de4a0 _src_path: https://github.com/python-project-templates/base.git add_docs: true add_extension: cpp diff --git a/.github/workflows/docs.yaml b/.github/workflows/docs.yaml new file mode 100644 index 0000000..e10c89b --- /dev/null +++ b/.github/workflows/docs.yaml @@ -0,0 +1,23 @@ +name: Public Docs + +on: + push: + branches: + - main + workflow_dispatch: +permissions: + contents: write +jobs: + docs: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v4 + - uses: actions-ext/python/setup@main + - run: uv pip install . + - run: uv pip install yardang + - run: yardang build + - uses: peaceiris/actions-gh-pages@v4 + with: + publish_branch: gh-pages + github_token: ${{ secrets.GITHUB_TOKEN }} + publish_dir: docs/html diff --git a/.github/workflows/wiki.yaml b/.github/workflows/wiki.yaml index d5f3b74..8de232b 100644 --- a/.github/workflows/wiki.yaml +++ b/.github/workflows/wiki.yaml @@ -1,4 +1,4 @@ -name: Publish Docs +name: Publish Wiki on: push: diff --git a/.gitignore b/.gitignore index 551d63e..97edfa5 100644 --- a/.gitignore +++ b/.gitignore @@ -139,10 +139,13 @@ js/dist js/lib js/node_modules js/*.tgz +python_template_cpp/extension # Jupyter .ipynb_checkpoints .autoversion +!python_template_cpp/extension/python_template_cpp.json +!python_template_cpp/extension/install.json python_template_cpp/nbextension python_template_cpp/labextension