Skip to content

Commit

Permalink
Add chun_codes to docs/requirements.txt
Browse files Browse the repository at this point in the history
 - Use editable option of pip
 - Simplify sphinx-build GitHub actions
  • Loading branch information
astrochun committed Feb 10, 2021
1 parent 976e627 commit 9d81c32
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 16 deletions.
16 changes: 0 additions & 16 deletions .github/workflows/sphinx-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,26 +12,10 @@ on:
jobs:
docs:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ['3.8']

steps:
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v2
with:
python-version: ${{ matrix.python-version }}
- name: Checkout MSC
uses: actions/checkout@v2
- name: Checkout chun_codes
uses: actions/checkout@v2
with:
repository: astrochun/chun_codes
path: chun_codes
- name: Install chun_codes
run: |
python setup.py install
working-directory: chun_codes
- name: Sphinx build
uses: ammaraskar/sphinx-action@master
with:
Expand Down
1 change: 1 addition & 0 deletions docs/requirements.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
sphinx>=3.0
sphinx-rtd-theme==0.5.1
sphinx-autodoc-typehints==1.11.1
-e git+https://github.com/astrochun/chun_codes.git#egg=chun_codes

0 comments on commit 9d81c32

Please sign in to comment.