Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Next Next commit
doc/starlight: create dir structure on install
  • Loading branch information
AnnsAnns committed Oct 13, 2025
commit c3836703a7754605fcacc387ad5031a20fe412ea
2 changes: 2 additions & 0 deletions doc/starlight/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ install: integrate_outside_files
build: install
@echo "Copying RIOT documentation source files..."
@echo "See: https://github.com/withastro/starlight/issues/3470"
@mkdir -p $(CURDIR)/src/content/docs
@rm -rf $(CURDIR)/src/content/docs
@cp -r $(RIOTBASE)/doc/guides $(CURDIR)/src/content/docs
@npm run build --prefix $(CURDIR)
Expand All @@ -24,6 +25,7 @@ preview: build
.PHONY: dev
dev: install
@echo "Linking RIOT documentation source files..."
@mkdir -p $(CURDIR)/src/content/docs
@rm -rf $(CURDIR)/src/content/docs
@ln -s ../../../guides $(CURDIR)/src/content/docs
@echo "Starting starlight live server..."
Expand Down