Skip to content

Commit

Permalink
fix docs
Browse files Browse the repository at this point in the history
  • Loading branch information
yusuke-takase committed Nov 8, 2024
1 parent 3ffd17c commit e0e2e85
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 5 deletions.
6 changes: 3 additions & 3 deletions docs/source/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@
import toml

module_path = os.path.abspath(os.path.join('..','..','grasp2alm'))
pyproject_path = os.path.abspath(os.path.join('..','..','pyproject.toml'))
sys.path.insert(0, module_path)
pyproject_path = os.path.abspath(os.path.join('..','..','pyproject.toml'))

with open(pyproject_path, 'r') as f:
pyproject_data = toml.load(f)
Expand All @@ -19,8 +19,8 @@

project = 'grasp2alm'
copyright = '2024, Yusuke Takase'
author = pyproject_data['tool']['poetry']['authors']
release = pyproject_data['tool']['poetry']['version']
author = "Yusuke Takase"
#release = pyproject_data['tool']['poetry']['version']

# -- General configuration ---------------------------------------------------
# https://www.sphinx-doc.org/en/master/usage/configuration.html#general-configuration
Expand Down
3 changes: 1 addition & 2 deletions grasp2alm/version.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,7 @@
import os
import toml

module_path = os.path.abspath(os.path.join('..','grasp2alm'))
pyproject_path = os.path.join(module_path, 'pyproject.toml')
pyproject_path = os.path.join(os.path.join('..','pyproject.toml'))
with open(pyproject_path, 'r') as f:
pyproject_data = toml.load(f)

Expand Down

0 comments on commit e0e2e85

Please sign in to comment.