From 64c62da269df609f792cd6dd379f652248a20d0d Mon Sep 17 00:00:00 2001 From: Oleh Prypin Date: Sun, 12 Nov 2023 19:36:46 +0100 Subject: [PATCH] Add another project --- build.sh | 4 ++ .../project.txt | 2 + .../requirements.in | 8 ++++ .../requirements.txt | 37 +++++++++++++++++++ 4 files changed, 51 insertions(+) create mode 100644 projects/unverbuggt--mkdocs-encryptcontent-plugin/project.txt create mode 100644 projects/unverbuggt--mkdocs-encryptcontent-plugin/requirements.in create mode 100644 projects/unverbuggt--mkdocs-encryptcontent-plugin/requirements.txt diff --git a/build.sh b/build.sh index ebc54dd..a1b2efa 100755 --- a/build.sh +++ b/build.sh @@ -55,7 +55,11 @@ _build() { if grep -q mkdocstrings "$info_dir/requirements.txt"; then export PYTHONPATH="src:.:${PYTHONPATH:+:${PYTHONPATH}}" fi + if grep -q encryptcontent "$info_dir/requirements.txt"; then + export MKDOCS_ENCRYPTCONTENT_INSECURE_TEST=true + fi cd "$repo_dir/repo" + sed -i -E 's/^( )*(- encryptcontent:)/\1\2\n\1 insecure_test: true/' documentation/mkdocs.yml ../venv/bin/mkdocs build --no-strict -f "$mkdocs_yml" -d "$(pwd)/../site-$1" ) find "$repo_dir/site-$1" -name "*.html" -print0 | xargs -0 -n16 -P4 venv/bin/python normalize_file.py diff --git a/projects/unverbuggt--mkdocs-encryptcontent-plugin/project.txt b/projects/unverbuggt--mkdocs-encryptcontent-plugin/project.txt new file mode 100644 index 0000000..aa95703 --- /dev/null +++ b/projects/unverbuggt--mkdocs-encryptcontent-plugin/project.txt @@ -0,0 +1,2 @@ +https://github.com/unverbuggt/mkdocs-encryptcontent-plugin/blob/version3/documentation/mkdocs.yml +https://github.com/unverbuggt/mkdocs-encryptcontent-plugin/raw/4f1b6b58a6fa293248e7cd24da40405d5ffd9e25/documentation/mkdocs.yml diff --git a/projects/unverbuggt--mkdocs-encryptcontent-plugin/requirements.in b/projects/unverbuggt--mkdocs-encryptcontent-plugin/requirements.in new file mode 100644 index 0000000..6d49cae --- /dev/null +++ b/projects/unverbuggt--mkdocs-encryptcontent-plugin/requirements.in @@ -0,0 +1,8 @@ +mkdocs +git+https://github.com/unverbuggt/mkdocs-encryptcontent-plugin +mkdocs-include-markdown-plugin +mkdocs-mermaid2-plugin +mkdocs-risonia-theme +mkdocs-simple-hooks +mkdocs-static-i18n +pymdown-extensions diff --git a/projects/unverbuggt--mkdocs-encryptcontent-plugin/requirements.txt b/projects/unverbuggt--mkdocs-encryptcontent-plugin/requirements.txt new file mode 100644 index 0000000..6b2f27d --- /dev/null +++ b/projects/unverbuggt--mkdocs-encryptcontent-plugin/requirements.txt @@ -0,0 +1,37 @@ +beautifulsoup4==4.12.2 +bracex==2.4 +certifi==2023.7.22 +charset-normalizer==3.3.2 +click==8.1.7 +editorconfig==0.12.3 +ghp-import==2.1.0 +idna==3.4 +jinja2==3.1.2 +jsbeautifier==1.14.11 +markdown==3.5.1 +markupsafe==2.1.3 +mergedeep==1.3.4 +mkdocs==1.5.3 +git+https://github.com/unverbuggt/mkdocs-encryptcontent-plugin +mkdocs-include-markdown-plugin==6.0.4 +mkdocs-mermaid2-plugin==1.1.1 +mkdocs-risonia-theme==0.1.12 +mkdocs-simple-hooks==0.1.5 +mkdocs-static-i18n==1.2.0 +packaging==23.2 +pathspec==0.11.2 +platformdirs==4.0.0 +pycryptodome==3.19.0 +pymdown-extensions==10.4 +python-dateutil==2.8.2 +pyyaml==6.0.1 +pyyaml-env-tag==0.1 +requests==2.31.0 +six==1.16.0 +soupsieve==2.5 +urllib3==2.0.7 +watchdog==3.0.0 +wcmatch==8.5 + +# The following packages are considered to be unsafe in a requirements file: +setuptools==68.2.2