Skip to content

Commit

Permalink
Propose logo for PyNWB (NeurodataWithoutBorders#1461)
Browse files Browse the repository at this point in the history
* Propose logo for PyNWB

* Fix image page in file tutorial

* Fix logo used in Latex

* Add logo to README
  • Loading branch information
oruebel authored Apr 22, 2022
1 parent 79183f2 commit 35b635d
Show file tree
Hide file tree
Showing 9 changed files with 10 additions and 9 deletions.
8 changes: 4 additions & 4 deletions README.rst
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
=====
PyNWB
=====
.. image:: docs/source/figures/logo_pynwb.png
:width: 200px

Documentation of PyNWB can be found at https://pynwb.readthedocs.io
PyNWB is a Python package for working with NWB files. The PyNWB
documentation can be found at https://pynwb.readthedocs.io

Latest Release
==============
Expand Down
2 changes: 1 addition & 1 deletion docs/gallery/general/file.py
Original file line number Diff line number Diff line change
Expand Up @@ -603,7 +603,7 @@
# text description about the image and 2) ``resolution`` parameter to specify the *pixels / cm* resolution
# of the image.

img = Image.open("docs/source/logo.png") # an example image
img = Image.open("docs/source/figures/logo_nwb.png") # an example image

# you can store an RGBA image
rgba_logo = RGBAImage(name="RGBA_logo", data=np.array(img))
Expand Down
9 changes: 5 additions & 4 deletions docs/source/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -161,7 +161,8 @@
# further. For a list of options available for each theme, see the
# documentation.
html_theme_options = {
"style_nav_header_background": "#AFD2E8"
# "style_nav_header_background": "#AFD2E8"
"style_nav_header_background": "#000000"
}

# These paths are either relative to html_static_path
Expand All @@ -183,12 +184,12 @@
# The name of an image file (relative to this directory) to place at the top
# of the sidebar.
# html_logo = None
html_logo = 'logo.png'
html_logo = 'figures/logo_pynwb_with_margin.png'

# The name of an image file (within the static path) to use as favicon of the
# docs. This file should be a Windows icon file (.ico) being 16x16 or 32x32
# pixels large.
html_favicon = 'favicon_96.png'
html_favicon = 'figures/favicon_96.png'

# Add any paths that contain custom static files (such as style sheets) here,
# relative to this directory. They are copied after the builtin static files,
Expand Down Expand Up @@ -262,7 +263,7 @@

# The name of an image file (relative to this directory) to place at the top of
# the title page.
latex_logo = 'logo.pdf'
latex_logo = 'figures/logo_pynwb_with_margin.png'

# For "manual" documents, if this is true, then toplevel headings are parts,
# not chapters.
Expand Down
File renamed without changes
File renamed without changes.
File renamed without changes
Binary file added docs/source/figures/logo_pynwb.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/source/figures/logo_pynwb.pptx
Binary file not shown.
Binary file added docs/source/figures/logo_pynwb_with_margin.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 35b635d

Please sign in to comment.