Skip to content

Commit

Permalink
[Doc] Add an ad for Ray Summit 2023 (#39404)
Browse files Browse the repository at this point in the history
Signed-off-by: pdmurray <peynmurray@gmail.com>
  • Loading branch information
peytondmurray committed Sep 8, 2023
1 parent daf0dc1 commit 7da798f
Show file tree
Hide file tree
Showing 5 changed files with 92 additions and 31 deletions.
6 changes: 3 additions & 3 deletions README.rst
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
.. image:: ./ray_summit_2023_horizontal.svg
:target: https://raysummit.anyscale.com/?utm_source=github&utm_medium=website&utm_campaign=ray_summit_2023&utm_content=banner

.. image:: https://github.com/ray-project/ray/raw/master/doc/source/images/ray_header_logo.png

.. image:: https://readthedocs.org/projects/ray/badge/?version=master
Expand All @@ -12,8 +15,6 @@
.. image:: https://img.shields.io/twitter/follow/raydistributed.svg?style=social&logo=twitter
:target: https://twitter.com/raydistributed

|
Ray is a unified framework for scaling AI and Python applications. Ray consists of a core distributed runtime and a set of AI libraries for simplifying ML compute:

.. image:: https://github.com/ray-project/ray/raw/master/doc/source/images/what-is-ray-padded.svg
Expand Down Expand Up @@ -134,4 +135,3 @@ Getting Involved
.. _`Meetup Group`: https://www.meetup.com/Bay-Area-Ray-Meetup/
.. _`Twitter`: https://twitter.com/raydistributed
.. _`Slack`: https://forms.gle/9TSdDYUgxYs8SA9e8

54 changes: 26 additions & 28 deletions doc/source/_static/css/custom.css
Original file line number Diff line number Diff line change
@@ -1,3 +1,21 @@
/* override default colors used in the Sphinx theme */
:root {
--tabs-color-label-active: #0475DE;
--tabs-color-label-hover: #0475DE;
--buttons-color-blue: #0475DE;
--tabs-color-label-inactive: #9E9E9E;
--tabs-color-overline: #e0e0e0;
--tabs-color-underline: #e0e0e0;
--border-color-gray: #e0e0e0;
--background-color-light-gray:#fafafa;
--background-color-disabled: #9E9E9E;
--pst-color-link: 4, 117, 222;
--pst-color-primary: 4, 117, 222;
--pst-color-text-secondary: #616161;
--blue: #0475DE;
--sidebar-top: 5em;
}

/* Remove flicker for announcement top bar replacement */
.header-item.announcement {
background-color: white;
Expand Down Expand Up @@ -28,8 +46,10 @@ div.navbar-brand-box {
* height: to prevent topbar overlap
*/
#site-navigation {
overflow-y: visible;
height: 100% !important;
overflow-y: auto;
height: calc(100vh - var(--sidebar-top));
position: sticky;
top: var(--sidebar-top) !important;
}

/* Center the algolia search bar*/
Expand Down Expand Up @@ -98,14 +118,7 @@ div.navbar-brand-box {
overflow-y: scroll !important;
}

/* Make the TOC on the left scrollable by itself */
#site-navigation .bd-sidebar__content {
height: 80vh;
overflow: visible;
}
.bd-sidebar__top {
height: 100%;
overflow: visible;
display: flex;
flex-direction: column;
}
Expand All @@ -116,9 +129,7 @@ div.navbar-brand-box {
}

nav.bd-links {
overflow-y: auto;
flex: 1;
padding-bottom: 50px;
}

nav.bd-links::-webkit-scrollbar-thumb {
Expand Down Expand Up @@ -490,23 +501,6 @@ footer {
color: var(--pst-color-text-secondary);
}

/* override default colors used in the Sphinx theme */
:root {
--tabs-color-label-active: #0475DE;
--tabs-color-label-hover: #0475DE;
--buttons-color-blue: #0475DE;
--tabs-color-label-inactive: #9E9E9E;
--tabs-color-overline: #e0e0e0;
--tabs-color-underline: #e0e0e0;
--border-color-gray: #e0e0e0;
--background-color-light-gray:#fafafa;
--background-color-disabled: #9E9E9E;
--pst-color-link: 4, 117, 222;
--pst-color-primary: 4, 117, 222;
--pst-color-text-secondary: #616161;
--blue: #0475DE;
}

/* Make the hover color of tag/gallery buttons differ from "active" */
.tag.btn-outline-primary:hover {
background-color: rgba(20, 99, 208, 0.62) !important;
Expand Down Expand Up @@ -795,3 +789,7 @@ footer.col.footer > p {
#csat-textarea {
resize: none;
}

.summit-ad {
margin: 1em 0em;
}
40 changes: 40 additions & 0 deletions doc/source/_static/js/summit.js

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions doc/source/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -419,6 +419,7 @@ def setup(app):
app.add_js_file("js/custom.js", defer="defer")

app.add_js_file("js/top-navigation.js", defer="defer")
app.add_js_file("js/summit.js", defer="defer")

base_path = Path(__file__).parent
github_docs = DownloadAndPreprocessEcosystemDocs(base_path)
Expand Down
22 changes: 22 additions & 0 deletions ray_summit_2023_horizontal.svg
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 7da798f

Please sign in to comment.