Skip to content

Commit

Permalink
Add another project
Browse files Browse the repository at this point in the history
  • Loading branch information
oprypin committed Nov 12, 2023
1 parent 8deeca8 commit 64c62da
Show file tree
Hide file tree
Showing 4 changed files with 51 additions and 0 deletions.
4 changes: 4 additions & 0 deletions build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 2 additions & 0 deletions projects/unverbuggt--mkdocs-encryptcontent-plugin/project.txt
Original file line number Diff line number Diff line change
@@ -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
Original file line number Diff line number Diff line change
@@ -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
37 changes: 37 additions & 0 deletions projects/unverbuggt--mkdocs-encryptcontent-plugin/requirements.txt
Original file line number Diff line number Diff line change
@@ -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

0 comments on commit 64c62da

Please sign in to comment.