-
-
Notifications
You must be signed in to change notification settings - Fork 11
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
Bug - Parsing of new decorators doesn't work #75
Comments
Debugging strategy: If the initial parsing does not succeed, you can comment out the work being done in a file called fix-borked-yuidocs.js or something like that. Then parsing will finish, and when you serve it locally, you will see broken code blocks wherever decorators are used Overall flow: Set the version number in ember.js package.json to something fake, like 4.0.0. Then...
Always remove tmp when you make changes. |
@rwjblue @pzuraq @chancancode for visibility |
Digged into this a bit & figured that the reason this doesn't work is because the |
I'm working on a better fix for this upstream in |
Fix is up here: cibernox/ember-cli-yuidoc#52 |
We can definitely get 3.12, 3.14, and 3.15-beta's out but I'm not sure about re-releasing patch releases of unsupported versions (3.10, 3.11, and 3.13 are all unsupported). |
Could we possibly patch the docs directly, without doing a release? I'm not familiar with how the docs artifacts get generated and stored, but if |
We source the yuidoc json files from npm via unpkg. Since this isn't a
documentation issue but more of a tooling issue, I think I can work around
it & make it work without having to release any patch version.
I'll generate the docs locally for each of those versions & use it in this
app.
*Regards,*
Siva
…On Wed, Oct 30, 2019 at 9:17 PM Chris Garrett ***@***.***> wrote:
Could we possibly patch the docs directly, without doing a release? I'm
not familiar with how the docs artifacts get generated and stored, but if
ember-cli-yuidoc does a patch release, we shouldn't need to actually
change anything in ember-source or ember-data, in theory, we could just
regenerate the docs and publish those (which, tbh, might be a nice thing in
general to be able to do for corrections/fixes)
—
You are receiving this because you were assigned.
Reply to this email directly, view it on GitHub
<#75?email_source=notifications&email_token=AAETPVJBYFWG2BQB5YFYZW3QRGUBBA5CNFSM4JFD6652YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOECUWVXA#issuecomment-547973852>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAETPVMGZLD6NAUJ3ABRTSTQRGUBBANCNFSM4JFD665Q>
.
|
Could this be an issue if we ever need to regenerate those docs in the future? We should document what that process looks like, so we know about these versions of Ember where the docs need to manually generated. Either that, or potentially we should keep the other patch as well, specifically for those versions of docs. |
I'll document the process around this.
Although I'll generate the docs locally, I won't change the versions in
those docs. So in case we release a newer patch version for any of those
releases on npm, that'll be the one that'll be considered by this app.
Regards,
Siva
…On Wed, 30 Oct, 2019, 9:25 pm Chris Garrett, ***@***.***> wrote:
Could this be an issue if we ever need to regenerate those docs in the
future? We should document what that process looks like, so we know about
these versions of Ember where the docs need to manually generated. Either
that, or potentially we should keep the other patch as well, specifically
for those versions of docs.
—
You are receiving this because you were assigned.
Reply to this email directly, view it on GitHub
<#75?email_source=notifications&email_token=AAETPVMTGUFXJNJ37EYQHX3QRGU5HA5CNFSM4JFD6652YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOECUXSJQ#issuecomment-547977510>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAETPVK2TMEWDZK6F6F47B3QRGU5HANCNFSM4JFD665Q>
.
|
In the latest work for Ember Octane, there are some new decorators that don't parse correctly. For example, if you use
@tracked
in a code sample, it doesn't render. However, we have used decorators in other parts of the guides successfully. It also seems that the processing itself hangs.See https://github.com/ember-learn/ember-jsonapi-docs/blob/5c3d9d81107ef4ec8e1fe016de8be3c3c214121b/lib/fix-borked-yuidoc-files.js for how this was handled for other cases.
The text was updated successfully, but these errors were encountered: