From a2c08ae2113a1bc650e7e07f6260b2ee76923311 Mon Sep 17 00:00:00 2001 From: Dario Coscia <93731561+dario-coscia@users.noreply.github.com> Date: Wed, 26 Feb 2025 19:27:46 +0100 Subject: [PATCH] update toml + doc (#467) --- docs/source/conf.py | 10 ++++------ pyproject.toml | 3 +++ 2 files changed, 7 insertions(+), 6 deletions(-) diff --git a/docs/source/conf.py b/docs/source/conf.py index d561030..3e630f9 100644 --- a/docs/source/conf.py +++ b/docs/source/conf.py @@ -1,6 +1,6 @@ # -*- coding: utf-8 -*- # -# pydmd documentation build configuration file, created by +# PINA documentation build configuration file, created by # sphinx-quickstart on Mon Jun 22 16:09:40 2015. # # This file is execfile()d with the current directory set to its @@ -72,17 +72,15 @@ numpydoc_show_class_members = False intersphinx_mapping = { 'python': ('http://docs.python.org/3', None), - # 'numpy': ('http://docs.scipy.org/doc/numpy/', None), - # 'scipy': ('http://docs.scipy.org/doc/scipy/reference/', None), 'matplotlib': ('https://matplotlib.org/stable', None), 'torch': ('https://pytorch.org/docs/stable/', None), - 'pytorch_lightning': ("https://lightning.ai/docs/pytorch/stable/", None), + 'lightning.pytorch': ("https://lightning.ai/docs/pytorch/stable/", None), } nitpicky = True nitpick_ignore = [ - ('py:meth', 'pytorch_lightning.core.module.LightningModule.log'), - ('py:meth', 'pytorch_lightning.core.module.LightningModule.log_dict'), + ('py:meth', 'lightning.pytorch.core.module.LightningModule.log'), + ('py:meth', 'lightning.pytorch.core.module.LightningModule.log_dict'), ('py:exc', 'MisconfigurationException'), ('py:func', 'torch.inference_mode'), ('py:func', 'torch.no_grad'), diff --git a/pyproject.toml b/pyproject.toml index caf1099..5ea7fc5 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -37,6 +37,9 @@ test = [ dev = [ "black @ git+https://github.com/psf/black" ] +tutorials = [ + "smithers @ git+https://github.com/mathLab/smithers.git", +] [project.urls] Homepage = "https://mathlab.github.io/PINA/"