Skip to content

Commit 5f5cc39

Browse files
Merge pull request #9 from ColibrITD-SAS/dev
dev to main
2 parents fc63dab + c3acfbe commit 5f5cc39

27 files changed

+104
-29
lines changed

.github/workflows/mpqp_prod.yml

+4-26
Original file line numberDiff line numberDiff line change
@@ -5,32 +5,10 @@ on:
55
branches:
66
- main
77
push:
8-
branches:
9-
- main
10-
tags:
11-
- '*'
12-
13-
jobs:
14-
build_publish_package:
15-
runs-on: ubuntu-latest
16-
steps:
17-
- name: Checkout Repository
18-
uses: actions/checkout@v4
19-
- name: Install Dependencies
20-
run: |
21-
pip install -r requirements-dev.txt
22-
- name: Build Package
23-
run: python setup.py sdist bdist_wheel
24-
- name: Install Twine
25-
run: |
26-
pip install twine
27-
- name: Publish to PyPI
28-
run: |
29-
twine upload dist/*
30-
env:
31-
TWINE_USERNAME: __token__
32-
TWINE_PASSWORD: ${{ secrets.PRD_QT_API_TOKEN }}
33-
8+
branches:
9+
- main
10+
11+
jobs:
3412
build_publish_docs:
3513
# Deploy to cloudflare
3614
runs-on: ubuntu-latest

.github/workflows/mpqp_tag.yml

+46
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,46 @@
1+
name: Build and Publish
2+
3+
on:
4+
push:
5+
tags:
6+
- '*'
7+
8+
jobs:
9+
build_publish_package:
10+
runs-on: ubuntu-latest
11+
steps:
12+
- name: Checkout Repository
13+
uses: actions/checkout@v4
14+
- name: Install Dependencies
15+
run: |
16+
pip install -r requirements-dev.txt
17+
- name: Build Package
18+
run: python setup.py sdist bdist_wheel
19+
- name: Install Twine
20+
run: |
21+
pip install twine
22+
- name: Publish to PyPI
23+
run: |
24+
twine upload dist/*
25+
env:
26+
TWINE_USERNAME: __token__
27+
TWINE_PASSWORD: ${{ secrets.PRD_QT_API_TOKEN }}
28+
29+
build_publish_docs:
30+
# Deploy to cloudflare
31+
runs-on: ubuntu-latest
32+
needs: build_publish_package
33+
steps:
34+
- name: Checkout
35+
uses: actions/checkout@v4
36+
- name: Build Document
37+
run: |
38+
pip install -r requirements-dev.txt
39+
sphinx-build -b html docs build
40+
- name: Publish
41+
uses: cloudflare/pages-action@1
42+
with:
43+
apiToken: ${{ secrets.PRD_CLOUDFLARE_API_TOKEN }}
44+
accountId: ${{ secrets.PRD_CLOUDFLARE_ACCOUNT_ID }}
45+
projectName: mpqp
46+
directory: build

README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
![license badge](https://img.shields.io/github/license/ColibrITD-SAS/mpqp)
2-
![test status badge](https://img.shields.io/github/actions/workflow/status/ColibrITD-SAS/mpqp/test?label=tests)
2+
![test status badge](https://img.shields.io/github/actions/workflow/status/ColibrITD-SAS/mpqp/mpqp_dev.yml?branch=dev)
33
![doc status badge](https://img.shields.io/github/actions/workflow/status/ColibrITD-SAS/mpqp/doc?label=doc)
44
![pipy deployment status badge](https://img.shields.io/github/actions/workflow/status/ColibrITD-SAS/mpqp/pipy?label=pipy)
55

docs/conf.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -139,12 +139,12 @@
139139

140140
# The name of an image file (relative to this directory) to place at the top
141141
# of the sidebar.
142-
html_logo = "resources/mpqp_test_logo.png"
142+
html_logo = "resources/mpqp-logo-dark-theme.svg"
143143

144144
# The name of an image file (within the static path) to use as favicon of the
145145
# docs. This file should be a Windows icon file (.ico) being 16x16 or 32x32
146146
# pixels large.
147-
html_favicon = "resources/mpqp_favicon.png"
147+
html_favicon = "resources/favicon.ico"
148148

149149
# Add any extra paths that contain custom files (such as robots.txt or
150150
# .htaccess) here, relative to this directory. These files are copied
5.23 KB
Loading
20.9 KB
Loading

docs/resources/apple-touch-icon.png

4.67 KB
Loading

docs/resources/favicon-16x16.png

449 Bytes
Loading

docs/resources/favicon-32x32.png

708 Bytes
Loading

docs/resources/favicon.ico

10.9 KB
Binary file not shown.

docs/resources/favicon.svg

+6
Loading
+10
Loading
+10
Loading
File renamed without changes.
4.23 KB
Loading
18.8 KB
Loading
3.7 KB
Loading

docs/resources/old/favicon-16x16.png

380 Bytes
Loading

docs/resources/old/favicon-32x32.png

564 Bytes
Loading

docs/resources/old/favicon-v1.ico

15 KB
Binary file not shown.

docs/resources/old/favicon-v1.svg

+5
Loading

docs/resources/old/favicon.ico

2.67 KB
Binary file not shown.
File renamed without changes.
File renamed without changes.

docs/resources/old/old-favicon.ico

4.19 KB
Binary file not shown.

docs/resources/old/site.webmanifest

+19
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
{
2+
"name": "",
3+
"short_name": "",
4+
"icons": [
5+
{
6+
"src": "/android-chrome-192x192.png",
7+
"sizes": "192x192",
8+
"type": "image/png"
9+
},
10+
{
11+
"src": "/android-chrome-512x512.png",
12+
"sizes": "512x512",
13+
"type": "image/png"
14+
}
15+
],
16+
"theme_color": "#ffffff",
17+
"background_color": "#ffffff",
18+
"display": "standalone"
19+
}

docs/resources/site.webmanifest

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
{"name":"","short_name":"","icons":[{"src":"/android-chrome-192x192.png","sizes":"192x192","type":"image/png"},{"src":"/android-chrome-512x512.png","sizes":"512x512","type":"image/png"}],"theme_color":"#ffffff","background_color":"#ffffff","display":"standalone"}

0 commit comments

Comments
 (0)