Skip to content

Commit

Permalink
fix: update sphinx configuration and requirements.txt
Browse files Browse the repository at this point in the history
  • Loading branch information
ssato committed Jan 28, 2024
1 parent 7b041a0 commit 97c10e1
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 6 deletions.
15 changes: 9 additions & 6 deletions docs/conf.py
Original file line number Diff line number Diff line change
@@ -1,19 +1,22 @@
# -*- coding: utf-8 -*-
#
# pylint:disable=invalid-name
"""conf.py for sphinx."""
import sys
import os
import pathlib

sys.path.insert(0, os.path.abspath(os.path.join(os.path.dirname(__file__),
os.path.pardir)))
sys.path.insert(0, str(pathlib.Path(__file__).parent.resolve() / 'src'))

extensions = ['sphinx.ext.autodoc']
extensions = [
'sphinx.ext.autodoc',
'sphinx_autodoc_typehints'
]
source_suffix = '.rst'
master_doc = 'index'

project = u'python-anyconfig-configobj-backend'
copyright = u'2015, Satoru SATOH <satoru.satoh@gmail.com>'
version = '0.0.4'
copyright = u'2024, Satoru SATOH <satoru.satoh@gmail.com>'
version = '0.2.0'
release = version

exclude_patterns = []
Expand Down
3 changes: 3 additions & 0 deletions docs/requirements.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
pydocstyle
sphinx
sphinx_autodoc_typehints

0 comments on commit 97c10e1

Please sign in to comment.