Skip to content

Commit

Permalink
Merge pull request #84 from Chilipp/versioneer
Browse files Browse the repository at this point in the history
install versioneer
  • Loading branch information
Chilipp authored Jan 15, 2023
2 parents 96c5c2e + f631218 commit e06ce19
Show file tree
Hide file tree
Showing 5 changed files with 679 additions and 4 deletions.
1 change: 1 addition & 0 deletions .gitattributes
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
autodocsumm/_version.py export-subst
7 changes: 5 additions & 2 deletions autodocsumm/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -39,8 +39,6 @@

__status__ = "Production"

__version__ = '0.2.9'

from itertools import chain

from sphinx.util import logging
Expand Down Expand Up @@ -88,6 +86,9 @@ def force_decode(string: str, encoding: str) -> str:
except ImportError:
from ordereddict import OrderedDict

from . import _version
__version__ = _version.get_versions()['version']


logger = logging.getLogger(__name__)

Expand Down Expand Up @@ -664,3 +665,5 @@ def setup(app):
app.add_config_value('document_data', True, True)
app.add_config_value('not_document_data', [], True)
return {'version': sphinx.__display_version__, 'parallel_read_safe': True}


Loading

0 comments on commit e06ce19

Please sign in to comment.