Skip to content

Commit

Permalink
Merge branch 'main' of github.com:hesic73/gomoku_rl
Browse files Browse the repository at this point in the history
  • Loading branch information
hesic73 committed Mar 1, 2024
2 parents 6fe1b31 + 77a2626 commit 4087b3a
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 6 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,11 @@ jobs:
runs-on: ubuntu-22.04
steps:
- id: deployment
uses: sphinx-notes/pages@v3
uses: hesic73/pages@v3
with:
publish: false
module_path: gomoku_rl
- uses: peaceiris/actions-gh-pages@v3
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ${{ steps.deployment.outputs.artifact }}
publish_dir: ${{ steps.deployment.outputs.artifact }}
9 changes: 5 additions & 4 deletions docs/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,10 @@
# add these directories to sys.path here. If the directory is relative to the
# documentation root, use os.path.abspath to make it absolute, like shown here.
#
# import os
# import sys
# sys.path.insert(0, os.path.abspath('.'))
import os
import sys
print(f"Add {os.path.abspath('..')} to sys.path.")
sys.path.insert(0, os.path.abspath('..'))


# -- Project information -----------------------------------------------------
Expand Down Expand Up @@ -72,4 +73,4 @@
# Add any paths that contain custom static files (such as style sheets) here,
# relative to this directory. They are copied after the builtin static files,
# so a file named "default.css" will overwrite the builtin "default.css".
html_static_path = ['_static']
html_static_path = ['_static']

0 comments on commit 4087b3a

Please sign in to comment.