diff --git a/.docs/Makefile b/.docs/Makefile new file mode 100644 index 0000000..d4bb2cb --- /dev/null +++ b/.docs/Makefile @@ -0,0 +1,20 @@ +# Minimal makefile for Sphinx documentation +# + +# You can set these variables from the command line, and also +# from the environment for the first two. +SPHINXOPTS ?= +SPHINXBUILD ?= sphinx-build +SOURCEDIR = . +BUILDDIR = _build + +# Put it first so that "make" without argument is like "make help". +help: + @$(SPHINXBUILD) -M help "$(SOURCEDIR)" "$(BUILDDIR)" $(SPHINXOPTS) $(O) + +.PHONY: help Makefile + +# Catch-all target: route all unknown targets to Sphinx using the new +# "make mode" option. $(O) is meant as a shortcut for $(SPHINXOPTS). +%: Makefile + @$(SPHINXBUILD) -M $@ "$(SOURCEDIR)" "$(BUILDDIR)" $(SPHINXOPTS) $(O) diff --git a/.docs/_autosummary/opnsense_helper.rst b/.docs/_autosummary/opnsense_helper.rst new file mode 100644 index 0000000..4bafc77 --- /dev/null +++ b/.docs/_autosummary/opnsense_helper.rst @@ -0,0 +1,6 @@ +opnsense\_helper +================ + +.. currentmodule:: opnsense_helper + +.. automodule:: opnsense_helper \ No newline at end of file diff --git a/.docs/_build/doctrees/_autosummary/opnsense_helper.doctree b/.docs/_build/doctrees/_autosummary/opnsense_helper.doctree new file mode 100644 index 0000000..d58898d Binary files /dev/null and b/.docs/_build/doctrees/_autosummary/opnsense_helper.doctree differ diff --git a/.docs/_build/doctrees/environment.pickle b/.docs/_build/doctrees/environment.pickle new file mode 100644 index 0000000..146a7d5 Binary files /dev/null and b/.docs/_build/doctrees/environment.pickle differ diff --git a/.docs/_build/doctrees/index.doctree b/.docs/_build/doctrees/index.doctree new file mode 100644 index 0000000..855340e Binary files /dev/null and b/.docs/_build/doctrees/index.doctree differ diff --git a/.docs/_build/doctrees/opnsense_helper.doctree b/.docs/_build/doctrees/opnsense_helper.doctree new file mode 100644 index 0000000..d699404 Binary files /dev/null and b/.docs/_build/doctrees/opnsense_helper.doctree differ diff --git a/.docs/_build/doctrees/opnsense_helper/opnsense_helper.commands.commands.doctree b/.docs/_build/doctrees/opnsense_helper/opnsense_helper.commands.commands.doctree new file mode 100644 index 0000000..cdf56de Binary files /dev/null and b/.docs/_build/doctrees/opnsense_helper/opnsense_helper.commands.commands.doctree differ diff --git a/.docs/_build/doctrees/opnsense_helper/opnsense_helper.commands.doctree b/.docs/_build/doctrees/opnsense_helper/opnsense_helper.commands.doctree new file mode 100644 index 0000000..9e1b518 Binary files /dev/null and b/.docs/_build/doctrees/opnsense_helper/opnsense_helper.commands.doctree differ diff --git a/.docs/_build/doctrees/opnsense_helper/opnsense_helper.config_manager.config_manager.doctree b/.docs/_build/doctrees/opnsense_helper/opnsense_helper.config_manager.config_manager.doctree new file mode 100644 index 0000000..dbf5383 Binary files /dev/null and b/.docs/_build/doctrees/opnsense_helper/opnsense_helper.config_manager.config_manager.doctree differ diff --git a/.docs/_build/doctrees/opnsense_helper/opnsense_helper.config_manager.doctree b/.docs/_build/doctrees/opnsense_helper/opnsense_helper.config_manager.doctree new file mode 100644 index 0000000..6f30e8b Binary files /dev/null and b/.docs/_build/doctrees/opnsense_helper/opnsense_helper.config_manager.doctree differ diff --git a/.docs/_build/doctrees/opnsense_helper/opnsense_helper.doctree b/.docs/_build/doctrees/opnsense_helper/opnsense_helper.doctree new file mode 100644 index 0000000..6a61d3f Binary files /dev/null and b/.docs/_build/doctrees/opnsense_helper/opnsense_helper.doctree differ diff --git a/.docs/_build/doctrees/opnsense_helper/opnsense_helper.opnsense_helper.doctree b/.docs/_build/doctrees/opnsense_helper/opnsense_helper.opnsense_helper.doctree new file mode 100644 index 0000000..7ae1177 Binary files /dev/null and b/.docs/_build/doctrees/opnsense_helper/opnsense_helper.opnsense_helper.doctree differ diff --git a/.docs/_build/doctrees/opnsense_helper/opnsense_helper.scripts.doctree b/.docs/_build/doctrees/opnsense_helper/opnsense_helper.scripts.doctree new file mode 100644 index 0000000..9636109 Binary files /dev/null and b/.docs/_build/doctrees/opnsense_helper/opnsense_helper.scripts.doctree differ diff --git a/.docs/_build/doctrees/opnsense_helper/opnsense_helper.scripts.scripts.doctree b/.docs/_build/doctrees/opnsense_helper/opnsense_helper.scripts.scripts.doctree new file mode 100644 index 0000000..743f412 Binary files /dev/null and b/.docs/_build/doctrees/opnsense_helper/opnsense_helper.scripts.scripts.doctree differ diff --git a/.docs/_build/doctrees/opnsense_helper/opnsense_helper.utils.baseclass.doctree b/.docs/_build/doctrees/opnsense_helper/opnsense_helper.utils.baseclass.doctree new file mode 100644 index 0000000..c475428 Binary files /dev/null and b/.docs/_build/doctrees/opnsense_helper/opnsense_helper.utils.baseclass.doctree differ diff --git a/.docs/_build/doctrees/opnsense_helper/opnsense_helper.utils.doctree b/.docs/_build/doctrees/opnsense_helper/opnsense_helper.utils.doctree new file mode 100644 index 0000000..1a200e9 Binary files /dev/null and b/.docs/_build/doctrees/opnsense_helper/opnsense_helper.utils.doctree differ diff --git a/.docs/_build/doctrees/opnsense_helper/opnsense_helper.utils.exec_class.doctree b/.docs/_build/doctrees/opnsense_helper/opnsense_helper.utils.exec_class.doctree new file mode 100644 index 0000000..e9a047c Binary files /dev/null and b/.docs/_build/doctrees/opnsense_helper/opnsense_helper.utils.exec_class.doctree differ diff --git a/.docs/_build/doctrees/opnsense_helper/opnsense_helper.utils.frontend_utils.doctree b/.docs/_build/doctrees/opnsense_helper/opnsense_helper.utils.frontend_utils.doctree new file mode 100644 index 0000000..48468b3 Binary files /dev/null and b/.docs/_build/doctrees/opnsense_helper/opnsense_helper.utils.frontend_utils.doctree differ diff --git a/.docs/_build/doctrees/opnsense_helper/opnsense_helper.utils.utils.doctree b/.docs/_build/doctrees/opnsense_helper/opnsense_helper.utils.utils.doctree new file mode 100644 index 0000000..380befd Binary files /dev/null and b/.docs/_build/doctrees/opnsense_helper/opnsense_helper.utils.utils.doctree differ diff --git a/.docs/_build/html/.buildinfo b/.docs/_build/html/.buildinfo new file mode 100644 index 0000000..703db68 --- /dev/null +++ b/.docs/_build/html/.buildinfo @@ -0,0 +1,4 @@ +# Sphinx build info version 1 +# This file hashes the configuration used when building these files. When it is not found, a full rebuild will be done. +config: 8247d805a62aff7d248fb9f140f8e488 +tags: 645f666f9bcd5a90fca523b33c5a78b7 diff --git a/.docs/_build/html/_autosummary/opnsense_helper.html b/.docs/_build/html/_autosummary/opnsense_helper.html new file mode 100644 index 0000000..172e65c --- /dev/null +++ b/.docs/_build/html/_autosummary/opnsense_helper.html @@ -0,0 +1,104 @@ + + + +
+ + + +' + + '' + + _("Hide Search Matches") + + "
" + ) + ); + }, + + /** + * helper function to hide the search marks again + */ + hideSearchWords: () => { + document + .querySelectorAll("#searchbox .highlight-link") + .forEach((el) => el.remove()); + document + .querySelectorAll("span.highlighted") + .forEach((el) => el.classList.remove("highlighted")); + localStorage.removeItem("sphinx_highlight_terms") + }, + + initEscapeListener: () => { + // only install a listener if it is really needed + if (!DOCUMENTATION_OPTIONS.ENABLE_SEARCH_SHORTCUTS) return; + + document.addEventListener("keydown", (event) => { + // bail for input elements + if (BLACKLISTED_KEY_CONTROL_ELEMENTS.has(document.activeElement.tagName)) return; + // bail with special keys + if (event.shiftKey || event.altKey || event.ctrlKey || event.metaKey) return; + if (DOCUMENTATION_OPTIONS.ENABLE_SEARCH_SHORTCUTS && (event.key === "Escape")) { + SphinxHighlight.hideSearchWords(); + event.preventDefault(); + } + }); + }, +}; + +_ready(() => { + /* Do not call highlightSearchWords() when we are on the search page. + * It will highlight words from the *previous* search query. + */ + if (typeof Search === "undefined") SphinxHighlight.highlightSearchWords(); + SphinxHighlight.initEscapeListener(); +}); diff --git a/.docs/_build/html/genindex.html b/.docs/_build/html/genindex.html new file mode 100644 index 0000000..bb37f48 --- /dev/null +++ b/.docs/_build/html/genindex.html @@ -0,0 +1,241 @@ + + + + + + +
|
+
|
+
+ | + |
+ | + |
Classes
+
|
++ |
|
++ |
|
++ |
|
++ |
Classes
+
|
++ |
|
+*Creates a dhcp object.* |
+
|
+*Creates a Interface object.* The ID is the technical identifier. |
+
|
+*Creates a vlan object.* |
+
Modules
++ | + |
Modules
++ | + |
+ | + |
+ | + |
+ | + |
+ | + |
Classes
+
|
++ |
Classes
+
|
++ |
|
++ |
|
++ |
|
++ |
|
++ |
|
++ |
|
++ |
|
++ |
|
++ |
|
++ |
|
++ |
|
++ |
|
++ |
|
++ |
|
++ |
|
++ |
|
++ |
|
++ |
|
++ |
|
++ |
Classes
+
|
++ |
Classes
+
|
++ |
Functions
+
|
++ |
|
++ |
|
+this function is currently deprecated it was used to get the config file using the api i left it in however if someone wants to fetch a certain backup i need to implement the backup selection though |
+
|
++ |
|
++ |
|
++ |
Modules
++ | + |
+ | + |
+ | + |
+ | + |
Functions
+
|
++ |
|
++ |
|
++ |
|
++ |
|
++ |
|
++ |
|
++ |
|
++ |
|
++ |
+ o | ||
+ |
+ opnsense_helper | + |
+ |
+ opnsense_helper.commands | + |
+ |
+ opnsense_helper.commands.commands | + |
+ |
+ opnsense_helper.config_manager | + |
+ |
+ opnsense_helper.config_manager.config_manager | + |
+ |
+ opnsense_helper.opnsense_helper | + |
+ |
+ opnsense_helper.scripts | + |
+ |
+ opnsense_helper.scripts.scripts | + |
+ |
+ opnsense_helper.utils | + |
+ |
+ opnsense_helper.utils.baseclass | + |
+ |
+ opnsense_helper.utils.exec_class | + |
+ |
+ opnsense_helper.utils.frontend_utils | + |
+ |
+ opnsense_helper.utils.utils | + |
+ Searching for multiple words only shows matches that contain + all words. +
+ + + + + + + + +