lepture / shibuya

A responsive, good looking with modern design documentation theme for Sphinx, with great supports for many sphinx extensions.
https://shibuya.lepture.com
BSD 3-Clause "New" or "Revised" License
162 stars 5 forks source link

How to make the sidebar html in ablog #3

Open hotchilipowder opened 1 year ago

hotchilipowder commented 1 year ago

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.

sakarimov commented 4 weeks ago

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

lepture commented 3 weeks ago

@sakarimov @hotchilipowder is https://shibuya.lepture.com/customisation/sidebar/#right-sidebar working?

lepture commented 3 weeks ago

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