Open SvenHinrichs opened 1 year ago
this file is located in bim2sim/docs/utilities/plugindiagram
functions like generate_plugin_structure_fig()
solution: run sphinx-apidoc -M -o source/code utilities and add code/utilities to index.rst
@DaJansenGit: is this a solution for the problem you described above?
when run make html (loacally)
ThermalZone
from bim2sim.plugins.PluginEnergyPlus.bim2sim_energyplus.task.ep_create_idf.CreateIdf.set_equipment
possible "links"
bim2sim.elements.bps_elements.ThermalZone,
bim2sim.plugins.PluginTEASER.bim2sim_teaser.models.ThermalZone,
bim2sim.utilities.visualize_spaces.ThermalZone
same Warning also for
from bim2sim.plugins.PluginEnergyPlus.bim2sim_energyplus.task.ep_create_idf.CreateIdf.set_lights
from bim2sim.plugins.PluginEnergyPlus.bim2sim_energyplus.task.ep_create_idf.CreateIdf.set_people
research:
strange: in the that class in other methodes spaces are defined in the same way
all functions who trigger this Warning the pylint returns too many arguments (these functions have args > 5 (they have 6 args)
Window
[x] understand the warning
[x] find out howto solve
warning not occur. when run make html the second time after make clean
furthermore, when replace ThermalZone by bim2sim.elements.bps_elements.ThermalZone (in Args specification) the warning is gone
deactivate pylint error to many args by # pylint: disable=too-many-arguments dont remove the warning
@veronikarichter is setup() / setup.py still needed?
most content is included into the new conf.py (from the conf.py of the development branch)
included extensions:
further config content not included
'# autosummary_generate = True
doctest_path = [os.path.abspath('../../bim2sim/'), os.path.abspath('../utilities/plugindiagram')]
This currently works on local systems but for some reason not in the CI. We will try this again with the new pyproject.toml installation and see if the problem persists.
At least in some plugins the doc strings are not shown in the sphinx rendered docs: Link to cooresponding docs