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
Fix #1837 -- nikola new_post --available-compilers #1840
Conversation
Also accessible as -F, and in nikola new_page. Signed-off-by: Chris Warrick <kwpolska@gmail.com>
We can add a friendly name field for plugins, then :-) |
Also, we should classify plugins per type, I think. It can be done inspecting the code. |
What sort of “type” do you mean? |
POSTLOGGER = utils.get_logger('new_post', utils.STDERR_HANDLER) | ||
PAGELOGGER = utils.get_logger('new_page', utils.STDERR_HANDLER) | ||
LOGGER = POSTLOGGER | ||
|
||
|
||
def filter_post_pages(compiler, is_post, compilers, post_pages, compiler_names): | ||
def filter_post_pages(compiler, is_post, compilers, post_pages, compiler_names, compilers_raw=None): |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@ralsina: are we okay with an API change here (drop =None
)?
Signed-off-by: Chris Warrick <kwpolska@gmail.com>
Friendly names added. Note that the API for |
Compiler/task/rest extension/etc. |
I'm not sure I understand… This plugin adds a new feature that handles Chris Warrick https://chriswarrick.com
|
@Kwpolska this sends the user to the plugins site looking for compiler plugins. We have enough plugins that actually finding the compilers takes a little while. |
We could just add a new field to |
Fix #1837 -- nikola new_post --available-compilers
This is #1837.
Also accessible as -F, and in nikola new_page.
Sample output (from my own blog):
(there is no “friendly name” field, cannot do that)
Signed-off-by: Chris Warrick kwpolska@gmail.com