Closed stack72 closed 5 years ago
@justinvp could you PTAL? I assume this was changed as part of the website switch over, but I don't know enough about how the API doc generation works to know where to look.
@ellismg, can you take a look? It looks like your changes in 8e3906c23b334775e0c9c3287efebb63abaf88f7 (#1298) is the cause of the regression.
If I checkout the commit prior, I'm able to generate the docs:
git checkout 8e3906c23b334775e0c9c3287efebb63abaf88f7^
PKGS=aws ./scripts/run_typedoc.sh
aws
Generating typedocs
~/go/src/github.com/pulumi/pulumi-aws ~/go/src/github.com/pulumi/docs
Removing vendor/
ENSURE:
GO111MODULE=on go mod vendor
github.com/terraform-providers/terraform-provider-aws
BUILD:
go install -ldflags "-X github.com/pulumi/pulumi-aws/pkg/version.Version=v0.18.21" github.com/pulumi/pulumi-aws/cmd/pulumi-resource-aws
go install -ldflags "-X github.com/pulumi/pulumi-aws/pkg/version.Version=v0.18.21" github.com/pulumi/pulumi-aws/cmd/pulumi-tfgen-aws
...
If I checkout the commit from #1298 (and anything later), I get the same issue that Paul is seeing:
git checkout 8e3906c23b334775e0c9c3287efebb63abaf88f7
PKGS=aws ./scripts/run_typedoc.sh
aws
Generating typedocs
~/go/src/github.com/pulumi/pulumi-aws/sdk/nodejs ~/go/src/github.com/pulumi/docs
make: *** No rule to make target `ensure'. Stop.
Using TypeScript 3.3.4000 from /Users/justin/go/src/github.com/pulumi/docs/node_modules/typedoc/node_modules/typescript/lib
Error: /Users/justin/go/src/github.com/pulumi/pulumi-aws/sdk/nodejs/acm/certificate.ts(3)
Cannot find module '@pulumi/pulumi'.
...
Ah, @ellismg, I didn't realize you're on vacation. I'll take a look at fixing the script.
I am unable to generate any documentation for the providers. I initially thought it was because of a new provider I created...
But its the same for the AWS provider as well
This has only started happening in the past week for me so something may have changed that I am not doing correctly