Skip to content

Commit 0229143

Browse files
authored
ENH - Add logo and favicon to docs (#114)
1 parent a5b6247 commit 0229143

File tree

6 files changed

+10
-5
lines changed

6 files changed

+10
-5
lines changed

docs/source/conf.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,8 @@
3131
html_title = 'JAX AI Stack'
3232
html_static_path = ['_static']
3333
html_css_files = ['css/custom.css']
34-
html_favicon = '_static/images/favicon.png'
34+
html_logo = '_static/ai-stack-logo.svg'
35+
html_favicon = '_static/favicon.png'
3536

3637
# Theme-specific options
3738
# https://sphinx-book-theme.readthedocs.io/en/stable/reference.html
@@ -42,6 +43,7 @@
4243
'path_to_docs': 'docs/source/',
4344
'use_repository_button': True,
4445
'navigation_with_keys': True,
46+
'home_page_in_toc': True,
4547
}
4648

4749
exclude_patterns = [

docs/source/contributing.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -81,6 +81,7 @@ git commit -m "update new tutorial" # commit to the branch
8181
To build the documentation locally, you can run the following command:
8282

8383
```bash
84+
# from the root of the repository
8485
sphinx-build -b html docs/source docs/_build/html
8586
```
8687

docs/source/index.html

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
<div class="doc-body">
22
<section class="hero">
33
<div>
4-
<span><img src="./_static/images/ai-stack-logo.svg"/><h1>JAX AI Stack</h1></span>
4+
<span><img src="./_static/ai-stack-logo.svg"/><h1>JAX AI Stack</h1></span>
55
<p>Flexible, scalable components for AI research and development</p>
6-
<a class="button button-primary" href="https://jax-ai-stack.readthedocs.io/en/latest/tutorials.html">Get started</a>
6+
<a class="button button-primary" href="./tutorials.html">Get started</a>
77
</div>
88
<img src="./_static/images/hero.svg" class="hero-image">
99
</section>
@@ -48,7 +48,7 @@ <h3>JAX AI Stack</h3>
4848
<li>ml_dtypes - NumPy dtype extensions for machine learning.</li>
4949
<li>Optional data loading libraries (Grain or tf.data)</li>
5050
</ul>
51-
<a class="button button-primary" href="https://jax-ai-stack.readthedocs.io/en/latest/tutorials.html">Get started</a>
51+
<a class="button button-primary" href="./tutorials.html">Get started</a>
5252
</div>
5353
</section>
5454
<section class="image-section">

docs/source/tutorials.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
# Tutorials
22

3-
*Note: this is a work in progress; visit again soon for updated content!*
3+
```{note}
4+
This is a work in progress; visit again soon for updated content!
5+
```
46

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

0 commit comments

Comments
 (0)