section_data_elements.py 1.3 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647
  1. from nicegui import optional_features
  2. from . import (
  3. aggrid_documentation,
  4. circular_progress_documentation,
  5. code_documentation,
  6. doc,
  7. echart_documentation,
  8. editor_documentation,
  9. highchart_documentation,
  10. json_editor_documentation,
  11. leaflet_documentation,
  12. line_plot_documentation,
  13. linear_progress_documentation,
  14. log_documentation,
  15. matplotlib_documentation,
  16. plotly_documentation,
  17. pyplot_documentation,
  18. scene_documentation,
  19. spinner_documentation,
  20. table_documentation,
  21. tree_documentation,
  22. )
  23. doc.title('*Data* Elements')
  24. doc.intro(table_documentation)
  25. doc.intro(aggrid_documentation)
  26. if optional_features.has('highcharts'):
  27. doc.intro(highchart_documentation)
  28. doc.intro(echart_documentation)
  29. if optional_features.has('matplotlib'):
  30. doc.intro(pyplot_documentation)
  31. doc.intro(matplotlib_documentation)
  32. doc.intro(line_plot_documentation)
  33. if optional_features.has('plotly'):
  34. doc.intro(plotly_documentation)
  35. doc.intro(linear_progress_documentation)
  36. doc.intro(circular_progress_documentation)
  37. doc.intro(spinner_documentation)
  38. doc.intro(scene_documentation)
  39. doc.intro(leaflet_documentation)
  40. doc.intro(tree_documentation)
  41. doc.intro(log_documentation)
  42. doc.intro(editor_documentation)
  43. doc.intro(code_documentation)
  44. doc.intro(json_editor_documentation)