File tree Expand file tree Collapse file tree 5 files changed +25
-5
lines changed Expand file tree Collapse file tree 5 files changed +25
-5
lines changed Original file line number Diff line number Diff line change @@ -15,6 +15,26 @@ concurrency:
15
15
cancel-in-progress : true
16
16
17
17
jobs :
18
+ make_dash_docset :
19
+ runs-on : macos-latest
20
+ steps :
21
+ - uses : actions/checkout@v4
22
+ - name : Setup Python
23
+ uses : actions/setup-python@v5
24
+ with :
25
+ python-version : ' 3.x'
26
+ - name : Install Build Dependencies
27
+ run : |
28
+ python -m pip install --upgrade doc2dash setuptools -r doc/requirements.txt
29
+ - name : Build docset
30
+ run : |
31
+ make -C doc dash
32
+ - run : tar --exclude='.DS_Store' -cvzf pyqtgraph.tgz doc/pyqtgraph.docset
33
+ - name : Upload docset
34
+ uses : actions/upload-artifact@v4
35
+ with :
36
+ name : pyqtgraph.docset
37
+ path : pyqtgraph.tgz
18
38
run-mypy :
19
39
runs-on : ubuntu-latest
20
40
steps :
Original file line number Diff line number Diff line change @@ -55,10 +55,11 @@ dash: clean
55
55
export BUILD_DASH_DOCSET=1; \
56
56
$(SPHINXBUILD ) -b html $(ALLSPHINXOPTS ) $(BUILDDIR ) /dash
57
57
doc2dash -n pyqtgraph\
58
+ --index-page index.html\
58
59
--online-redirect-url https://pyqtgraph.readthedocs.io/en/latest\
59
- --icon $(SOURCEDIR ) /_static/peegee_03_square_no_bg_32_cleaned.png\
60
+ --icon $(SOURCEDIR ) /_static/docset-icon.png\
61
+ --icon-2x
$(SOURCEDIR ) /_static/
[email protected] \
60
62
--force\
61
- -A\
62
63
$(BUILDDIR ) /dash
63
64
@echo
64
65
File renamed without changes.
Original file line number Diff line number Diff line change 144
144
145
145
# favicons
146
146
favicons = [
147
- "peegee_03_square_no_bg_32_cleaned .png" ,
148
- "peegee_04_square_no_bg_180_cleaned .png" ,
147
+ "docset-icon .png" ,
148
+ "docset-icon@2x .png" ,
149
149
"peegee_03_square_no_bg_32_cleaned.ico"
150
150
]
151
151
187
187
# The name of an image file (within the static path) to use as favicon of the
188
188
# docs. This file should be a Windows icon file (.ico) being 16x16 or 32x32
189
189
# pixels large.
190
- # html_favicon = "_static/peegee_03_square_no_bg_32_cleaned.ico"
191
190
192
191
# Add any paths that contain custom static files (such as style sheets) here,
193
192
# relative to this directory. They are copied after the builtin static files,
You can’t perform that action at this time.
0 commit comments