From 9e025fd299d65b3d03e58262ef787a99f44951f0 Mon Sep 17 00:00:00 2001 From: Vignesh Rao Date: Thu, 28 Nov 2024 18:22:44 -0600 Subject: [PATCH] Restructure disk summary for all OS --- doc_gen/index.rst | 14 +- docs/README.html | 2 +- docs/_sources/index.rst.txt | 14 +- docs/genindex.html | 83 ++++++++---- docs/index.html | 128 ++++++++++++++---- docs/objects.inv | Bin 2334 -> 2423 bytes docs/py-modindex.html | 17 ++- docs/searchindex.js | 2 +- pyninja/features/disks/__init__.py | 21 +++ pyninja/features/disks/linux.py | 41 ++++++ pyninja/features/{disks.py => disks/macOS.py} | 59 +------- .../features/{os_disks => disks}/windows.py | 120 ++++++++++------ pyninja/monitor/resources.py | 4 +- 13 files changed, 357 insertions(+), 148 deletions(-) create mode 100644 pyninja/features/disks/__init__.py create mode 100644 pyninja/features/disks/linux.py rename pyninja/features/{disks.py => disks/macOS.py} (62%) rename pyninja/features/{os_disks => disks}/windows.py (63%) diff --git a/doc_gen/index.rst b/doc_gen/index.rst index 0fc6c9f..5e3e556 100644 --- a/doc_gen/index.rst +++ b/doc_gen/index.rst @@ -65,7 +65,19 @@ CPU Disks ----- -.. automodule:: pyninja.features.disks +.. automodule:: pyninja.features.disks.__init__ + +Disks - Linux +------------- +.. automodule:: pyninja.features.disks.linux + +Disks - macOS +------------- +.. automodule:: pyninja.features.disks.macOS + +Disks - Windows +--------------- +.. automodule:: pyninja.features.disks.windows Docker ------ diff --git a/docs/README.html b/docs/README.html index 7eb3199..94aa6b2 100644 --- a/docs/README.html +++ b/docs/README.html @@ -4,7 +4,7 @@ - + PyNinja — PyNinja documentation diff --git a/docs/_sources/index.rst.txt b/docs/_sources/index.rst.txt index 0fc6c9f..5e3e556 100644 --- a/docs/_sources/index.rst.txt +++ b/docs/_sources/index.rst.txt @@ -65,7 +65,19 @@ CPU Disks ----- -.. automodule:: pyninja.features.disks +.. automodule:: pyninja.features.disks.__init__ + +Disks - Linux +------------- +.. automodule:: pyninja.features.disks.linux + +Disks - macOS +------------- +.. automodule:: pyninja.features.disks.macOS + +Disks - Windows +--------------- +.. automodule:: pyninja.features.disks.windows Docker ------ diff --git a/docs/genindex.html b/docs/genindex.html index 0ac0bed..6ef8367 100644 --- a/docs/genindex.html +++ b/docs/genindex.html @@ -78,28 +78,20 @@

_

  • _darwin() (in module pyninja.features.cpu)
  • + + -