Skip to content

Commit

Permalink
updated github action
Browse files Browse the repository at this point in the history
  • Loading branch information
marcorusc committed Oct 29, 2024
1 parent 47aab09 commit d0feee2
Show file tree
Hide file tree
Showing 4 changed files with 2,110 additions and 11 deletions.
8 changes: 3 additions & 5 deletions .github/workflows/sphinx_autodoc.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -30,17 +30,15 @@ jobs:

- name: Install dependencies
run: |
poetry config virtualenvs.create false
poetry install --no-interaction
- name: Install external dependencies
- name: Verify `neko` package installation
run: |
pip install -r https://raw.githubusercontent.com/sysbio-curie/Neko/main/requirements.txt
poetry run python -c "from neko.core.network import Network; print('Network module imported successfully')"
- name: Build documentation
run: |
cd docs
poetry run make html
poetry run sphinx-build -b html docs docs/_build/html -v
- name: Debug information
run: |
Expand Down
4 changes: 2 additions & 2 deletions docs/src/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@

here = pathlib.Path(__file__).parent
sys.path.insert(0, str(here.parent))
sys.path.insert(0, os.path.abspath('../../'))
sys.path.insert(0, os.path.abspath('../..'))

from neko._metadata import __version__, __author__ # noqa: E402

Expand Down Expand Up @@ -125,7 +125,7 @@
# 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 = ['../src/_static']
html_static_path = ['./_static']

html_show_sphinx = False
html_logo = 'neko_logo.png'
Expand Down
Loading

0 comments on commit d0feee2

Please sign in to comment.