mirror of
https://github.com/Hopiu/django-select2.git
synced 2026-03-16 21:40:23 +00:00
Set Sphinx project settings in conf.py file
This commit is contained in:
parent
fa9d8baba8
commit
2bb6f3a974
2 changed files with 5 additions and 2 deletions
|
|
@ -16,8 +16,13 @@ sys.path.insert(0, os.path.abspath('../tests.testapp'))
|
|||
sys.path.insert(0, os.path.abspath('..'))
|
||||
|
||||
|
||||
project = "Django-Select2"
|
||||
author = "Johannes Hoppe"
|
||||
copyright = "2017, Johannes Hoppe"
|
||||
release = get_distribution('django_select2').version
|
||||
version = '.'.join(release.split('.')[:2])
|
||||
|
||||
|
||||
master_doc = 'index' # default in Sphinx v2
|
||||
|
||||
|
||||
|
|
|
|||
|
|
@ -47,8 +47,6 @@ test = pytest
|
|||
[build_sphinx]
|
||||
source-dir = docs
|
||||
build-dir = docs/_build
|
||||
project = Django-Select2
|
||||
copyright = 2017 Johannes Hoppe
|
||||
|
||||
[tool:pytest]
|
||||
addopts = --cov=django_select2 --cov-report xml
|
||||
|
|
|
|||
Loading…
Reference in a new issue