Skip to content

Commit

Permalink
Merge pull request #40 from mgoulao/main
Browse files Browse the repository at this point in the history
Add docs versioning and add missing requirements
  • Loading branch information
ffelten authored Feb 8, 2024
2 parents 2835950 + fa51b0c commit 425091b
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 9 deletions.
6 changes: 1 addition & 5 deletions .github/workflows/build-docs-version.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,10 +18,6 @@ jobs:
with:
python-version: '3.9'

- name: Get tag
id: tag
uses: dawidd6/action-get-tag@v1

- name: Install docs requirements
run: pip install -r docs/requirements.txt

Expand All @@ -47,7 +43,7 @@ jobs:
uses: JamesIves/github-pages-deploy-action@v4
with:
folder: _build
target-folder: ${{steps.tag.outputs.tag}}
target-folder: ${{github.ref_name}}
clean: false

- name: Upload to GitHub Pages
Expand Down
2 changes: 1 addition & 1 deletion docs/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@
# "light_logo": "img/PettingZoo.svg",
# "dark_logo": "img/PettingZoo_White.svg",
# "gtag": "G-Q4EGMJ3R24",
# "versioning": False,
"versioning": True,
"source_repository": "https://github.com/rradules/momaland/",
"source_branch": "main",
"source_directory": "docs/",
Expand Down
2 changes: 0 additions & 2 deletions docs/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -53,8 +53,6 @@ Contribute to the Docs <https://github.com/rradules/momaland/tree/master/docs/>
An API standard for multi-objective multi-agent reinforcement learning (MOMARL)
```

# An API standard for multi-objective multi-agent reinforcement learning (MOMARL)

<!-- ```{figure} _static/img/environments-demo.gif TODO
:width: 480px
:name: MOMAland Environments
Expand Down
4 changes: 3 additions & 1 deletion docs/requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,7 @@ gymnasium
git+https://github.com/rradules/momaland
tqdm
sphinx
furo
sphinx-autobuild
myst-parser
sphinx_github_changelog
git+https://github.com/Farama-Foundation/Celshast#egg=furo

0 comments on commit 425091b

Please sign in to comment.