Skip to content
Draft
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
12 changes: 10 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -1994,12 +1994,20 @@ test-e2e: ensure-webassets

.PHONY: cli-docs-tsh
cli-docs-tsh:
# Not executing go run since we don't want to redirect linker warnings
# along with the docs page content.
# Executing go build instead of go run since we don't want to redirect
# irrelevant output along with the docs page content.
go build -o $(BUILDDIR)/tshdocs -tags docs ./tool/tsh && \
$(BUILDDIR)/tshdocs help 2>docs/pages/reference/cli/tsh.mdx && \
rm $(BUILDDIR)/tshdocs

.PHONY: cli-docs-teleport
cli-docs-teleport:
# Executing go build instead of go run since we don't want to redirect
# irrelevant output along with the docs page content.
go build -o $(BUILDDIR)/teleportdocs -tags docs ./tool/teleport && \
$(BUILDDIR)/teleportdocs help 2>docs/pages/reference/cli/teleport.mdx && \
rm $(BUILDDIR)/teleportdocs

# audit-event-reference generates audit event reference docs using the Web UI
# source.
.PHONY: audit-event-reference
Expand Down
1 change: 1 addition & 0 deletions docs/cspell.json
Original file line number Diff line number Diff line change
Expand Up @@ -1143,6 +1143,7 @@
"ignorePaths": [
"**/includes/access-monitoring-events.mdx",
"**/includes/reference/code-blocks-no-cspell/**",
"**/reference/cli/**",
"**/reference/infrastructure-as-code/operator-resources/**",
"**/reference/infrastructure-as-code/teleport-resources/**",
"**/reference/infrastructure-as-code/terraform-provider/**",
Expand Down
Loading
Loading