Исходный код controls.smth
-
-
-
diff --git a/README.md b/README.md index 4f3ebbe..904aaec 100644 --- a/README.md +++ b/README.md @@ -11,14 +11,14 @@ $ poetry install # How to make docs with Sphinx ``` -$ cd src/docs +$ cd docs $ make html ``` # How to run Pytest tests ``` -$ export PYTHONPATH=src +$ export PYTHONPATH=. $ pytest ``` diff --git a/src/controls/__init__.py b/controls/__init__.py similarity index 100% rename from src/controls/__init__.py rename to controls/__init__.py diff --git a/src/controls/device.py b/controls/device.py similarity index 100% rename from src/controls/device.py rename to controls/device.py diff --git a/src/docs/Makefile b/docs/Makefile similarity index 100% rename from src/docs/Makefile rename to docs/Makefile diff --git a/src/docs/conf.py b/docs/conf.py similarity index 100% rename from src/docs/conf.py rename to docs/conf.py diff --git a/src/docs/controls.rst b/docs/controls.rst similarity index 100% rename from src/docs/controls.rst rename to docs/controls.rst diff --git a/src/docs/index.rst b/docs/index.rst similarity index 100% rename from src/docs/index.rst rename to docs/index.rst diff --git a/src/docs/make.bat b/docs/make.bat similarity index 100% rename from src/docs/make.bat rename to docs/make.bat diff --git a/src/docs/modules.rst b/docs/modules.rst similarity index 100% rename from src/docs/modules.rst rename to docs/modules.rst diff --git a/src/docs/other_module.rst b/docs/other_module.rst similarity index 100% rename from src/docs/other_module.rst rename to docs/other_module.rst diff --git a/src/equipment/__init__.py b/equipment/__init__.py similarity index 100% rename from src/equipment/__init__.py rename to equipment/__init__.py diff --git a/src/equipment/turtle_device.py b/equipment/turtle_device.py similarity index 100% rename from src/equipment/turtle_device.py rename to equipment/turtle_device.py diff --git a/src/docs/_build/doctrees/controls.doctree b/src/docs/_build/doctrees/controls.doctree deleted file mode 100644 index a7e41af..0000000 Binary files a/src/docs/_build/doctrees/controls.doctree and /dev/null differ diff --git a/src/docs/_build/doctrees/environment.pickle b/src/docs/_build/doctrees/environment.pickle deleted file mode 100644 index 179b5c6..0000000 Binary files a/src/docs/_build/doctrees/environment.pickle and /dev/null differ diff --git a/src/docs/_build/doctrees/index.doctree b/src/docs/_build/doctrees/index.doctree deleted file mode 100644 index ceaf9b6..0000000 Binary files a/src/docs/_build/doctrees/index.doctree and /dev/null differ diff --git a/src/docs/_build/doctrees/modules.doctree b/src/docs/_build/doctrees/modules.doctree deleted file mode 100644 index 47541a1..0000000 Binary files a/src/docs/_build/doctrees/modules.doctree and /dev/null differ diff --git a/src/docs/_build/doctrees/other_module.doctree b/src/docs/_build/doctrees/other_module.doctree deleted file mode 100644 index 403ce62..0000000 Binary files a/src/docs/_build/doctrees/other_module.doctree and /dev/null differ diff --git a/src/docs/_build/html/.buildinfo b/src/docs/_build/html/.buildinfo deleted file mode 100644 index 0acbb3f..0000000 --- a/src/docs/_build/html/.buildinfo +++ /dev/null @@ -1,4 +0,0 @@ -# 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: 2d1212abc19e45714908b927ddd646d6 -tags: 645f666f9bcd5a90fca523b33c5a78b7 diff --git a/src/docs/_build/html/_modules/controls/smth.html b/src/docs/_build/html/_modules/controls/smth.html deleted file mode 100644 index c4b1a16..0000000 --- a/src/docs/_build/html/_modules/controls/smth.html +++ /dev/null @@ -1,104 +0,0 @@ - - - -
- - -
-
-
-
-
-
-
' + - '' + - _("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(SphinxHighlight.highlightSearchWords); -_ready(SphinxHighlight.initEscapeListener); diff --git a/src/docs/_build/html/_static/translations.js b/src/docs/_build/html/_static/translations.js deleted file mode 100644 index 4bf2ff7..0000000 --- a/src/docs/_build/html/_static/translations.js +++ /dev/null @@ -1,60 +0,0 @@ -Documentation.addTranslations({ - "locale": "ru", - "messages": { - "%(filename)s — %(docstitle)s": "%(filename)s — %(docstitle)s", - "© %(copyright_prefix)s %(copyright)s.": "", - ", in ": ", \u0432", - "About these documents": "\u041e\u0431 \u044d\u0442\u0438\u0445 \u0434\u043e\u043a\u0443\u043c\u0435\u043d\u0442\u0430\u0445", - "Automatically generated list of changes in version %(version)s": "\u0410\u0432\u0442\u043e\u043c\u0430\u0442\u0438\u0447\u0435\u0441\u043a\u0438 \u0441\u043e\u0437\u0434\u0430\u043d\u043d\u044b\u0439 \u0441\u043f\u0438\u0441\u043e\u043a \u0438\u0437\u043c\u0435\u043d\u0435\u043d\u0438\u0439 \u0432 \u0432\u0435\u0440\u0441\u0438\u0438 %(version)s", - "C API changes": "\u0418\u0437\u043c\u0435\u043d\u0435\u043d\u0438\u044f \u0432 API C", - "Changes in Version %(version)s — %(docstitle)s": "\u0418\u0437\u043c\u0435\u043d\u0435\u043d\u0438\u044f \u0432 \u0432\u0435\u0440\u0441\u0438\u0438 %(version)s — %(docstitle)s", - "Collapse sidebar": "\u0421\u0432\u0435\u0440\u043d\u0443\u0442\u044c \u0431\u043e\u043a\u043e\u0432\u0443\u044e \u043f\u0430\u043d\u0435\u043b\u044c", - "Complete Table of Contents": "\u041f\u043e\u043b\u043d\u043e\u0435 \u043e\u0433\u043b\u0430\u0432\u043b\u0435\u043d\u0438\u0435", - "Contents": "\u0421\u043e\u0434\u0435\u0440\u0436\u0430\u043d\u0438\u0435", - "Copyright": "\u0410\u0432\u0442\u043e\u0440\u0441\u043a\u0438\u0435 \u043f\u0440\u0430\u0432\u0430", - "Created using Sphinx %(sphinx_version)s.": "", - "Expand sidebar": "\u0420\u0430\u0437\u0432\u0435\u0440\u043d\u0443\u0442\u044c \u0431\u043e\u043a\u043e\u0432\u0443\u044e \u043f\u0430\u043d\u0435\u043b\u044c", - "Full index on one page": "\u041f\u043e\u043b\u043d\u044b\u0439 \u0430\u043b\u0444\u0430\u0432\u0438\u0442\u043d\u044b\u0439 \u0443\u043a\u0430\u0437\u0430\u0442\u0435\u043b\u044c \u043d\u0430 \u043e\u0434\u043d\u043e\u0439 \u0441\u0442\u0440\u0430\u043d\u0438\u0446\u0435", - "General Index": "\u0410\u043b\u0444\u0430\u0432\u0438\u0442\u043d\u044b\u0439 \u0443\u043a\u0430\u0437\u0430\u0442\u0435\u043b\u044c", - "Global Module Index": "\u0410\u043b\u0444\u0430\u0432\u0438\u0442\u043d\u044b\u0439 \u0443\u043a\u0430\u0437\u0430\u0442\u0435\u043b\u044c \u043c\u043e\u0434\u0443\u043b\u0435\u0439", - "Go": "\u0418\u0441\u043a\u0430\u0442\u044c", - "Hide Search Matches": "\u0421\u043d\u044f\u0442\u044c \u0432\u044b\u0434\u0435\u043b\u0435\u043d\u0438\u0435", - "Index": "\u0410\u043b\u0444\u0430\u0432\u0438\u0442\u043d\u044b\u0439 \u0443\u043a\u0430\u0437\u0430\u0442\u0435\u043b\u044c", - "Index – %(key)s": "\u0410\u043b\u0444\u0430\u0432\u0438\u0442\u043d\u044b\u0439 \u0443\u043a\u0430\u0437\u0430\u0442\u0435\u043b\u044c – %(key)s", - "Index pages by letter": "\u0423\u043a\u0430\u0437\u0430\u0442\u0435\u043b\u0438 \u043f\u043e \u0431\u0443\u043a\u0432\u0430\u043c \u0430\u043b\u0444\u0430\u0432\u0438\u0442\u0430", - "Indices and tables:": "\u0422\u0430\u0431\u043b\u0438\u0446\u044b \u0438 \u0443\u043a\u0430\u0437\u0430\u0442\u0435\u043b\u0438:", - "Last updated on %(last_updated)s.": "\u041e\u0431\u043d\u043e\u0432\u043b\u0435\u043d\u043e: %(last_updated)s.", - "Library changes": "\u0418\u0437\u043c\u0435\u043d\u0435\u043d\u0438\u044f \u0432 \u0431\u0438\u0431\u043b\u0438\u043e\u0442\u0435\u043a\u0435", - "Navigation": "\u041d\u0430\u0432\u0438\u0433\u0430\u0446\u0438\u044f", - "Next topic": "\u0421\u043b\u0435\u0434\u0443\u044e\u0449\u0438\u0439 \u0440\u0430\u0437\u0434\u0435\u043b", - "Other changes": "\u0414\u0440\u0443\u0433\u0438\u0435 \u0438\u0437\u043c\u0435\u043d\u0435\u043d\u0438\u044f", - "Overview": "\u041e\u0431\u0437\u043e\u0440", - "Please activate JavaScript to enable the search\n functionality.": "\u0414\u043b\u044f \u0440\u0430\u0431\u043e\u0442\u044b \u043f\u043e\u0438\u0441\u043a\u0430 \u0432\u043a\u043b\u044e\u0447\u0438\u0442\u0435 JavaScript \u0432 \u0431\u0440\u0430\u0443\u0437\u0435\u0440\u0435.", - "Preparing search...": "\u041f\u043e\u0434\u0433\u043e\u0442\u043e\u0432\u043a\u0430 \u043f\u043e\u0438\u0441\u043a\u0430\u2026", - "Previous topic": "\u041f\u0440\u0435\u0434\u044b\u0434\u0443\u0449\u0438\u0439 \u0440\u0430\u0437\u0434\u0435\u043b", - "Quick search": "\u0411\u044b\u0441\u0442\u0440\u044b\u0439 \u043f\u043e\u0438\u0441\u043a", - "Search": "\u041f\u043e\u0438\u0441\u043a", - "Search Page": "\u041f\u043e\u0438\u0441\u043a", - "Search Results": "\u0420\u0435\u0437\u0443\u043b\u044c\u0442\u0430\u0442\u044b \u043f\u043e\u0438\u0441\u043a\u0430", - "Search finished, found ${resultCount} page(s) matching the search query.": "", - "Search within %(docstitle)s": "\u041f\u043e\u0438\u0441\u043a \u0432 \u0434\u043e\u043a\u0443\u043c\u0435\u043d\u0442\u0435 \u00ab%(docstitle)s\u00bb", - "Searching": "\u0418\u0434\u0451\u0442 \u043f\u043e\u0438\u0441\u043a", - "Searching for multiple words only shows matches that contain\n all words.": "", - "Show Source": "\u0418\u0441\u0445\u043e\u0434\u043d\u044b\u0439 \u0442\u0435\u043a\u0441\u0442", - "Table of Contents": "\u041e\u0433\u043b\u0430\u0432\u043b\u0435\u043d\u0438\u0435", - "This Page": "\u042d\u0442\u0430 \u0441\u0442\u0440\u0430\u043d\u0438\u0446\u0430", - "Welcome! This is": "\u0414\u043e\u0431\u0440\u043e \u043f\u043e\u0436\u0430\u043b\u043e\u0432\u0430\u0442\u044c! \u042d\u0442\u043e", - "Your search did not match any documents. Please make sure that all words are spelled correctly and that you've selected enough categories.": "\u041f\u043e \u0432\u0430\u0448\u0435\u043c\u0443 \u043f\u043e\u0438\u0441\u043a\u0443 \u043d\u0435 \u043d\u0430\u0439\u0434\u0435\u043d\u043e \u043d\u0438 \u043e\u0434\u043d\u043e\u0433\u043e \u0434\u043e\u043a\u0443\u043c\u0435\u043d\u0442\u0430. \u041f\u0440\u043e\u0432\u0435\u0440\u044c\u0442\u0435, \u0447\u0442\u043e \u0432\u0441\u0435 \u0441\u043b\u043e\u0432\u0430 \u043d\u0430\u043f\u0438\u0441\u0430\u043d\u044b \u0431\u0435\u0437 \u043e\u0448\u0438\u0431\u043e\u043a, \u0438 \u0447\u0442\u043e \u0432\u044b \u0432\u044b\u0431\u0440\u0430\u043b\u0438 \u0434\u043e\u0441\u0442\u0430\u0442\u043e\u0447\u043d\u043e \u043a\u0430\u0442\u0435\u0433\u043e\u0440\u0438\u0439.", - "all functions, classes, terms": "\u0432\u0441\u0435 \u0444\u0443\u043d\u043a\u0446\u0438\u0438, \u043a\u043b\u0430\u0441\u0441\u044b, \u043f\u0435\u0440\u0435\u043c\u0435\u043d\u043d\u044b\u0435 \u0438 \u043a\u043e\u043d\u0441\u0442\u0430\u043d\u0442\u044b", - "can be huge": "\u043c\u043e\u0436\u0435\u0442 \u0431\u044b\u0442\u044c \u043e\u0447\u0435\u043d\u044c \u0431\u043e\u043b\u044c\u0448\u0438\u043c", - "last updated": "\u043f\u043e\u0441\u043b\u0435\u0434\u043d\u0435\u0435 \u0438\u0437\u043c\u0435\u043d\u0435\u043d\u0438\u0435", - "lists all sections and subsections": "\u0441\u043f\u0438\u0441\u043e\u043a \u0432\u0441\u0435\u0445 \u0440\u0430\u0437\u0434\u0435\u043b\u043e\u0432 \u0438 \u043f\u043e\u0434\u0440\u0430\u0437\u0434\u0435\u043b\u043e\u0432", - "next chapter": "\u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0430\u044f \u0433\u043b\u0430\u0432\u0430", - "previous chapter": "\u043f\u0440\u0435\u0434\u044b\u0434\u0443\u0449\u0430\u044f \u0433\u043b\u0430\u0432\u0430", - "quick access to all modules": "\u0441\u0432\u043e\u0434\u043d\u044b\u0439 \u0441\u043f\u0438\u0441\u043e\u043a \u0432\u0441\u0435\u0445 \u043c\u043e\u0434\u0443\u043b\u0435\u0439", - "search": "\u0438\u0441\u043a\u0430\u0442\u044c", - "search this documentation": "\u043f\u043e\u0438\u0441\u043a \u0432 \u0434\u043e\u043a\u0443\u043c\u0435\u043d\u0442\u0430\u0446\u0438\u0438", - "the documentation for": "\u0434\u043e\u043a\u0443\u043c\u0435\u043d\u0442\u0430\u0446\u0438\u044f" - }, - "plural_expr": "(n%10==1 && n%100!=11 ? 0 : n%10>=2 && n%10<=4 && (n%100<12 || n%100>14) ? 1 : n%10==0 || (n%10>=5 && n%10<=9) || (n%100>=11 && n%100<=14)? 2 : 3)" -}); \ No newline at end of file diff --git a/src/docs/_build/html/controls.html b/src/docs/_build/html/controls.html deleted file mode 100644 index 1a89c1c..0000000 --- a/src/docs/_build/html/controls.html +++ /dev/null @@ -1,130 +0,0 @@ - - - - - - - -- |
|
-
|
-
|
- - |
|
-
|
-
- c | ||
- |
- controls | - |
- |
- controls.smth | - |
- o | ||
- |
- other_module | - |
- |
- other_module.snth2 | - |
- Searching for multiple words only shows matches that contain - all words. -
- - - - - - -