Skip to content

Commit

Permalink
Add the AdaCore logo in the doc
Browse files Browse the repository at this point in the history
Also update the background color of the table of content and add a
favicon.

eng/recordflux/RecordFlux#1463
  • Loading branch information
JulienBortolussiAda authored and senier committed Nov 16, 2023
1 parent 8dccac9 commit e7fe635
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 4 deletions.
Binary file added doc/images/adacore-logo-white.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 doc/images/favicon.ico
Binary file not shown.
7 changes: 5 additions & 2 deletions doc/language_reference/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -49,9 +49,12 @@
html_theme = "sphinx_rtd_theme"
html_static_path = ["../_static"]
html_css_files = ["css/custom.css"]
html_logo = ""
html_favicon = ""
html_logo = "../images/adacore-logo-white.png"
html_favicon = "../images/favicon.ico"
# https://sphinx-rtd-theme.readthedocs.io/en/stable/configuring.html#theme-options
html_theme_options = {
# Use AdaCore blue in the Table Of Content
"style_nav_header_background": "#12284c",
"light_css_variables": {
"color-brand-primary": "#00a650",
"color-brand-content": "#00a650",
Expand Down
7 changes: 5 additions & 2 deletions doc/user_guide/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -49,9 +49,12 @@
html_theme = "sphinx_rtd_theme"
html_static_path = ["../_static"]
html_css_files = ["css/custom.css"]
html_logo = ""
html_favicon = ""
html_logo = "../images/adacore-logo-white.png"
html_favicon = "../images/favicon.ico"
# https://sphinx-rtd-theme.readthedocs.io/en/stable/configuring.html#theme-options
html_theme_options = {
# Use AdaCore blue in the Table Of Content
"style_nav_header_background": "#12284c",
"light_css_variables": {
"color-brand-primary": "#00a650",
"color-brand-content": "#00a650",
Expand Down

0 comments on commit e7fe635

Please sign in to comment.