File tree Expand file tree Collapse file tree 3 files changed +28
-3
lines changed Expand file tree Collapse file tree 3 files changed +28
-3
lines changed Original file line number Diff line number Diff line change
1
+ name : Upload Docs To Azure Blob Storage
2
+ on :
3
+ release :
4
+ types : [published]
5
+ jobs :
6
+ upload :
7
+ runs-on : ubuntu-latest
8
+ steps :
9
+ - uses : actions/checkout@v1
10
+ - uses : actions/setup-dotnet@v1
11
+ with :
12
+ dotnet-version : ' 3.0.100'
13
+ - name : Install dependencies
14
+ run : |
15
+ python -m pip install --upgrade pip
16
+ pip install setuptools wheel sphinx sphinx_rtd_theme
17
+ - name : Build
18
+ run : |
19
+ pip install .
20
+ make -C docs html
21
+ -
uses :
lauchacarro/[email protected]
22
+ with :
23
+ enabled-static-website : ' true'
24
+ folder : ' docs/build/html'
25
+ index-document : ' index.html'
26
+ connection-string : ${{ secrets.CONNECTION_STRING }}
Original file line number Diff line number Diff line change 3
3
4
4
# You can set these variables from the command line.
5
5
SPHINXOPTS =
6
- SPHINXBUILD = sphinx-build
6
+ SPHINXBUILD = python -m sphinx
7
7
SOURCEDIR = source
8
8
BUILDDIR = build
9
9
Original file line number Diff line number Diff line change 14
14
#
15
15
import os
16
16
import sys
17
- import xrspatial
18
-
19
17
sys .path .insert (0 , os .path .abspath ('../..' ))
20
18
21
19
# -- Project information -----------------------------------------------------
24
22
copyright = u'2020, Brendan Collins'
25
23
author = u'Brendan Collins'
26
24
25
+ import xrspatial
27
26
version = release = xrspatial .__version__
28
27
29
28
# -- General configuration ---------------------------------------------------
You can’t perform that action at this time.
0 commit comments