-
Notifications
You must be signed in to change notification settings - Fork 40
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
DOC Add versions and use pydata theme #173
Changes from 4 commits
df5dc06
42bf22b
caaf98f
37c0f37
0c85b07
7d822e1
4051d8b
c379c96
ade0946
3e20d4c
3f01aea
8b9d272
7d9bf63
37253d4
c784d19
e67b516
117e892
15b84ce
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -22,6 +22,14 @@ jobs: | |
steps: | ||
- uses: actions/checkout@v2 | ||
|
||
- name: Get TAG | ||
run: echo "TAG=${{ github.ref_name }}" >> $GITHUB_ENV | ||
|
||
- name: Get DOC_DIR | ||
run: | | ||
DOC_DIR="$(cut -d '.' -f 1,2 <<< "$TAG")" | ||
echo "DOC_DIR=${DOC_DIR:1}".x >> $GITHUB_ENV | ||
|
||
- name: Set up Qt | ||
uses: tlambert03/setup-qt-libs@v1 | ||
|
||
|
@@ -49,11 +57,22 @@ jobs: | |
working-directory: doc | ||
run: make html | ||
|
||
- name: Deploy docs 🚀 | ||
- name: Deploy dev docs 🚀 | ||
uses: JamesIves/[email protected] | ||
with: | ||
branch: gh-pages | ||
folder: doc/_build/html | ||
target-folder: dev | ||
clean: true | ||
|
||
- name: Deploy stable docs 🚀 | ||
uses: JamesIves/[email protected] | ||
if: startsWith(env.TAG, 'v') | ||
with: | ||
branch: gh-pages | ||
folder: doc/_build/html | ||
target-folder: ${{ env.DOC_DIR }} | ||
clean: true | ||
|
||
- name: Cache | ||
uses: actions/cache@v2 | ||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
[ | ||
{ | ||
"version": "0.1.x", | ||
"url": "https://jni.github.io/skan/0.1.x" | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. not sure how the url's work so not sure if this works, pydata docs didn't expand. @jni can you explain..? There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Probably can replace this with There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. For each of these we need to go back and build the old docs though, and the early versions are pointless. I would say let's go back to 0.7.x and no more, as that is the version matching the paper. There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I kept There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Yup! |
||
}, | ||
{ | ||
"version": "0.3.x", | ||
"url": "https://jni.github.io/skan/0.3.x" | ||
}, | ||
{ | ||
"version": "0.5.x", | ||
"url": "https://jni.github.io/skan/0.5.x" | ||
}, | ||
{ | ||
"version": "0.6.x", | ||
"url": "https://jni.github.io/skan/0.6.x" | ||
}, | ||
{ | ||
"version": "0.7.x", | ||
"url": "https://jni.github.io/skan/0.7.x" | ||
}, | ||
{ | ||
"version": "0.8.x", | ||
"url": "https://jni.github.io/skan/0.8.x" | ||
}, | ||
{ | ||
"version": "0.9.x", | ||
"url": "https://jni.github.io/skan/0.9.x" | ||
}, | ||
{ | ||
"version": "0.10.x", | ||
"url": "https://jni.github.io/skan/0.10.x" | ||
} | ||
] |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
couldn't figure out how to make this a one liner, suggestions welcome. Works as is and outputs e.g., "0.1.x"