Fix missing build steps in versioning workflows (#81)

This commit is contained in:
Manuel Goulão
2022-10-27 12:42:08 +01:00
committed by GitHub
parent 24fd4a7512
commit 5ec39806cf
2 changed files with 24 additions and 12 deletions

View File

@@ -31,17 +31,23 @@ jobs:
with:
python-version: '3.9'
- name: Install Library
run: pip install -e .
- name: Install dependencies
run: pip install -r ./docs/requirements.txt
run: pip install -r docs/requirements.txt
- name: Install Gymnasium
run: pip install mujoco && pip install .[atari,accept-rom-license,box2d]
- name: Build Envs Docs
run: python docs/scripts/gen_mds.py && python docs/scripts/gen_envs_display.py
- name: Build
run: sphinx-build -b dirhtml -v docs _build
- name: Remove CNAME
run: rm -f ./_build/CNAME
- name: Move 404
run: mv _build/404/index.html _build/404.html
- name: Update 404 links
run: python docs/scripts/move_404.py _build/404.html
- name: Remove .doctrees
run: rm -r _build/.doctrees

View File

@@ -22,17 +22,23 @@ jobs:
with:
strip_v: true
- name: Install Library
run: pip install -e .
- name: Install dependencies
run: pip install -r ./docs/requirements.txt
run: pip install -r docs/requirements.txt
- name: Install Gymnasium
run: pip install mujoco && pip install .[atari,accept-rom-license,box2d]
- name: Build Envs Docs
run: python docs/scripts/gen_mds.py && python docs/scripts/gen_envs_display.py
- name: Build
run: sphinx-build -b dirhtml -v docs _build
- name: Remove CNAME
run: rm -f ./_build/CNAME
- name: Move 404
run: mv _build/404/index.html _build/404.html
- name: Update 404 links
run: python docs/scripts/move_404.py _build/404.html
- name: Remove .doctrees
run: rm -r _build/.doctrees