Skip to content

Commit

Permalink
Merge pull request #3 from MaxBQb/dev
Browse files Browse the repository at this point in the history
Merge dev into master
  • Loading branch information
MaxBQb authored Jul 27, 2022
2 parents 85a1410 + 9ed8670 commit ed04ceb
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 9 deletions.
3 changes: 2 additions & 1 deletion docs/requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,5 @@ sphinx-rtd-theme==1.0.0
Sphinx==4.5.0
sphinx-design==0.2.0
sphinx-toolbox==3.1.2
sphinx-hoverxref==1.1.3
sphinx-hoverxref==1.1.3
toml==0.10.2
14 changes: 8 additions & 6 deletions docs/source/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,18 +12,20 @@
#
import os
import sys
import toml
sys.path.insert(0, os.path.abspath(os.path.join('..', '..')))


# -- Project information -----------------------------------------------------
metadata = toml.load(os.path.normpath('../../pyproject.toml'))

project = 'WinMagnification'
project = metadata['project']['name']
author = metadata['project']['authors'][0]['name']
# noinspection PyShadowingBuiltins
copyright = '2022, MaxBQb'
author = 'MaxBQb'
copyright = f'2022, {author}'

# The full version, including alpha/beta/rc tags
release = '0.0.1'
release = metadata['project']['version']


# -- General configuration ---------------------------------------------------
Expand All @@ -47,8 +49,8 @@
'sphinx.ext.autodoc',
'sphinx.ext.autosummary',
]
github_username = 'MaxBQb'
github_repository = 'WinMagnification'
github_username = author
github_repository = project
add_module_names = False
hoverxref_auto_ref = True
hoverxref_domains = ['py']
Expand Down
4 changes: 2 additions & 2 deletions pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[project]
name = "WinMagnification"
version = "0.0.1"
version = "0.1.0"
authors = [
{ name="MaxBQb" },
]
Expand All @@ -22,7 +22,7 @@ classifiers = [
[project.urls]
"Homepage" = "https://github.com/MaxBQb/WinMagnification"
"Bug Tracker" = "https://github.com/MaxBQb/WinMagnification/issues"
"Documentation" = "https://winmagnification.readthedocs.io/en/latest/",
"Documentation" = "https://winmagnification.readthedocs.io/en/latest/"

[build-system]
requires = ["setuptools>=61.0"]
Expand Down

0 comments on commit ed04ceb

Please sign in to comment.