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

stray output in python doc #350

Closed
Tracked by #10302
ericrudder opened this issue Feb 21, 2019 · 9 comments
Closed
Tracked by #10302

stray output in python doc #350

ericrudder opened this issue Feb 21, 2019 · 9 comments
Assignees
Labels
area/api-docs Auto-generated API documentartion area/docs Improvements or additions to documentation kind/bug Some behavior is incorrect or out of spec language/python resolution/fixed This issue was fixed

Comments

@ericrudder
Copy link
Member

i noticed some extra characters while working on a sample.

note the /* strays in the https://pulumi.io/reference/pkg/python/pulumi_vsphere; according to @swgillespie, this is unique enough for a new issue.

@ericrudder ericrudder added the area/docs Improvements or additions to documentation label Feb 21, 2019
@swgillespie swgillespie added this to the 0.23 milestone Mar 25, 2019
@joeduffy joeduffy assigned ellismg and unassigned swgillespie May 28, 2019
@ellismg ellismg modified the milestones: 0.23, 0.24 May 30, 2019
@ellismg ellismg assigned justinvp and unassigned ellismg Jun 10, 2019
@ellismg
Copy link
Contributor

ellismg commented Jun 10, 2019

@justinvp Is this something you could take a look at?

@justinvp justinvp modified the milestones: 0.24, 0.25 Jun 28, 2019
@joeduffy joeduffy assigned bermudezmt and unassigned justinvp Jul 9, 2019
@justinvp justinvp assigned justinvp and unassigned bermudezmt Jul 29, 2019
@justinvp justinvp modified the milestones: 0.25, 0.26 Jul 29, 2019
@justinvp justinvp assigned praneetloke and unassigned justinvp Aug 9, 2019
@lukehoban lukehoban modified the milestones: 0.26, 0.27 Aug 19, 2019
@stack72
Copy link
Contributor

stack72 commented Sep 9, 2019

So FYI, this is because there is an anchor link at the end of this (Look at the star!) https://www.terraform.io/docs/providers/vsphere/r/compute_cluster.html#ha_admission_control_resource_percentage_auto_compute

@praneetloke
Copy link

@stack72 ah good catch!

@praneetloke
Copy link

So it turns out that these "stray" \* aren't just some insignificant characters. Like @stack72 pointed out, these are anchor links in the backing TF provider doc. Specifically they link to this section, which indicates that the properties marked with * have a special vSphere version requirement. So I don't think we can just strip these. They have a significance. We don't have the version requirements section in our docs. I am thinking we could link these asterisk's to that section in TF's docs. I don't have a better idea.

cc @justinvp

@praneetloke
Copy link

Also, note that the version requirement is only for the vsphere_compute_cluster resource, which is this class in our Python docs. By the way, this is a problem in the NodeJS docs too. For example, https://www.pulumi.com/docs/reference/pkg/nodejs/pulumi/vsphere/#ComputeCluster-drsEnablePredictiveDrs.

@justinvp
Copy link
Member

This does look like a more involved fix is required. While I'd love to fix this, I think some of the other fixes we want to do this milestone have broader impact, so I'd be OK with deferring this for a bit.

@praneetloke praneetloke modified the milestones: 0.27, 0.28 Sep 11, 2019
@praneetloke
Copy link

I have pushed this out to the next milestone for now.

@praneetloke praneetloke modified the milestones: 0.28, 0.29 Oct 14, 2019
@praneetloke praneetloke removed this from the 0.29 milestone Nov 5, 2019
@susanev susanev added the kind/bug Some behavior is incorrect or out of spec label Apr 2, 2022
@cnunciato cnunciato added resolution/no-repro This issue wasn't able to be reproduced and removed resolution/no-repro This issue wasn't able to be reproduced labels Jul 22, 2023
@iwahbe iwahbe transferred this issue from pulumi/docs Oct 31, 2023
@joeduffy joeduffy added the area/api-docs Auto-generated API documentartion label Nov 9, 2023
@mjeffryes mjeffryes added the resolution/fixed This issue was fixed label Sep 26, 2024
@mjeffryes mjeffryes self-assigned this Sep 26, 2024
@mjeffryes
Copy link
Member

mjeffryes commented Sep 26, 2024

We strip these trailing '*' characters in docs now. That does mean that the footnote is not included, however, this footnote is actually irrelevant to the majority of the parameters where the upstream docs link to it, so I think this is strictly better.

@github-project-automation github-project-automation bot moved this from 🧳 Backlog to 🏁 Done in Docs 📚 Sep 26, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/api-docs Auto-generated API documentartion area/docs Improvements or additions to documentation kind/bug Some behavior is incorrect or out of spec language/python resolution/fixed This issue was fixed
Projects
Status: 🏁 Done
Development

No branches or pull requests