Skip to content

Commit e4240ad

Browse files
authored
yaylib v1.5.0-dev4 (#69)
2 parents 2cc10b2 + 915dbbc commit e4240ad

File tree

358 files changed

+10917
-9936
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

358 files changed

+10917
-9936
lines changed

.editorconfig

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
root = true
2+
3+
[*]
4+
charset = utf-8
5+
end_of_line = lf
6+
indent_size = 4
7+
indent_style = space
8+
insert_final_newline = true
9+
trim_trailing_whitespace = true
10+
11+
[*.md]
12+
trim_trailing_whitespace = false
13+
14+
[*.{yml,yaml,json}]
15+
indent_size = 2
16+
17+
[Makefile]
18+
indent_style = tab

.github/workflows/docs.yaml

Lines changed: 60 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,60 @@
1+
name: Deploy docs to Pages
2+
3+
on:
4+
push:
5+
branches:
6+
- develop # change this to mater later
7+
8+
workflow_dispatch:
9+
10+
permissions:
11+
contents: read
12+
pages: write
13+
id-token: write
14+
15+
concurrency:
16+
group: "pages"
17+
cancel-in-progress: false
18+
19+
jobs:
20+
deploy:
21+
environment:
22+
name: github-pages
23+
url: ${{ steps.deployment.outputs.page_url }}
24+
runs-on: ubuntu-latest
25+
steps:
26+
- name: Checkout
27+
uses: actions/checkout@v4
28+
29+
- name: Install Poetry
30+
run: pipx install poetry
31+
32+
- name: Setup Python
33+
uses: actions/setup-python@v5
34+
with:
35+
python-version: "3.11"
36+
cache: "poetry"
37+
38+
- name: Check poetry
39+
run: |
40+
poetry --version
41+
poetry config --list
42+
43+
- name: Install dependencies
44+
run: poetry install
45+
46+
- name: Build Sphinx
47+
run: |
48+
poetry run make doc
49+
50+
- name: Setup Pages
51+
uses: actions/configure-pages@v3
52+
53+
- name: Upload artifact
54+
uses: actions/upload-pages-artifact@v2
55+
with:
56+
path: "./docs/_build/html/"
57+
58+
- name: Deploy to GitHub Pages
59+
id: deployment
60+
uses: actions/deploy-pages@v2

.github/workflows/jekyll-gh-pages.yml

Lines changed: 0 additions & 51 deletions
This file was deleted.

.github/workflows/pypi.yaml

Lines changed: 39 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,39 @@
1+
name: Publish yaylib to PyPI
2+
3+
on:
4+
push:
5+
branches:
6+
- master
7+
8+
jobs:
9+
publish:
10+
runs-on: ubuntu-latest
11+
steps:
12+
- name: Checkout
13+
uses: actions/checkout@v4
14+
15+
- name: Install Poetry
16+
run: pipx install poetry
17+
18+
- name: Setup Python
19+
uses: actions/setup-python@v5
20+
with:
21+
python-version: "3.11"
22+
23+
- name: Check poetry
24+
run: |
25+
poetry --version
26+
poetry config --list
27+
28+
- name: Install dependencies
29+
run: |
30+
poetry install
31+
./poetry_plugins.sh
32+
33+
- name: Configure poetry
34+
run: poetry config pypi-token.pypi ${{ secrets.PYPI_TOKEN }}
35+
36+
- name: Publish to PyPI
37+
run: |
38+
poetry build
39+
poetry publish

.gitignore

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,10 @@
11
.idea
2+
.config
23

3-
nanameue/
44
*_test.py
55

66
*.jpg
7+
*.jpeg
78
*.png
89
*.gif
910
*.mp4
@@ -35,7 +36,6 @@ share/python-wheels/
3536
.installed.cfg
3637
*.egg
3738
MANIFEST
38-
config/
3939
.pypirc
4040

4141
# PyInstaller

0 commit comments

Comments
 (0)