Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

switch to pyproject, modernize everything #159

Merged
merged 25 commits into from
Jan 6, 2025
Merged

switch to pyproject, modernize everything #159

merged 25 commits into from
Jan 6, 2025

Conversation

matthiasdiener
Copy link
Member

No description provided.

@matthiasdiener matthiasdiener self-assigned this Dec 18, 2024
doc/conf.py Outdated
Comment on lines 15 to 20
old_linkcode_resolve = linkcode_resolve # noqa: F821 (linkcode_resolve comes from the URL above)

# Add any Sphinx extension module names here, as strings. They can be
# extensions coming with Sphinx (named 'sphinx.ext.*') or your custom
# ones.
extensions = [
"sphinx.ext.autodoc",
"sphinx.ext.doctest",
"sphinx.ext.intersphinx",
"sphinx.ext.mathjax",
"sphinx.ext.todo",
"sphinx.ext.viewcode",
"sphinx.ext.napoleon",
"sphinx_copybutton",
]
autoclass_content = "class"
# autodoc_typehints = "description"

# Add any paths that contain templates here, relative to this directory.
templates_path = ["_templates"]
def lc(domain, info):
linkcode_url = "https://github.com/illinois-ceesd/logpyle/blob/main/{filepath}#L{linestart}-L{linestop}"
return old_linkcode_resolve(domain, info, linkcode_url=linkcode_url)
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is there a better way to adjust the linkcode_url @inducer?

@matthiasdiener matthiasdiener changed the title switch to pyproject switch to pyproject, modernize everything Dec 22, 2024
@matthiasdiener matthiasdiener marked this pull request as ready for review December 22, 2024 12:28
@matthiasdiener matthiasdiener merged commit 0470b06 into main Jan 6, 2025
18 checks passed
@matthiasdiener matthiasdiener deleted the pyproject branch January 6, 2025 16:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant