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

How to make the sidebar html in ablog #3

Closed
hotchilipowder opened this issue Apr 17, 2023 · 4 comments
Closed

How to make the sidebar html in ablog #3

hotchilipowder opened this issue Apr 17, 2023 · 4 comments
Labels
extension Bug or improvements for Sphinx extensions

Comments

@hotchilipowder
Copy link

Thank you for offering this beautiful theme for documentation theme for Sphinx.
But I am using ablog for my blog system, I want to use this theme. But the sidebar is not working.
How can I have the sidebar?

nosidebar_page = ['nosidebar.html']
blog_post_page = [ # Provided by sphinx_book_theme
                  # 'sidebar-logo.html', 'search-field.html',
                  # Provided by ABlog
                  'postcard.html', 'recentposts.html', 'tagcloud.html',
                  'categories.html', 'archives.html']

html_sidebars = {
    'index**': blog_post_page,
    'notes/**': blog_post_page, # ABlog's "All Posts" page
    'blog': blog_post_page, # ABlog's "All Posts" page
    'blog/**': blog_post_page, # Inlucde posts and autogenerated pages

}

This configuration works in sphinx-book-theme, but not in shibuya.

@lepture lepture added the extension Bug or improvements for Sphinx extensions label Dec 17, 2023
@sakarimov
Copy link

i also have same problem, is there any workaround to this issue?

@lepture
Copy link
Owner

lepture commented Jun 23, 2024

@lepture
Copy link
Owner

lepture commented Jun 23, 2024

Oh, It is ablog's bug. You can use the main branch code of ablog, it works well.

@lepture
Copy link
Owner

lepture commented Aug 26, 2024

ablog is updated, it should be working now.

@lepture lepture closed this as completed Aug 26, 2024
This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
extension Bug or improvements for Sphinx extensions
Projects
None yet
Development

No branches or pull requests

3 participants