Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ENH - Add logo and favicon to docs #114

Merged
merged 11 commits into from
Dec 3, 2024
File renamed without changes
4 changes: 3 additions & 1 deletion docs/source/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,8 @@
html_title = 'JAX AI Stack'
html_static_path = ['_static']
html_css_files = ['css/custom.css']
html_favicon = '_static/images/favicon.png'
html_logo = '_static/ai-stack-logo.svg'
html_favicon = '_static/favicon.png'

# Theme-specific options
# https://sphinx-book-theme.readthedocs.io/en/stable/reference.html
Expand All @@ -42,6 +43,7 @@
'path_to_docs': 'docs/source/',
'use_repository_button': True,
'navigation_with_keys': True,
'home_page_in_toc': True,
}

exclude_patterns = [
Expand Down
1 change: 1 addition & 0 deletions docs/source/contributing.md
Original file line number Diff line number Diff line change
Expand Up @@ -81,6 +81,7 @@ git commit -m "update new tutorial" # commit to the branch
To build the documentation locally, you can run the following command:

```bash
# from the root of the repository
sphinx-build -b html docs/source docs/_build/html
```

Expand Down
6 changes: 3 additions & 3 deletions docs/source/index.html
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
<div class="doc-body">
<section class="hero">
<div>
<span><img src="./_static/images/ai-stack-logo.svg"/><h1>JAX AI Stack</h1></span>
<span><img src="./_static/ai-stack-logo.svg"/><h1>JAX AI Stack</h1></span>
<p>Flexible, scalable components for AI research and development</p>
<a class="button button-primary" href="https://jax-ai-stack.readthedocs.io/en/latest/tutorials.html">Get started</a>
<a class="button button-primary" href="./tutorials.html">Get started</a>
</div>
<img src="./_static/images/hero.svg" class="hero-image">
</section>
Expand Down Expand Up @@ -48,7 +48,7 @@ <h3>JAX AI Stack</h3>
<li>ml_dtypes - NumPy dtype extensions for machine learning.</li>
<li>Optional data loading libraries (Grain or tf.data)</li>
</ul>
<a class="button button-primary" href="https://jax-ai-stack.readthedocs.io/en/latest/tutorials.html">Get started</a>
<a class="button button-primary" href="./tutorials.html">Get started</a>
</div>
</section>
<section class="image-section">
Expand Down
4 changes: 3 additions & 1 deletion docs/source/tutorials.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
# Tutorials

*Note: this is a work in progress; visit again soon for updated content!*
```{note}
This is a work in progress; visit again soon for updated content!
```

The following tutorials are meant as an intro to the full stack:

Expand Down
Loading