diff --git a/.gitignore b/.gitignore index b6ac9e02..6ed2c98b 100644 --- a/.gitignore +++ b/.gitignore @@ -1,4 +1,4 @@ mkdocs-material docs/draft public -venv \ No newline at end of file +venv* \ No newline at end of file diff --git a/Dockerfile.bak b/Dockerfile.bak new file mode 100644 index 00000000..d6147afa --- /dev/null +++ b/Dockerfile.bak @@ -0,0 +1,16 @@ +FROM python:3.11-slim + +WORKDIR /app + +COPY . /app + +RUN apt-get update && \ + apt-get install -y git && \ + git config --global --add safe.directory /app + +RUN pip install --upgrade pip +RUN pip install -r requirements.txt + +RUN mkdocs build + +CMD ["python", "-m", "http.server", "--directory", "public", "5000"] diff --git a/mkdocs.yml b/mkdocs.yml index a58c653f..4aeb64a3 100644 --- a/mkdocs.yml +++ b/mkdocs.yml @@ -51,11 +51,11 @@ markdown_extensions: - attr_list - md_in_html extra_javascript: - - https://cdnjs.cloudflare.com/ajax/libs/highlight.js/10.1.1/highlight.min.js + - https://cdnjs.cloudflare.com/ajax/libs/highlight.js/11.9.0/highlight.min.js - assets/js/config.js - - https://unpkg.com/mermaid@8.8.2/dist/mermaid.min.js + - https://cdn.jsdelivr.net/npm/mermaid@10.9.1/dist/mermaid.min.js extra_css: - - https://cdnjs.cloudflare.com/ajax/libs/highlight.js/10.1.1/styles/default.min.css + - https://cdnjs.cloudflare.com/ajax/libs/highlight.js/11.9.0/styles/default.min.css nav: - Accueil: index.md - "Présentation du Garage": diff --git a/requirements.txt b/requirements.txt index ebb396e7..a813ab97 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,13 +1,40 @@ -# Documentation static site generator & deployment tool -mkdocs>=1.1.2 - -# Add your custom theme if not inside a theme_dir -# (https://github.com/mkdocs/mkdocs/wiki/MkDocs-Themes) -mkdocs-material>=8.2.11 -Pygments>=2.11.2 -git+https://github.com/pugong/mkdocs-mermaid-plugin -mkdocs-git-authors-plugin -mkdocs-git-revision-date-plugin -mkdocs-add-number-plugin -gunicorn -whitenoise +Babel==2.15.0 +beautifulsoup4==4.12.3 +certifi==2024.2.2 +charset-normalizer==3.3.2 +click==8.1.7 +colorama==0.4.6 +ghp-import==2.1.0 +gitdb==4.0.11 +GitPython==3.1.43 +gunicorn==22.0.0 +idna==3.7 +Jinja2==3.1.4 +Markdown==3.6 +MarkupSafe==2.1.5 +mergedeep==1.3.4 +mkdocs==1.6.0 +mkdocs-add-number-plugin==1.2.2 +mkdocs-get-deps==0.2.0 +mkdocs-git-authors-plugin==0.9.0 +mkdocs-git-revision-date-plugin==0.3.2 +mkdocs-material==9.5.25 +mkdocs-material-extensions==1.3.1 +mkdocs-mermaid-plugin @ git+https://github.com/pugong/mkdocs-mermaid-plugin@abf14392b0ed0c7022210b32c4e7c9c3e4c5c68a +packaging==24.0 +paginate==0.5.6 +pathspec==0.12.1 +platformdirs==4.2.2 +Pygments==2.18.0 +pymdown-extensions==10.8.1 +python-dateutil==2.9.0.post0 +PyYAML==6.0.1 +pyyaml_env_tag==0.1 +regex==2024.5.15 +requests==2.32.3 +six==1.16.0 +smmap==5.0.1 +soupsieve==2.5 +urllib3==2.2.1 +watchdog==4.0.1 +whitenoise==6.6.0 diff --git a/requirements.txt.bak b/requirements.txt.bak new file mode 100644 index 00000000..ebb396e7 --- /dev/null +++ b/requirements.txt.bak @@ -0,0 +1,13 @@ +# Documentation static site generator & deployment tool +mkdocs>=1.1.2 + +# Add your custom theme if not inside a theme_dir +# (https://github.com/mkdocs/mkdocs/wiki/MkDocs-Themes) +mkdocs-material>=8.2.11 +Pygments>=2.11.2 +git+https://github.com/pugong/mkdocs-mermaid-plugin +mkdocs-git-authors-plugin +mkdocs-git-revision-date-plugin +mkdocs-add-number-plugin +gunicorn +whitenoise