From 37c9dadcd0554202a9b0c843490eb62c9b2db66a Mon Sep 17 00:00:00 2001 From: Dirk Alders Date: Wed, 9 Oct 2024 00:09:56 +0200 Subject: [PATCH] venv requirements added + fixed conf.py --- Makefile | 10 +++++----- caching | 2 +- conf.py | 4 ++-- fstools | 2 +- helpers | 2 +- report | 2 +- requirements.txt | 3 +++ socket_protocol | 2 +- state_machine | 2 +- stringtools | 2 +- task | 2 +- tcp_socket | 2 +- 12 files changed, 19 insertions(+), 16 deletions(-) create mode 100644 requirements.txt diff --git a/Makefile b/Makefile index 69d408e..b211954 100644 --- a/Makefile +++ b/Makefile @@ -3,7 +3,7 @@ # You can set these variables from the command line. SPHINXOPTS = -SPHINXBUILD = sphinx-build +SPHINXBUILD = venv/bin/sphinx-build SOURCEDIR = . BUILDDIR = _build MODULES = $(sort \ @@ -49,8 +49,8 @@ index.rst: Makefile @echo "Preparing $@" @echo ".. automodule:: $@\n :members:" > $@.rst @if [ "$(findstring .,$@)" != "." ]; then \ - git -C $@ checkout master; \ - git -C $@ pull; \ + git -C $@ checkout master 2>&1; \ + git -C $@ pull 2>&1;\ make -C $@/_examples_ all; \ fi @echo " $@.rst" >> index.rst; \ @@ -63,5 +63,5 @@ update: git submodule foreach git pull copy: - rsync -av --delete _build/html/ /data/webroot/pylib_docs/ - chown www-data.www-data -R /data/webroot/pylib_docs/ + rsync -av --delete _build/html/ /data/htdocs/pylib_docs/ + chown www-data.www-data -R /data/htdocs/pylib_docs/ diff --git a/caching b/caching index 01cf327..ed10820 160000 --- a/caching +++ b/caching @@ -1 +1 @@ -Subproject commit 01cf327609fcac0dbddbad4168ae154cf625bbee +Subproject commit ed1082041f8b7940e5ed6238eead2b97a5b3e862 diff --git a/conf.py b/conf.py index 8c08c7b..d3787a1 100644 --- a/conf.py +++ b/conf.py @@ -41,7 +41,7 @@ release = '' extensions = [ 'sphinx.ext.autodoc', 'sphinx.ext.coverage', - 'sphinx_rtd_theme', + 'python_docs_theme', ] # Add any paths that contain templates here, relative to this directory. @@ -77,7 +77,7 @@ pygments_style = None # The theme to use for HTML and HTML Help pages. See the documentation for # a list of builtin themes. # -html_theme = 'sphinx_rtd_theme' +html_theme = 'python_docs_theme' # Theme options are theme-specific and customize the look and feel of a theme # further. For a list of options available for each theme, see the diff --git a/fstools b/fstools index 262141f..c10e879 160000 --- a/fstools +++ b/fstools @@ -1 +1 @@ -Subproject commit 262141f2956757b0c8cbce8724728fa1d0630297 +Subproject commit c10e8792abb05671dab6de51cdadda3bf8ead50f diff --git a/helpers b/helpers index 4be70cf..c4f0551 160000 --- a/helpers +++ b/helpers @@ -1 +1 @@ -Subproject commit 4be70cfef8b8304979ea2402b285ef779855ad5f +Subproject commit c4f055189856dddf9f05c56189453370d25ba620 diff --git a/report b/report index 25889f2..7003c13 160000 --- a/report +++ b/report @@ -1 +1 @@ -Subproject commit 25889f225b3593d515e37bebffef21458c961f64 +Subproject commit 7003c13ef8c7e7c3a55a545cbbad4039cc024a9f diff --git a/requirements.txt b/requirements.txt new file mode 100644 index 0000000..fdc09cd --- /dev/null +++ b/requirements.txt @@ -0,0 +1,3 @@ +sphinx +python-docs-theme + diff --git a/socket_protocol b/socket_protocol index 35d9f68..7f2b90c 160000 --- a/socket_protocol +++ b/socket_protocol @@ -1 +1 @@ -Subproject commit 35d9f688a4f080a8cae70a18e27036b55399edde +Subproject commit 7f2b90c99030ac39f5bf7bfd92d1dd3d6c3657fa diff --git a/state_machine b/state_machine index db70e14..aef9958 160000 --- a/state_machine +++ b/state_machine @@ -1 +1 @@ -Subproject commit db70e14d4650c9894ee0ff5c5c6078264ce59b46 +Subproject commit aef99580e1cdc05e6ca80efe05461ab861d6ef39 diff --git a/stringtools b/stringtools index 5ac92e2..e1f76d9 160000 --- a/stringtools +++ b/stringtools @@ -1 +1 @@ -Subproject commit 5ac92e2b864cd27bd4026352ba9149f4d23ca019 +Subproject commit e1f76d96312e540544b2328d0937b0aa41126aa9 diff --git a/task b/task index 9fbd98f..af35e83 160000 --- a/task +++ b/task @@ -1 +1 @@ -Subproject commit 9fbd98f39cb919603ddc784608aa1eb354129b3e +Subproject commit af35e83d1f07fd4cb9070bdb77cf1f3bdda3a463 diff --git a/tcp_socket b/tcp_socket index a34195e..ffe6b2b 160000 --- a/tcp_socket +++ b/tcp_socket @@ -1 +1 @@ -Subproject commit a34195edf977fe9e2372df6beb3f915eeb8aabe4 +Subproject commit ffe6b2bf3ba5829361349ff318cb721cb6f42266