Skip to content

Commit f86312b

Browse files
committed
fix blog for mkdocs
1 parent 34ca07c commit f86312b

2 files changed

Lines changed: 12 additions & 0 deletions

File tree

Makefile

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -77,6 +77,15 @@ run-local:
7777
--scenario $(FILE) \
7878
--steps $(STEPS)
7979

80+
## run-example: Run the Schelling simulation with default parameters.
81+
run-example:
82+
@echo "▶️ Running Schelling Simulation Example (150 steps)..."
83+
@docker compose exec app poetry run python -m agent_sim.main \
84+
--package "simulations.schelling_sim" \
85+
--config "simulations/schelling_sim/config/config.yml" \
86+
--scenario "simulations/schelling_sim/scenarios/default.json" \
87+
--steps 150
88+
8089
## make-gif: Creates a GIF from the most recent simulation render.
8190
make-gif:
8291
@echo "🎬 Creating GIF from frames in $(RENDER_DIR)..."

mkdocs.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -92,6 +92,9 @@ nav:
9292
- API Reference:
9393
- "agent-core": api/agent-core.md
9494
- "agent-engine": api/agent-engine.md
95+
- Blog:
96+
- "Overview": blog/index.md
97+
- "All Posts": blog/posts/
9598

9699
# Markdown extensions
97100
markdown_extensions:

0 commit comments

Comments
 (0)