Fork me on GitHub!

Bernard Sample

This is a demo site for Bernard, generated as part of Sphinx Themes Gallery.


This sample documentation was generated on Mar 24, 2023, and is rebuilt weekly.


  1. Install this theme:

    $ pip install sphinx-bernard-theme
  2. Set the following in your existing Sphinx documentation’s file:

    import sphinx_bernard_theme
    html_theme = 'sphinx_bernard_theme'
    html_theme_path = [sphinx_bernard_theme.get_html_theme_path()]
  3. Build your Sphinx documentation with the new theme! [1]


This theme does not have any hosted-on-the-web documentation.


The Kitchen Sink section contains pages that contains basically everything that you can with Sphinx “out-of-the-box”.

Browsing through that section should give you a good idea of how stuff looks in this theme.