Skip to content

Commit

Permalink
Docs update (#424)
Browse files Browse the repository at this point in the history
  • Loading branch information
TheBurchLog authored Nov 16, 2023
1 parent 716440c commit 531256c
Show file tree
Hide file tree
Showing 6 changed files with 17 additions and 6 deletions.
4 changes: 2 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -127,9 +127,9 @@ docker-build:

# Documentation
docs-deps: deps ## install dependencies for documentation
pip install -c requirements.txt sphinx sphinx_rtd_theme
pip install "sphinx~=6.2.1" sphinx_rtd_theme

docs: ## generate Sphinx HTML documentation, including API docs
docs: docs-deps ## generate Sphinx HTML documentation, including API docs
sphinx-apidoc -o docs/ $(MODULE_NAME)
$(MAKE) -C docs html

Expand Down
2 changes: 2 additions & 0 deletions brewtils/decorators.py
Original file line number Diff line number Diff line change
Expand Up @@ -119,6 +119,8 @@ def echo_json(self, message):
icon_name: The icon name. Should be either a FontAwesome or a Glyphicon name.
hidden: Flag controlling whether the command is visible on the user interface.
metadata: Free-form dictionary
allow_any_kwargs: Flag controlling whether passed kwargs will be restricted to
the Command parameters defined.
Returns:
The decorated function
Expand Down
4 changes: 3 additions & 1 deletion brewtils/rest/publish_client.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,9 @@
class PublishClient(object):
"""High-level client for publishing requests on Beer-garden topics.
**Topics are internal routing values for Beer Garden. These are not RabbitMQ/Pika topics.**
Please Note:
Topics are internal routing values for Beer Garden.
These are not RabbitMQ/Pika topics.
PublishClient creation:
This class is intended to be the main way to create Beer-garden topic based requests.
Expand Down
2 changes: 1 addition & 1 deletion docs/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ BUILDDIR = _build

# User-friendly check for sphinx-build
ifeq ($(shell which $(SPHINXBUILD) >/dev/null 2>&1; echo $$?), 1)
$(error The '$(SPHINXBUILD)' command was not found. Make sure you have Sphinx installed, then set the SPHINXBUILD environment variable to point to the full path of the '$(SPHINXBUILD)' executable. Alternatively you can add the directory with the executable to your PATH. If you don't have Sphinx installed, grab it from http://sphinx-doc.org/)
$(error The '$(SPHINXBUILD)' command was not found. Make sure you have Sphinx installed, then set the SPHINXBUILD environment variable to point to the full path of the '$(SPHINXBUILD)' executable. Alternatively you can add the directory with the executable to your PATH. If you don't have Sphinx installed, grab it from http://sphinx-doc.org/. Or pip install -U "sphinx~=6.2.1")
endif

# Internal variables.
Expand Down
9 changes: 8 additions & 1 deletion docs/brewtils.rest.rst
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,14 @@ brewtils.rest.easy\_client module
:undoc-members:
:show-inheritance:

brewtils.rest.publish\_client module
------------------------------------

.. automodule:: brewtils.rest.publish_client
:members:
:undoc-members:
:show-inheritance:

brewtils.rest.system\_client module
-----------------------------------

Expand All @@ -28,7 +36,6 @@ brewtils.rest.system\_client module
:undoc-members:
:show-inheritance:


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

Expand Down
2 changes: 1 addition & 1 deletion requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
-e .

# Documentation Dependencies
sphinx < 4
sphinx ~= 6.2.1
sphinx_rtd_theme < 1

# Test and Lint Dependencies
Expand Down

0 comments on commit 531256c

Please sign in to comment.