Skip to content

Commit

Permalink
Update build tests
Browse files Browse the repository at this point in the history
  • Loading branch information
clayton-cornell committed Mar 1, 2024
1 parent 6ff020f commit 8b86139
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion internal/tools/docs_generator/docs_updated_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ func TestLinksToTypesSectionsUpdated(t *testing.T) {
}

func TestCompatibleComponentsPageUpdated(t *testing.T) {
path := filepath.Join(moduleRoot, "docs/sources/flow/reference/compatibility/_index.md")
path := filepath.Join(moduleRoot, "docs/sources/reference/compatibility/_index.md")
for _, typ := range metadata.AllTypes {
t.Run(typ.Name, func(t *testing.T) {
t.Run("exporters", func(t *testing.T) {
Expand Down
2 changes: 1 addition & 1 deletion internal/tools/docs_generator/links_to_types.go
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ func (l *LinksToTypesGenerator) endMarker() string {
}

func (l *LinksToTypesGenerator) pathToComponentMarkdown() string {
return fmt.Sprintf("../../../docs/sources/flow/reference/components/%s.md", l.component)
return fmt.Sprintf("../../../docs/sources/reference/components/%s.md", l.component)
}

func outputComponentsSection(name string, meta metadata.Metadata) string {
Expand Down

0 comments on commit 8b86139

Please sign in to comment.