diff --git a/README.md b/README.md index f04c8f785..bb6b2911e 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,4 @@ -# Scenic +[Scenic Logo](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) diff --git a/docs/_static/custom.css b/docs/_static/custom.css index 88790a6a8..8968ef400 100644 --- a/docs/_static/custom.css +++ b/docs/_static/custom.css @@ -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;} diff --git a/docs/conf.py b/docs/conf.py index 16130e15d..69badcde9 100644 --- a/docs/conf.py +++ b/docs/conf.py @@ -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 diff --git a/docs/images/favicon.ico b/docs/images/favicon.ico new file mode 100644 index 000000000..3a60ee429 Binary files /dev/null and b/docs/images/favicon.ico differ diff --git a/docs/images/logo-full.svg b/docs/images/logo-full.svg new file mode 100644 index 000000000..e9c4caf5e --- /dev/null +++ b/docs/images/logo-full.svg @@ -0,0 +1,84 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/pyproject.toml b/pyproject.toml index 7b47374f3..53d351864 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,6 +1,6 @@ [project] name = "scenic" -version = "3.0.0rc1" +version = "3.0.0" description = "The Scenic scenario description language." authors = [ { name = "Daniel Fremont" }, @@ -84,6 +84,7 @@ dev = [ ] [project.urls] +Homepage = "https://scenic-lang.org/" Repository = "https://github.com/BerkeleyLearnVerify/Scenic" Documentation = "https://scenic-lang.readthedocs.io"