Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Generate Pulumi Package API documentation inside the repository #223

Closed
Tracked by #222
infin8x opened this issue Oct 19, 2021 · 4 comments
Closed
Tracked by #222

Generate Pulumi Package API documentation inside the repository #223

infin8x opened this issue Oct 19, 2021 · 4 comments
Assignees
Labels
kind/enhancement Improvements or new features resolution/wont-fix This issue won't be fixed

Comments

@infin8x
Copy link
Contributor

infin8x commented Oct 19, 2021

Hello!

  • Vote on this issue by adding a 👍 reaction
  • If you want to implement this feature, comment to let us know (we'll work with you on design, scheduling, etc.)

Issue details

Today, the API documentation for a Pulumi Package is generated and published in https://github.com/pulumi/docs. As part of #222 and in preparation for #206, we should enable a Pulumi Package's API documentation to be generated and stored inside the package's repository, ideally as part of any build and publish processes/scripts/workflows we provide.

@infin8x infin8x added the kind/enhancement Improvements or new features label Oct 19, 2021
@EvanBoyle
Copy link

@praneetloke can you write up the plan here for what needs to happen?

@EvanBoyle
Copy link

@praneetloke I think there is some confusion here. The issue as titled and written is about moving api docs to be co-located with component/package source code.

The plan you've written up here sounds like you want to move all API docs from docs to registry. Can we clarify here?

@praneetloke
Copy link
Contributor

Uhh yeah re-reading the description and this issue is not what we are looking to do. I totally missed this part:

we should enable a Pulumi Package's API documentation to be generated and stored inside the package's repository

That would be quite an under-taking and would require us to spend more time as a team thinking about that. I am going to delete my original comment and open a separate issue. It'll be for solving the spread of package documentation between the registry and the docs repos as an immediate problem.

@iwahbe iwahbe added the resolution/wont-fix This issue won't be fixed label Nov 7, 2024
@iwahbe
Copy link
Member

iwahbe commented Nov 7, 2024

We don't want to go in this direction anymore. We believe that the package should be responsible for serving a schema, and the registry should be responsible for transforming that schema into docs pages.

@iwahbe iwahbe closed this as completed Nov 7, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/enhancement Improvements or new features resolution/wont-fix This issue won't be fixed
Projects
None yet
Development

No branches or pull requests

5 participants