Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
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
2 changes: 1 addition & 1 deletion .github/workflows/test_docs.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
name: Guide Docs Build Test

on:
push:
pull_request:
paths:
- 'doc/guides/**'
- 'doc/starlight/**'
Expand Down
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
Loading