Skip to content

Commit

Permalink
fixed doc generation
Browse files Browse the repository at this point in the history
  • Loading branch information
rsnodgrass committed Feb 27, 2024
1 parent b03727b commit 8329342
Show file tree
Hide file tree
Showing 6 changed files with 11 additions and 33 deletions.
7 changes: 4 additions & 3 deletions docs/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -14,12 +14,13 @@ help:

.PHONY: help Makefile

update:
pip3 install -r ../requirements-dev.txt
# Update all the supported models from the library sources
update_supported_models:
pip3 install --quiet -r ../requirements-dev.txt
./update-supported-models

# Catch-all target: route all unknown targets to Sphinx using the new
# "make mode" option. $(O) is meant as a shortcut for $(SPHINXOPTS).
%: Makefile
%: Makefile update_supported_models
@$(SPHINXBUILD) -M $@ "$(SOURCEDIR)" "$(BUILDDIR)" $(SPHINXOPTS) $(O)

8 changes: 0 additions & 8 deletions docs/source/pyavcontrol.library.rst
Original file line number Diff line number Diff line change
Expand Up @@ -28,14 +28,6 @@ pyavcontrol.library.model module
:undoc-members:
:show-inheritance:

pyavcontrol.library.schema module
---------------------------------

.. automodule:: pyavcontrol.library.schema
:members:
:undoc-members:
:show-inheritance:

pyavcontrol.library.yaml\_library module
----------------------------------------

Expand Down
25 changes: 5 additions & 20 deletions docs/source/pyavcontrol.rst
Original file line number Diff line number Diff line change
Expand Up @@ -14,38 +14,23 @@ Subpackages
Submodules
----------

pyavcontrol.config module
pyavcontrol.helper module
-------------------------

.. automodule:: pyavcontrol.config
.. automodule:: pyavcontrol.helper
:members:
:undoc-members:
:show-inheritance:

pyavcontrol.const module
pyavcontrol.utils module
------------------------

.. automodule:: pyavcontrol.const
:members:
:undoc-members:
:show-inheritance:

pyavcontrol.core module
-----------------------

.. automodule:: pyavcontrol.core
:members:
:undoc-members:
:show-inheritance:

pyavcontrol.helper module
-------------------------

.. automodule:: pyavcontrol.helper
.. automodule:: pyavcontrol.utils
:members:
:undoc-members:
:show-inheritance:


Module contents
---------------

Expand Down
2 changes: 1 addition & 1 deletion pyavcontrol/client/base.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@

from ..config import CONFIG
from ..connection import DeviceConnection
from ..core import (
from ..utils import (
camel_case,
generate_docs_for_action,
missing_keys_in_dict,
Expand Down
File renamed without changes.
2 changes: 1 addition & 1 deletion test-dynamic-client.py
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@

from pyavcontrol import DeviceClient, DeviceModelLibrary
from pyavcontrol.connection import NullConnection
from pyavcontrol.core import (
from pyavcontrol.utils import (
camel_case,
extract_named_regex,
get_fstring_vars,
Expand Down

0 comments on commit 8329342

Please sign in to comment.