From 2c2362b4d3f937d88f391d4ffdc88b288f559205 Mon Sep 17 00:00:00 2001 From: unclecode Date: Sat, 22 Jun 2024 17:18:00 +0800 Subject: [PATCH] issue 19 is resolved - Update Dockerfile to install mkdocs and build documentation --- CHANGELOG.md | 4 ++++ Dockerfile | 7 ++++++- README.md | 2 +- docs/md/changelog.md | 4 ++++ pages/index.html | 2 +- setup.py | 2 +- 6 files changed, 17 insertions(+), 4 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 70d2bb40..d235d2cb 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,9 @@ # Changelog +## [0.2.6] - 2024-06-22 +### Fixed +- Fix issue #19: Update Dockerfile to ensure compatibility across multiple platforms. + ## [0.2.5] - 2024-06-18 ### Added - Added five important hooks to the crawler: diff --git a/Dockerfile b/Dockerfile index 54cf746e..2131ccf7 100644 --- a/Dockerfile +++ b/Dockerfile @@ -54,7 +54,12 @@ EXPOSE 80 # Download models call cli "crawl4ai-download-models" RUN crawl4ai-download-models -# RUN python crawl4ai/model_loader.py + +# Instakk mkdocs +RUN pip install mkdocs mkdocs-terminal + +# Call mkdocs to build the documentation +RUN mkdocs build # Run uvicorn CMD ["uvicorn", "main:app", "--host", "0.0.0.0", "--port", "80", "--workers", "4"] diff --git a/README.md b/README.md index dfb5b291..4ae7ea66 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,4 @@ -# Crawl4AI v0.2.5 🕷️🤖 +# Crawl4AI v0.2.6 🕷️🤖 [![GitHub Stars](https://img.shields.io/github/stars/unclecode/crawl4ai?style=social)](https://github.com/unclecode/crawl4ai/stargazers) [![GitHub Forks](https://img.shields.io/github/forks/unclecode/crawl4ai?style=social)](https://github.com/unclecode/crawl4ai/network/members) diff --git a/docs/md/changelog.md b/docs/md/changelog.md index 70d2bb40..d235d2cb 100644 --- a/docs/md/changelog.md +++ b/docs/md/changelog.md @@ -1,5 +1,9 @@ # Changelog +## [0.2.6] - 2024-06-22 +### Fixed +- Fix issue #19: Update Dockerfile to ensure compatibility across multiple platforms. + ## [0.2.5] - 2024-06-18 ### Added - Added five important hooks to the crawler: diff --git a/pages/index.html b/pages/index.html index c9e2b54f..2947c34a 100644 --- a/pages/index.html +++ b/pages/index.html @@ -25,7 +25,7 @@
-

🔥🕷️ Crawl4AI: Web Data for your Thoughts v0.2.5

+

🔥🕷️ Crawl4AI: Web Data for your Thoughts

📊 Total Website Processed diff --git a/setup.py b/setup.py index a368e95d..3d840685 100644 --- a/setup.py +++ b/setup.py @@ -33,7 +33,7 @@ class CustomInstallCommand(install): setup( name="Crawl4AI", - version="0.2.5", + version="0.2.6", description="🔥🕷️ Crawl4AI: Open-source LLM Friendly Web Crawler & Scrapper", long_description=open("README.md").read(), long_description_content_type="text/markdown",