Skip to content

Commit 08394e3

Browse files
committed
update config
1 parent bc4060f commit 08394e3

File tree

4 files changed

+10
-13
lines changed

4 files changed

+10
-13
lines changed

docs/conf.py

+6-5
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
import os
22
import sys
33
sys.path.insert(0, os.path.abspath('../src/epidemik/'))
4+
import epidemik
45

56
# Configuration file for the Sphinx documentation builder.
67
#
@@ -11,9 +12,9 @@
1112
# https://www.sphinx-doc.org/en/master/usage/configuration.html#project-information
1213

1314
project = 'epidemik'
14-
copyright = '2024, Bruno Goncalves'
15-
author = 'Bruno Goncalves'
16-
release = '0.0.20'
15+
copyright = '2024, Bruno Gonçalves'
16+
author = 'Bruno Gonçalves'
17+
release = epidemik.__version__
1718

1819
# -- General configuration ---------------------------------------------------
1920
# https://www.sphinx-doc.org/en/master/usage/configuration.html#general-configuration
@@ -33,12 +34,12 @@
3334
html_theme = 'sphinx_rtd_theme'
3435
html_static_path = ['_static']
3536
html_theme_options = {
36-
'analytics_id': 'G-XXXXXXXXXX', # Provided by Google in your dashboard
37+
'analytics_id': 'G-HKWS10TRJ1',
3738
'analytics_anonymize_ip': False,
3839
'logo_only': False,
3940
'display_version': True,
4041
'prev_next_buttons_location': 'bottom',
41-
'style_external_links': False,
42+
'style_external_links': True,
4243
'vcs_pageview_mode': '',
4344
'style_nav_header_background': 'white',
4445
# Toc options

docs/requirements.txt

+1-6
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,3 @@
1-
matplotlib>=3.3
2-
networkx>=3
3-
numpy>=1.2
4-
pandas>=2.0
5-
scipy>=1.10
6-
tqdm>=4
71
sphinx
82
sphinx_rtd_theme
3+
epidemik

pyproject.toml

+2-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ dynamic = ["version"]
44
authors = [
55
{ name="Bruno Gonçalves", email="[email protected]" },
66
]
7-
description = "A pakage to simulate compartmental epidemic models"
7+
description = "A package to simulate compartmental epidemic models"
88
readme = "README.md"
99
requires-python = ">=3.8"
1010
classifiers = [
@@ -23,6 +23,7 @@ dependencies = [
2323
[project.urls]
2424
Homepage = "https://github.com/DataForScience/epidemik"
2525
Issues = "https://github.com/DataForScience/epidemik/issues"
26+
Documentation = "https://epidemik.readthedocs.io/"
2627

2728
[build-system]
2829
requires = ["setuptools>=61.0"]

src/epidemik/__init__.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -12,4 +12,4 @@
1212
from .NetworkEpiModel import NetworkEpiModel
1313
from .MetaEpiModel import MetaEpiModel
1414

15-
__version__ = "0.0.20"
15+
__version__ = "0.0.21"

0 commit comments

Comments
 (0)