Skip to content

Commit 40ba8b6

Browse files
author
f@bi.an
committed
Refactor site testing and management tools
- Removed `site_tester.py` and integrated its functionality into `site_manager.py` as `SimpleSiteTester`. - Added comprehensive site management features in `site_manager.py`, including image optimization, site building, serving, and statistics generation. - Introduced a new command-line interface for managing the MkDocs site with various commands (build, serve, optimize, stats, test, check, clean). - Implemented image optimization to convert JPG/JPEG/PNG images to WebP format and update markdown references accordingly. - Added media path checking functionality to ensure all media references are valid. - Created a structured report for site statistics and testing results. - Updated `.dockerignore` to exclude unnecessary files and directories.
1 parent 6eeb356 commit 40ba8b6

22 files changed

+839
-22273
lines changed

.dockerignore

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
letsencrypt/
2+
certbot/
3+
.git/
4+
.gitignore
5+
*.md
6+
.github/
7+
.dockerignore

.gitignore

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,4 +6,12 @@ site/
66
.qodo
77
.venv/
88
__pycache__/
9-
.cache/
9+
.cache/
10+
letsencrypt/
11+
certbot/
12+
*.log
13+
*.env
14+
*.pem
15+
*.crt
16+
*.key
17+
*.p12

0 commit comments

Comments
 (0)