issue 19 is resolved

- Update Dockerfile to install mkdocs and build documentation
This commit is contained in:
unclecode
2024-06-22 17:18:00 +08:00
parent 612ed3fef2
commit 2c2362b4d3
6 changed files with 17 additions and 4 deletions

View File

@@ -1,5 +1,9 @@
# Changelog # 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 ## [0.2.5] - 2024-06-18
### Added ### Added
- Added five important hooks to the crawler: - Added five important hooks to the crawler:

View File

@@ -54,7 +54,12 @@ EXPOSE 80
# Download models call cli "crawl4ai-download-models" # Download models call cli "crawl4ai-download-models"
RUN 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 # Run uvicorn
CMD ["uvicorn", "main:app", "--host", "0.0.0.0", "--port", "80", "--workers", "4"] CMD ["uvicorn", "main:app", "--host", "0.0.0.0", "--port", "80", "--workers", "4"]

View File

@@ -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 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) [![GitHub Forks](https://img.shields.io/github/forks/unclecode/crawl4ai?style=social)](https://github.com/unclecode/crawl4ai/network/members)

View File

@@ -1,5 +1,9 @@
# Changelog # 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 ## [0.2.5] - 2024-06-18
### Added ### Added
- Added five important hooks to the crawler: - Added five important hooks to the crawler:

View File

@@ -25,7 +25,7 @@
<header class="bg-zinc-950 text-lime-500 py-4 flex"> <header class="bg-zinc-950 text-lime-500 py-4 flex">
<div class="mx-auto px-4"> <div class="mx-auto px-4">
<h1 class="text-2xl font-bold">🔥🕷️ Crawl4AI: Web Data for your Thoughts v0.2.5</h1> <h1 class="text-2xl font-bold">🔥🕷️ Crawl4AI: Web Data for your Thoughts</h1>
</div> </div>
<div class="mx-auto px-4 flex font-bold text-xl gap-2"> <div class="mx-auto px-4 flex font-bold text-xl gap-2">
<span>📊 Total Website Processed</span> <span>📊 Total Website Processed</span>

View File

@@ -33,7 +33,7 @@ class CustomInstallCommand(install):
setup( setup(
name="Crawl4AI", name="Crawl4AI",
version="0.2.5", version="0.2.6",
description="🔥🕷️ Crawl4AI: Open-source LLM Friendly Web Crawler & Scrapper", description="🔥🕷️ Crawl4AI: Open-source LLM Friendly Web Crawler & Scrapper",
long_description=open("README.md").read(), long_description=open("README.md").read(),
long_description_content_type="text/markdown", long_description_content_type="text/markdown",