1
0
forked from IPKM/nmreval

fixes in grace export and work on fit dialog

This commit is contained in:
dominik
2022-04-12 18:45:30 +02:00
parent 74dacd0180
commit 4a18965580
26 changed files with 355 additions and 499 deletions

View File

@ -1,27 +0,0 @@
{{ objname | escape | underline}}
Import as {{ fullname }}
.. currentmodule:: {{ module }}
.. autoclass:: {{ objname }}
{% block methods %}
{% if methods %}
.. rubric:: {{ _('Methods') }}
.. autosummary::
:toctree:
{% for item in methods %}
{%- if not item.startswith('_') %}
~{{ name }}.{{ item }}
{%- endif %}
{%- endfor %}
{% endif %}
{% endblock %}
.. minigallery:: {{module}}.{{objname}}
:add-heading:

View File

@ -1,14 +1,27 @@
:mod:`{{ module | escape }}`.{{ objname }}
{{ underline }}==================
{{ fullname | escape | underline}}
.. currentmodule:: {{ module }}
.. autoclass:: {{ objname }}
:members:
:inherited-members:
.. include:: {{ fullname }}.examples
{% block methods %}
.. raw:: html
{% if methods %}
.. rubric:: {{ _('Methods') }}
<div class="clearer"></div>
{% for item in methods %}
.. automethod:: {{ item }}
{%- endfor %}
{% endif %}
{% endblock %}
{% block attributes %}
{% if attributes %}
.. rubric:: {{ _('Attributes') }}
.. autosummary::
{% for item in attributes %}
~{{ name }}.{{ item }}
{%- endfor %}
{% endif %}
{% endblock %}

View File

@ -1,33 +0,0 @@
{{ fullname | escape | underline}}
.. currentmodule:: {{ module }}
.. autoclass:: {{ objname }}
{%- block methods %}
{% if methods %}
.. rubric:: {{ _('Methods') }}
{%- for item in methods %}
{% if not item.startswith('_') %}
.. automethod:: {{ item }}
{%- endif %}
{%- endfor %}
{%- endif %}
{% endblock %}
{%- block attributes %}
{%- if attributes %}
.. rubric:: {{ _('Attributes') }}
{% for item in attributes %}
.. autoattribute:: {{ item }}
{%- endfor %}
{% endif %}
{% endblock -%}
.. include:: {{ fullname }}.examples
.. raw:: html
<div class="clearer"></div>

View File

@ -1,4 +1,5 @@
.. automodule:: nmreval.distributions
:no-members:
:no-inherited-members:
:no-special-members:
:members:
:inherited-members:
:undoc-members:

View File

@ -1,4 +1,2 @@
.. automodule:: nmreval.models
:no-members:
:no-inherited-members:
:no-special-members:
:members:

View File

@ -39,7 +39,6 @@ version = release
extensions = [
'sphinx.ext.autodoc',
'sphinx.ext.autosummary',
'sphinx.ext.inheritance_diagram',
'sphinx.ext.napoleon',
'sphinx.ext.viewcode',
'sphinx.ext.intersphinx',
@ -55,14 +54,13 @@ intersphinx_mapping = {
'matplotlib': ('https://matplotlib.org/stable', None),
}
# autodoc options
# # autodoc options
autodoc_typehints = 'none'
autodoc_class_signature = 'separated'
autoclass_content = 'class'
autodoc_member_order = 'groupwise'
# autodoc_default_options = {'members': False, 'inherited-members': False}
# autosummay options
#
# # autosummay options
autosummary_generate = True
# spinx-gallery