-
Notifications
You must be signed in to change notification settings - Fork 95
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
[hierarchical_pages] nikola new_page doesn't work with hierarchical pages #350
Comments
Indeed new_pages doesn't know anything about that plugin, we should add a
note in its README
OTOH, new_page doesn't really do much, you could just create the pages
manually.
…On Thu, Sep 10, 2020 at 1:00 AM Daniel Shapero ***@***.***> wrote:
I'm using the suggested configuration for the hierarchical pages plugin,
where PAGES = () and instead that configuration is moved into a
HIERARCHICAL_PAGES variable. When I try to run nikola new_page, I get the
following error message:
[2020-09-09T20:51:24Z] ERROR: new_page: Can't find a way, using your configuration, to create a page in format rest. You may want to tweak COMPILERS or PAGES in conf.py
I'm guessing this is because I've removed everything from PAGES, but when
I restore to what it was before I get a bunch of errors because it collides
with HIERARCHICAL_PAGES. I can always make a new page with the right
metadata by hand, but it's more convenient to have the command for it.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
<#350>, or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAAAMKZTMB7YQ7D5HJSKPU3SFBFM7ANCNFSM4RECHAKA>
.
|
On a footnote, I don't understand at all what that plugin does from reading
the README
…On Thu, Sep 10, 2020 at 6:36 AM Roberto Alsina ***@***.***> wrote:
Indeed new_pages doesn't know anything about that plugin, we should add a
note in its README
OTOH, new_page doesn't really do much, you could just create the pages
manually.
On Thu, Sep 10, 2020 at 1:00 AM Daniel Shapero ***@***.***>
wrote:
> I'm using the suggested configuration for the hierarchical pages plugin,
> where PAGES = () and instead that configuration is moved into a
> HIERARCHICAL_PAGES variable. When I try to run nikola new_page, I get
> the following error message:
>
> [2020-09-09T20:51:24Z] ERROR: new_page: Can't find a way, using your configuration, to create a page in format rest. You may want to tweak COMPILERS or PAGES in conf.py
>
> I'm guessing this is because I've removed everything from PAGES, but
> when I restore to what it was before I get a bunch of errors because it
> collides with HIERARCHICAL_PAGES. I can always make a new page with the
> right metadata by hand, but it's more convenient to have the command for it.
>
> —
> You are receiving this because you are subscribed to this thread.
> Reply to this email directly, view it on GitHub
> <#350>, or unsubscribe
> <https://github.com/notifications/unsubscribe-auth/AAAAMKZTMB7YQ7D5HJSKPU3SFBFM7ANCNFSM4RECHAKA>
> .
>
|
@ralsina it not only allows to change the filename depending on the language, but also the path leading to that file. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I'm using the suggested configuration for the hierarchical pages plugin, where
PAGES = ()
and instead that configuration is moved into aHIERARCHICAL_PAGES
variable. When I try to runnikola new_page
, I get the following error message:I'm guessing this is because I've removed everything from
PAGES
, but when I restore to what it was before I get a bunch of errors because it collides withHIERARCHICAL_PAGES
. I can always make a new page with the right metadata by hand, but it's more convenient to have the command for it.The text was updated successfully, but these errors were encountered: