From 22fbec011c1f0bea03ee00d640cfce2a16ccf107 Mon Sep 17 00:00:00 2001 From: "V. Armando Sole" Date: Fri, 9 Aug 2024 15:24:52 +0200 Subject: [PATCH] Get rid of Sphinx warnings. --- PyMca5/PyMcaPlugins/AdvancedAlignmentScanPlugin.py | 6 +++--- doc/source/customization/plugins/plugins1d.rst | 2 +- doc/source/customization/plugins/stackplugins.rst | 2 +- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/PyMca5/PyMcaPlugins/AdvancedAlignmentScanPlugin.py b/PyMca5/PyMcaPlugins/AdvancedAlignmentScanPlugin.py index 7958aa03e..275465896 100644 --- a/PyMca5/PyMcaPlugins/AdvancedAlignmentScanPlugin.py +++ b/PyMca5/PyMcaPlugins/AdvancedAlignmentScanPlugin.py @@ -1,5 +1,5 @@ #/*########################################################################## -# Copyright (C) 2004-2023 European Synchrotron Radiation Facility +# Copyright (C) 2004-2024 European Synchrotron Radiation Facility # # This file is part of the PyMca X-ray Fluorescence Toolkit developed at # the ESRF. @@ -60,8 +60,8 @@ units of the plot windows x-axis. While columns one and two can not be edited, shift values -can be entered by hand. Another way of setting the shift values is to load them from a existing -*.shift file using the Load button. +can be entered by hand. Another way of setting the shift values is to load them from a +existing .shift file using the Load button. Once the shift values are set, they can either be directly applied to the data present in the plot window, using the *Apply* button, or the data can be stored in memory. The latter options allow diff --git a/doc/source/customization/plugins/plugins1d.rst b/doc/source/customization/plugins/plugins1d.rst index 14bd21763..755027743 100644 --- a/doc/source/customization/plugins/plugins1d.rst +++ b/doc/source/customization/plugins/plugins1d.rst @@ -18,7 +18,7 @@ Overview .. autoclass:: Plugin1DBase :members: -.. autoattribute:: MENU_TEXT +.. autodata:: MENU_TEXT .. autofunction:: getPlugin1DInstance diff --git a/doc/source/customization/plugins/stackplugins.rst b/doc/source/customization/plugins/stackplugins.rst index b7e8bfaa5..8f19d9391 100644 --- a/doc/source/customization/plugins/stackplugins.rst +++ b/doc/source/customization/plugins/stackplugins.rst @@ -18,7 +18,7 @@ Stack plugin API .. autoclass:: StackPluginBase :members: -.. autoattribute:: MENU_TEXT +.. autodata:: MENU_TEXT .. autofunction:: getStackPluginInstance