Skip to content

Commit

Permalink
conf.py
Browse files Browse the repository at this point in the history
  • Loading branch information
SermetPekin committed Aug 7, 2024
1 parent c55e44a commit dd7cc4f
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 12 deletions.
22 changes: 11 additions & 11 deletions docs/source/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -68,14 +68,14 @@
logger = logging.getLogger(__name__)


def linkcode_resolve(domain, info):
"""
Resolve the link to the source code for documentation.
"""
print(domain, info, "Domain info ")
if domain != "py":
return None
if not info["module"]:
return None
filename = info["module"].replace(".", "/")
return f"https://github.com/SermetPekin/evdschat/{filename}.py"
# def linkcode_resolve(domain, info):
# """
# Resolve the link to the source code for documentation.
# """
# print(domain, info, "Domain info ")
# if domain != "py":
# return None
# if not info["module"]:
# return None
# filename = info["module"].replace(".", "/")
# return f"https://github.com/SermetPekin/evdschat/{filename}.py"
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[tool.poetry]
name = "evdschat"
version = "0.1.2"
version = "0.1.3"
description = "evdschat"
authors = ["sermet.pekin <[email protected]>"]
license = "CC BY-NC 4.0"
Expand Down

0 comments on commit dd7cc4f

Please sign in to comment.