diff --git a/pkg/codegen/docs/gen.go b/pkg/codegen/docs/gen.go index 4881a613c72d..01188591cb32 100644 --- a/pkg/codegen/docs/gen.go +++ b/pkg/codegen/docs/gen.go @@ -1846,7 +1846,7 @@ func (mod *modContext) genIndex() indexData { for _, r := range mod.resources { name := resourceName(r) resources = append(resources, indexEntry{ - Link: getResourceLink(name), + Link: getResourceLink(name) + "/", DisplayName: name, }) } @@ -1856,7 +1856,7 @@ func (mod *modContext) genIndex() indexData { for _, f := range mod.functions { name := tokenToName(f.Token) functions = append(functions, indexEntry{ - Link: getFunctionLink(name), + Link: getFunctionLink(name) + "/", DisplayName: strings.Title(name), }) } diff --git a/pkg/codegen/testing/test/testdata/azure-native-nested-types/docs/_index.md b/pkg/codegen/testing/test/testdata/azure-native-nested-types/docs/_index.md index 60a15484b671..4f34b3890b86 100644 --- a/pkg/codegen/testing/test/testdata/azure-native-nested-types/docs/_index.md +++ b/pkg/codegen/testing/test/testdata/azure-native-nested-types/docs/_index.md @@ -18,7 +18,7 @@ A native Pulumi package for creating and managing Azure resources.

Resources

Package Details

diff --git a/pkg/codegen/testing/test/testdata/azure-native-nested-types/docs/documentdb/_index.md b/pkg/codegen/testing/test/testdata/azure-native-nested-types/docs/documentdb/_index.md index d5d1cea18210..0a32a2a4c23d 100644 --- a/pkg/codegen/testing/test/testdata/azure-native-nested-types/docs/documentdb/_index.md +++ b/pkg/codegen/testing/test/testdata/azure-native-nested-types/docs/documentdb/_index.md @@ -13,7 +13,7 @@ Explore the resources and functions of the azure-native.documentdb module.

Resources

Package Details

diff --git a/pkg/codegen/testing/test/testdata/cyclic-types/docs/_index.md b/pkg/codegen/testing/test/testdata/cyclic-types/docs/_index.md index dd1672a8feab..80f112d1c313 100644 --- a/pkg/codegen/testing/test/testdata/cyclic-types/docs/_index.md +++ b/pkg/codegen/testing/test/testdata/cyclic-types/docs/_index.md @@ -13,7 +13,7 @@ no_edit_this_page: true

Resources

Package Details

diff --git a/pkg/codegen/testing/test/testdata/dash-named-schema/docs/_index.md b/pkg/codegen/testing/test/testdata/dash-named-schema/docs/_index.md index 01e7507bd903..b4b57bd9c2bf 100644 --- a/pkg/codegen/testing/test/testdata/dash-named-schema/docs/_index.md +++ b/pkg/codegen/testing/test/testdata/dash-named-schema/docs/_index.md @@ -18,7 +18,7 @@ no_edit_this_page: true

Resources

Package Details

diff --git a/pkg/codegen/testing/test/testdata/dash-named-schema/docs/submodule1/_index.md b/pkg/codegen/testing/test/testdata/dash-named-schema/docs/submodule1/_index.md index e6d6d5c115c8..c8cb736cd0bd 100644 --- a/pkg/codegen/testing/test/testdata/dash-named-schema/docs/submodule1/_index.md +++ b/pkg/codegen/testing/test/testdata/dash-named-schema/docs/submodule1/_index.md @@ -13,8 +13,8 @@ Explore the resources and functions of the foo-bar.submodule1 module.

Resources

Package Details

diff --git a/pkg/codegen/testing/test/testdata/dashed-import-schema/docs/_index.md b/pkg/codegen/testing/test/testdata/dashed-import-schema/docs/_index.md index 2a20f7e4e1e9..fe858ba6562a 100644 --- a/pkg/codegen/testing/test/testdata/dashed-import-schema/docs/_index.md +++ b/pkg/codegen/testing/test/testdata/dashed-import-schema/docs/_index.md @@ -18,7 +18,7 @@ no_edit_this_page: true

Resources

Package Details

diff --git a/pkg/codegen/testing/test/testdata/dashed-import-schema/docs/tree/v1/_index.md b/pkg/codegen/testing/test/testdata/dashed-import-schema/docs/tree/v1/_index.md index 1a7e0192b0db..681bbdb8d26c 100644 --- a/pkg/codegen/testing/test/testdata/dashed-import-schema/docs/tree/v1/_index.md +++ b/pkg/codegen/testing/test/testdata/dashed-import-schema/docs/tree/v1/_index.md @@ -13,8 +13,8 @@ Explore the resources and functions of the plant.tree/v1 module.

Resources

Package Details

diff --git a/pkg/codegen/testing/test/testdata/different-enum/docs/_index.md b/pkg/codegen/testing/test/testdata/different-enum/docs/_index.md index 2a20f7e4e1e9..fe858ba6562a 100644 --- a/pkg/codegen/testing/test/testdata/different-enum/docs/_index.md +++ b/pkg/codegen/testing/test/testdata/different-enum/docs/_index.md @@ -18,7 +18,7 @@ no_edit_this_page: true

Resources

Package Details

diff --git a/pkg/codegen/testing/test/testdata/different-enum/docs/tree/v1/_index.md b/pkg/codegen/testing/test/testdata/different-enum/docs/tree/v1/_index.md index 1a7e0192b0db..681bbdb8d26c 100644 --- a/pkg/codegen/testing/test/testdata/different-enum/docs/tree/v1/_index.md +++ b/pkg/codegen/testing/test/testdata/different-enum/docs/tree/v1/_index.md @@ -13,8 +13,8 @@ Explore the resources and functions of the plant.tree/v1 module.

Resources

Package Details

diff --git a/pkg/codegen/testing/test/testdata/enum-reference/docs/_index.md b/pkg/codegen/testing/test/testdata/enum-reference/docs/_index.md index edd463473d43..6b7d5642153f 100644 --- a/pkg/codegen/testing/test/testdata/enum-reference/docs/_index.md +++ b/pkg/codegen/testing/test/testdata/enum-reference/docs/_index.md @@ -18,7 +18,7 @@ no_edit_this_page: true

Resources

Package Details

diff --git a/pkg/codegen/testing/test/testdata/enum-reference/docs/myModule/_index.md b/pkg/codegen/testing/test/testdata/enum-reference/docs/myModule/_index.md index ca67b4e655a9..61a202d702d9 100644 --- a/pkg/codegen/testing/test/testdata/enum-reference/docs/myModule/_index.md +++ b/pkg/codegen/testing/test/testdata/enum-reference/docs/myModule/_index.md @@ -13,7 +13,7 @@ Explore the resources and functions of the example.myModule module.

Resources

Package Details

diff --git a/pkg/codegen/testing/test/testdata/external-enum/docs/_index.md b/pkg/codegen/testing/test/testdata/external-enum/docs/_index.md index 2e538a3da820..7f4e098c74af 100644 --- a/pkg/codegen/testing/test/testdata/external-enum/docs/_index.md +++ b/pkg/codegen/testing/test/testdata/external-enum/docs/_index.md @@ -13,8 +13,8 @@ no_edit_this_page: true

Resources

Package Details

diff --git a/pkg/codegen/testing/test/testdata/external-resource-schema/docs/_index.md b/pkg/codegen/testing/test/testdata/external-resource-schema/docs/_index.md index b6717385592e..e7957fa81c8f 100644 --- a/pkg/codegen/testing/test/testdata/external-resource-schema/docs/_index.md +++ b/pkg/codegen/testing/test/testdata/external-resource-schema/docs/_index.md @@ -13,15 +13,15 @@ no_edit_this_page: true

Resources

Functions

Package Details

diff --git a/pkg/codegen/testing/test/testdata/functions-secrets/docs/_index.md b/pkg/codegen/testing/test/testdata/functions-secrets/docs/_index.md index ae05ca39eeea..d365d1835157 100644 --- a/pkg/codegen/testing/test/testdata/functions-secrets/docs/_index.md +++ b/pkg/codegen/testing/test/testdata/functions-secrets/docs/_index.md @@ -13,12 +13,12 @@ no_edit_this_page: true

Resources

Functions

Package Details

diff --git a/pkg/codegen/testing/test/testdata/hyphen-url/docs/_index.md b/pkg/codegen/testing/test/testdata/hyphen-url/docs/_index.md index 0ac4b178b9a0..5fe0c9378e85 100644 --- a/pkg/codegen/testing/test/testdata/hyphen-url/docs/_index.md +++ b/pkg/codegen/testing/test/testdata/hyphen-url/docs/_index.md @@ -13,8 +13,8 @@ no_edit_this_page: true

Resources

Package Details

diff --git a/pkg/codegen/testing/test/testdata/naming-collisions/docs/_index.md b/pkg/codegen/testing/test/testdata/naming-collisions/docs/_index.md index 91ec072b77e0..164eea971dd0 100644 --- a/pkg/codegen/testing/test/testdata/naming-collisions/docs/_index.md +++ b/pkg/codegen/testing/test/testdata/naming-collisions/docs/_index.md @@ -13,9 +13,9 @@ no_edit_this_page: true

Resources

Package Details

diff --git a/pkg/codegen/testing/test/testdata/nested-module-thirdparty/docs/_index.md b/pkg/codegen/testing/test/testdata/nested-module-thirdparty/docs/_index.md index 9ddf5a370f31..4586b089fff6 100644 --- a/pkg/codegen/testing/test/testdata/nested-module-thirdparty/docs/_index.md +++ b/pkg/codegen/testing/test/testdata/nested-module-thirdparty/docs/_index.md @@ -18,7 +18,7 @@ no_edit_this_page: true

Resources

Package Details

diff --git a/pkg/codegen/testing/test/testdata/nested-module-thirdparty/docs/deeply/nested/module/_index.md b/pkg/codegen/testing/test/testdata/nested-module-thirdparty/docs/deeply/nested/module/_index.md index d125d16e6933..015f482c9bfa 100644 --- a/pkg/codegen/testing/test/testdata/nested-module-thirdparty/docs/deeply/nested/module/_index.md +++ b/pkg/codegen/testing/test/testdata/nested-module-thirdparty/docs/deeply/nested/module/_index.md @@ -13,7 +13,7 @@ Explore the resources and functions of the foo-bar.deeply/nested/module module.

Resources

Package Details

diff --git a/pkg/codegen/testing/test/testdata/nested-module/docs/_index.md b/pkg/codegen/testing/test/testdata/nested-module/docs/_index.md index 6cd3ce5d5f0f..223ef2d78490 100644 --- a/pkg/codegen/testing/test/testdata/nested-module/docs/_index.md +++ b/pkg/codegen/testing/test/testdata/nested-module/docs/_index.md @@ -18,7 +18,7 @@ no_edit_this_page: true

Resources

Package Details

diff --git a/pkg/codegen/testing/test/testdata/nested-module/docs/nested/module/_index.md b/pkg/codegen/testing/test/testdata/nested-module/docs/nested/module/_index.md index a6058f6cc14b..2d9904b66179 100644 --- a/pkg/codegen/testing/test/testdata/nested-module/docs/nested/module/_index.md +++ b/pkg/codegen/testing/test/testdata/nested-module/docs/nested/module/_index.md @@ -13,7 +13,7 @@ Explore the resources and functions of the foo.nested/module module.

Resources

Package Details

diff --git a/pkg/codegen/testing/test/testdata/other-owned/docs/_index.md b/pkg/codegen/testing/test/testdata/other-owned/docs/_index.md index 279529a2e380..26c184b07bd6 100644 --- a/pkg/codegen/testing/test/testdata/other-owned/docs/_index.md +++ b/pkg/codegen/testing/test/testdata/other-owned/docs/_index.md @@ -13,19 +13,19 @@ no_edit_this_page: true

Resources

Functions

Package Details

diff --git a/pkg/codegen/testing/test/testdata/output-funcs-edgeorder/docs/_index.md b/pkg/codegen/testing/test/testdata/output-funcs-edgeorder/docs/_index.md index 5df90309888b..7c8e75c630ae 100644 --- a/pkg/codegen/testing/test/testdata/output-funcs-edgeorder/docs/_index.md +++ b/pkg/codegen/testing/test/testdata/output-funcs-edgeorder/docs/_index.md @@ -13,13 +13,13 @@ no_edit_this_page: true

Resources

Functions

Package Details

diff --git a/pkg/codegen/testing/test/testdata/output-funcs-tfbridge20/docs/_index.md b/pkg/codegen/testing/test/testdata/output-funcs-tfbridge20/docs/_index.md index 7e92d1901739..14ae494865e6 100644 --- a/pkg/codegen/testing/test/testdata/output-funcs-tfbridge20/docs/_index.md +++ b/pkg/codegen/testing/test/testdata/output-funcs-tfbridge20/docs/_index.md @@ -13,13 +13,13 @@ no_edit_this_page: true

Resources

Functions

Package Details

diff --git a/pkg/codegen/testing/test/testdata/output-funcs/docs/_index.md b/pkg/codegen/testing/test/testdata/output-funcs/docs/_index.md index 9705dd472306..6ea4468eceea 100644 --- a/pkg/codegen/testing/test/testdata/output-funcs/docs/_index.md +++ b/pkg/codegen/testing/test/testdata/output-funcs/docs/_index.md @@ -13,21 +13,21 @@ no_edit_this_page: true

Resources

Functions

Package Details

diff --git a/pkg/codegen/testing/test/testdata/plain-and-default/docs/_index.md b/pkg/codegen/testing/test/testdata/plain-and-default/docs/_index.md index e9faa4521603..1eabeb0318bb 100644 --- a/pkg/codegen/testing/test/testdata/plain-and-default/docs/_index.md +++ b/pkg/codegen/testing/test/testdata/plain-and-default/docs/_index.md @@ -13,8 +13,8 @@ no_edit_this_page: true

Resources

Package Details

diff --git a/pkg/codegen/testing/test/testdata/plain-object-defaults/docs/_index.md b/pkg/codegen/testing/test/testdata/plain-object-defaults/docs/_index.md index 6d0011cb63da..cef4c7af9ad0 100644 --- a/pkg/codegen/testing/test/testdata/plain-object-defaults/docs/_index.md +++ b/pkg/codegen/testing/test/testdata/plain-object-defaults/docs/_index.md @@ -19,14 +19,14 @@ no_edit_this_page: true

Resources

Functions

Package Details

diff --git a/pkg/codegen/testing/test/testdata/plain-object-disable-defaults/docs/_index.md b/pkg/codegen/testing/test/testdata/plain-object-disable-defaults/docs/_index.md index 6d0011cb63da..cef4c7af9ad0 100644 --- a/pkg/codegen/testing/test/testdata/plain-object-disable-defaults/docs/_index.md +++ b/pkg/codegen/testing/test/testdata/plain-object-disable-defaults/docs/_index.md @@ -19,14 +19,14 @@ no_edit_this_page: true

Resources

Functions

Package Details

diff --git a/pkg/codegen/testing/test/testdata/plain-schema-gh6957/docs/_index.md b/pkg/codegen/testing/test/testdata/plain-schema-gh6957/docs/_index.md index 1418b701bd43..656cd1230473 100644 --- a/pkg/codegen/testing/test/testdata/plain-schema-gh6957/docs/_index.md +++ b/pkg/codegen/testing/test/testdata/plain-schema-gh6957/docs/_index.md @@ -13,8 +13,8 @@ no_edit_this_page: true

Resources

Package Details

diff --git a/pkg/codegen/testing/test/testdata/provider-config-schema/docs/_index.md b/pkg/codegen/testing/test/testdata/provider-config-schema/docs/_index.md index c4b5d9778cee..da39de4205c9 100644 --- a/pkg/codegen/testing/test/testdata/provider-config-schema/docs/_index.md +++ b/pkg/codegen/testing/test/testdata/provider-config-schema/docs/_index.md @@ -13,12 +13,12 @@ no_edit_this_page: true

Resources

Functions

Package Details

diff --git a/pkg/codegen/testing/test/testdata/regress-8403/docs/_index.md b/pkg/codegen/testing/test/testdata/regress-8403/docs/_index.md index 20654b6c95ad..9a5ca92adf00 100644 --- a/pkg/codegen/testing/test/testdata/regress-8403/docs/_index.md +++ b/pkg/codegen/testing/test/testdata/regress-8403/docs/_index.md @@ -13,12 +13,12 @@ no_edit_this_page: true

Resources

Functions

Package Details

diff --git a/pkg/codegen/testing/test/testdata/regress-node-8110/docs/_index.md b/pkg/codegen/testing/test/testdata/regress-node-8110/docs/_index.md index 7b7e48c2dfd0..4766a1438c12 100644 --- a/pkg/codegen/testing/test/testdata/regress-node-8110/docs/_index.md +++ b/pkg/codegen/testing/test/testdata/regress-node-8110/docs/_index.md @@ -13,12 +13,12 @@ no_edit_this_page: true

Resources

Functions

Package Details

diff --git a/pkg/codegen/testing/test/testdata/replace-on-change/docs/_index.md b/pkg/codegen/testing/test/testdata/replace-on-change/docs/_index.md index 5a9f221065af..e6fdf3c212ac 100644 --- a/pkg/codegen/testing/test/testdata/replace-on-change/docs/_index.md +++ b/pkg/codegen/testing/test/testdata/replace-on-change/docs/_index.md @@ -13,12 +13,12 @@ no_edit_this_page: true

Resources

Package Details

diff --git a/pkg/codegen/testing/test/testdata/resource-args-python-case-insensitive/docs/_index.md b/pkg/codegen/testing/test/testdata/resource-args-python-case-insensitive/docs/_index.md index 6c0e125da670..91ff51991be8 100644 --- a/pkg/codegen/testing/test/testdata/resource-args-python-case-insensitive/docs/_index.md +++ b/pkg/codegen/testing/test/testdata/resource-args-python-case-insensitive/docs/_index.md @@ -13,9 +13,9 @@ no_edit_this_page: true

Resources

Package Details

diff --git a/pkg/codegen/testing/test/testdata/resource-args-python/docs/_index.md b/pkg/codegen/testing/test/testdata/resource-args-python/docs/_index.md index 6c0e125da670..91ff51991be8 100644 --- a/pkg/codegen/testing/test/testdata/resource-args-python/docs/_index.md +++ b/pkg/codegen/testing/test/testdata/resource-args-python/docs/_index.md @@ -13,9 +13,9 @@ no_edit_this_page: true

Resources

Package Details

diff --git a/pkg/codegen/testing/test/testdata/resource-property-overlap/docs/_index.md b/pkg/codegen/testing/test/testdata/resource-property-overlap/docs/_index.md index 155219bea50f..7799816402a9 100644 --- a/pkg/codegen/testing/test/testdata/resource-property-overlap/docs/_index.md +++ b/pkg/codegen/testing/test/testdata/resource-property-overlap/docs/_index.md @@ -13,8 +13,8 @@ no_edit_this_page: true

Resources

Package Details

diff --git a/pkg/codegen/testing/test/testdata/secrets/docs/_index.md b/pkg/codegen/testing/test/testdata/secrets/docs/_index.md index d1ff3210bdeb..2af081f0aa12 100644 --- a/pkg/codegen/testing/test/testdata/secrets/docs/_index.md +++ b/pkg/codegen/testing/test/testdata/secrets/docs/_index.md @@ -13,8 +13,8 @@ no_edit_this_page: true

Resources

Package Details

diff --git a/pkg/codegen/testing/test/testdata/simple-enum-schema/docs/_index.md b/pkg/codegen/testing/test/testdata/simple-enum-schema/docs/_index.md index 2a20f7e4e1e9..fe858ba6562a 100644 --- a/pkg/codegen/testing/test/testdata/simple-enum-schema/docs/_index.md +++ b/pkg/codegen/testing/test/testdata/simple-enum-schema/docs/_index.md @@ -18,7 +18,7 @@ no_edit_this_page: true

Resources

Package Details

diff --git a/pkg/codegen/testing/test/testdata/simple-enum-schema/docs/tree/v1/_index.md b/pkg/codegen/testing/test/testdata/simple-enum-schema/docs/tree/v1/_index.md index 1a7e0192b0db..681bbdb8d26c 100644 --- a/pkg/codegen/testing/test/testdata/simple-enum-schema/docs/tree/v1/_index.md +++ b/pkg/codegen/testing/test/testdata/simple-enum-schema/docs/tree/v1/_index.md @@ -13,8 +13,8 @@ Explore the resources and functions of the plant.tree/v1 module.

Resources

Package Details

diff --git a/pkg/codegen/testing/test/testdata/simple-methods-schema-single-value-returns/docs/_index.md b/pkg/codegen/testing/test/testdata/simple-methods-schema-single-value-returns/docs/_index.md index 7aa38f1d8d12..50fb035417f9 100644 --- a/pkg/codegen/testing/test/testdata/simple-methods-schema-single-value-returns/docs/_index.md +++ b/pkg/codegen/testing/test/testdata/simple-methods-schema-single-value-returns/docs/_index.md @@ -13,8 +13,8 @@ no_edit_this_page: true

Resources

Package Details

diff --git a/pkg/codegen/testing/test/testdata/simple-methods-schema/docs/_index.md b/pkg/codegen/testing/test/testdata/simple-methods-schema/docs/_index.md index 7aa38f1d8d12..50fb035417f9 100644 --- a/pkg/codegen/testing/test/testdata/simple-methods-schema/docs/_index.md +++ b/pkg/codegen/testing/test/testdata/simple-methods-schema/docs/_index.md @@ -13,8 +13,8 @@ no_edit_this_page: true

Resources

Package Details

diff --git a/pkg/codegen/testing/test/testdata/simple-plain-schema-with-root-package/docs/_index.md b/pkg/codegen/testing/test/testdata/simple-plain-schema-with-root-package/docs/_index.md index 2e538a3da820..7f4e098c74af 100644 --- a/pkg/codegen/testing/test/testdata/simple-plain-schema-with-root-package/docs/_index.md +++ b/pkg/codegen/testing/test/testdata/simple-plain-schema-with-root-package/docs/_index.md @@ -13,8 +13,8 @@ no_edit_this_page: true

Resources

Package Details

diff --git a/pkg/codegen/testing/test/testdata/simple-plain-schema/docs/_index.md b/pkg/codegen/testing/test/testdata/simple-plain-schema/docs/_index.md index 6f02cbc4474e..2c32399421f5 100644 --- a/pkg/codegen/testing/test/testdata/simple-plain-schema/docs/_index.md +++ b/pkg/codegen/testing/test/testdata/simple-plain-schema/docs/_index.md @@ -13,13 +13,13 @@ no_edit_this_page: true

Resources

Functions

Package Details

diff --git a/pkg/codegen/testing/test/testdata/simple-resource-schema-custom-pypackage-name/docs/_index.md b/pkg/codegen/testing/test/testdata/simple-resource-schema-custom-pypackage-name/docs/_index.md index b163d04ae7d8..a5b7fd18e919 100644 --- a/pkg/codegen/testing/test/testdata/simple-resource-schema-custom-pypackage-name/docs/_index.md +++ b/pkg/codegen/testing/test/testdata/simple-resource-schema-custom-pypackage-name/docs/_index.md @@ -13,14 +13,14 @@ no_edit_this_page: true

Resources

Functions

Package Details

diff --git a/pkg/codegen/testing/test/testdata/simple-resource-schema/docs/_index.md b/pkg/codegen/testing/test/testdata/simple-resource-schema/docs/_index.md index 229e42ecdc3d..d763c396f429 100644 --- a/pkg/codegen/testing/test/testdata/simple-resource-schema/docs/_index.md +++ b/pkg/codegen/testing/test/testdata/simple-resource-schema/docs/_index.md @@ -13,19 +13,19 @@ no_edit_this_page: true

Resources

Functions

Package Details

diff --git a/pkg/codegen/testing/test/testdata/simple-yaml-schema/docs/_index.md b/pkg/codegen/testing/test/testdata/simple-yaml-schema/docs/_index.md index ebf7803bc27b..cfb02d6cb7ba 100644 --- a/pkg/codegen/testing/test/testdata/simple-yaml-schema/docs/_index.md +++ b/pkg/codegen/testing/test/testdata/simple-yaml-schema/docs/_index.md @@ -13,15 +13,15 @@ no_edit_this_page: true

Resources

Functions

Package Details