Instructions to generate API docs have a few hiccups #11259
Labels
kind/engineering
Work that is not visible to an external user
kind/enhancement
Improvements or new features
Problem description
Following the instructions in
README.md
to generate API docs, I ran into a couple small issues.First,
Typedoc
needs to be installed, and while it's mentioned that it is used in the dependencies section, it doesn't state that it needs to be installed. That's a minor nit.Later, the
./scripts/run_typedoc.sh
seems to requiresudo
while generatingcloud
API docs.Example: Error output
but running via
sudo
gets past that issue.But then while generating docs for the
terraform
repo we run into the need forpulumictl
, in the which is also not mentioned in the requirements section. It's unclear if this missing dependency is a breaking issue or not because despite the errors it exits successfully. Will have to look at the output to see if the generate docs are correct or not whenpulumictl
is not present. I installed it anyway and was able to get a non-error run but haven't compared the output between the two.Example: pulumictl requirement error
installing the
pulumictl
tool gives this output:Suggestions for a fix
Update the documentation to mention the additional requirements.
The text was updated successfully, but these errors were encountered: