Skip to content

how do I get the new parameters in v0.15.0? #1097

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

Closed
zyziyun opened this issue Sep 19, 2019 · 2 comments
Closed

how do I get the new parameters in v0.15.0? #1097

zyziyun opened this issue Sep 19, 2019 · 2 comments

Comments

@zyziyun
Copy link

zyziyun commented Sep 19, 2019

hello,
I want to add a plugin(such as: typedoc-plugin-sourcefile-url). The plugin add a declaration params. But in typedoc, I can not get value.
I debug code found a problem with the execution order.

image

image

image

The first thing is find options' value. this time, don't have plugins param.
Then load plugin, re-execute function, but the first params is just setValue's params.

So how do I get extra parameters in plugin ? thank you~

@Gerrit0
Copy link
Collaborator

Gerrit0 commented Sep 21, 2019

I believe this is caused by #875, and when that is fixed this should automatically be fixed. Unfortunately plugins right now aren't well documented & frankly I'm not sure anyone still working on the project understands how they were intended to interact with the rest of the application.

@Gerrit0
Copy link
Collaborator

Gerrit0 commented Jan 12, 2020

This has been fixed, application.options.getValue('name') will correctly work for plugin options in v0.16.0.

@Gerrit0 Gerrit0 closed this as completed Jan 12, 2020
@Gerrit0 Gerrit0 removed the bug label Feb 2, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants