forked from eval-hub/eval-hub.github.io
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathMakefile
More file actions
41 lines (33 loc) · 1.02 KB
/
Makefile
File metadata and controls
41 lines (33 loc) · 1.02 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
# Makefile for eval-hub.github.io documentation
.PHONY: help install serve build deploy clean
# Default target
help:
@echo "Available targets:"
@echo " install - Install documentation dependencies"
@echo " serve - Start local development server"
@echo " build - Build documentation site"
@echo " deploy - Deploy to GitHub Pages"
@echo " clean - Remove built documentation"
# Install dependencies
install:
@echo "📦 Installing documentation dependencies..."
pip install -r requirements.txt
# Serve documentation locally
serve:
@echo "🚀 Starting documentation server..."
@echo "📖 Documentation will be available at http://0.0.0.0:8000"
mkdocs serve --dev-addr 0.0.0.0:8000
# Build documentation
build:
@echo "🔨 Building documentation..."
mkdocs build
# Deploy to GitHub Pages
deploy:
@echo "🚀 Deploying to GitHub Pages..."
mkdocs gh-deploy --force
# Clean built documentation
clean:
@echo "🧹 Cleaning built documentation..."
rm -rf site/
# Build and serve
preview: build serve