Skip to content

Commit

Permalink
Prepare 3.0.0 (#277)
Browse files Browse the repository at this point in the history
* add logo and favicon

* bump version number and add link to homepage
  • Loading branch information
dfremont authored Jun 7, 2024
1 parent 1d434f9 commit 2a1b29c
Show file tree
Hide file tree
Showing 6 changed files with 100 additions and 2 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Scenic
[<img src="docs/images/logo-full.svg" alt="Scenic Logo" height="100">](https://scenic-lang.org/)

[![Documentation Status](https://readthedocs.org/projects/scenic-lang/badge/?version=latest)](https://scenic-lang.readthedocs.io/en/latest/?badge=latest)
[![Tests Status](https://github.com/BerkeleyLearnVerify/Scenic/actions/workflows/run-tests.yml/badge.svg)](https://github.com/BerkeleyLearnVerify/Scenic/actions/workflows/run-tests.yml)
Expand Down
6 changes: 6 additions & 0 deletions docs/_static/custom.css
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,12 @@ pre {tab-size: 4;}
.wy-table-responsive table td, .wy-table-responsive table th {white-space: normal;}
/* Increase maximum body width to support 100-character lines */
.wy-nav-content {max-width:900px;}
/* Make SVG logo render at the correct size */
.wy-side-nav-search .wy-dropdown > a img.logo, .wy-side-nav-search > a img.logo {
width: 100%;
}
/* Modify background color behind logo to make it more readable */
.wy-side-nav-search {background-color:#48ac92}
/* Shrink the sidebar to 270 pixels wide */
.wy-tray-container li, .wy-menu-vertical, .wy-side-nav-search, .wy-nav-side,
.rst-versions {width:270px;}
Expand Down
7 changes: 7 additions & 0 deletions docs/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -151,6 +151,13 @@
"custom.css",
]

html_logo = "images/logo-full.svg"
html_favicon = "images/favicon.ico"

html_theme_options = {
"logo_only": True,
}

# -- Generate lists of keywords for the language reference -------------------

import itertools
Expand Down
Binary file added docs/images/favicon.ico
Binary file not shown.
Loading

0 comments on commit 2a1b29c

Please sign in to comment.