Skip to content

Commit e7a7029

Browse files
authored
Merge pull request #50 from rothgar/1.11-reference
docs: add reference docs converted from talosctl
2 parents b864654 + 246535e commit e7a7029

26 files changed

Lines changed: 15106 additions & 958 deletions

Makefile

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -132,10 +132,9 @@ generate-talos-reference: ## Generate Talos reference docs and convert to MDX
132132
.PHONY: generate-talos-reference-local
133133
generate-talos-reference-local: ## Generate Talos reference docs using local Go build
134134
@echo "Generating Talos reference documentation..."
135-
@docker run --rm -v $(PWD)/docs-convert/docs:/docs alpine:latest rm -rf /docs/*
136135
docker pull $(TALOSCTL_IMAGE)
137-
docker run --rm -u $(shell id -u):$(shell id -g) -v $(PWD)/docs-convert/docs:/docs $(TALOSCTL_IMAGE) docs /docs
136+
docker run --rm -u $(shell id -u):$(shell id -g) -v $(PWD)/_out/docs:/docs $(TALOSCTL_IMAGE) docs /docs
138137
@echo "Converting generated docs to MDX..."
139-
cd docs-convert && go run main.go docs ../talos/$(TALOS_VERSION)/reference
140-
@echo "Reference documentation generated in talos/$(TALOS_VERSION)/reference/"
138+
cd docs-convert && go run main.go ../_out/docs ../public/talos/$(TALOS_VERSION)/reference
139+
@echo "Reference documentation generated in public/talos/$(TALOS_VERSION)/reference/"
141140

common.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
schema: "https://leaves.mintlify.com/schema/docs.json"
2-
theme: "maple"
2+
theme: "willow"
33
name: "Sidero Documentation"
44

55
colors:

0 commit comments

Comments
 (0)