Skip to content

Commit

Permalink
Finalize first version
Browse files Browse the repository at this point in the history
  • Loading branch information
tomicapretto committed Aug 26, 2023
1 parent 4e596ff commit 68dd2a7
Show file tree
Hide file tree
Showing 8 changed files with 17 additions and 71 deletions.
55 changes: 0 additions & 55 deletions .github/workflows/publish-docs-release.yml

This file was deleted.

5 changes: 3 additions & 2 deletions docs/_quarto.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,22 +7,23 @@ project:
- api/**

website:
title: ""
title: "Bambi"
description: "BAyesian Model Building Interface in Python"
repo-url: https://github.com/bambinos/bambi
page-navigation: true
favicon: "logos/favicon.png"
page-footer:
center: © Copyright 2023, The developers of Bambi.
navbar:
title: false
background: light
search: true
pinned: true
logo: "logos/RGB/Bambi_logo.png"
logo-alt: "bambi-home"
right:
- text: Reference
href: api/
href: api/index.html
- text: Examples
href: notebooks/index.qmd
- text: FAQ
Expand Down
1 change: 1 addition & 0 deletions docs/faq.qmd
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
---
title: "Frequently Asked Questions"
pagetitle: "FAQ"
toc: false
---

Expand Down
12 changes: 4 additions & 8 deletions docs/notebooks/gallery.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
- category: Linear regression models
description: |
This is the description
description: ""
tiles:
- title: Comparison of two means
subtitle: With a t-test
Expand Down Expand Up @@ -39,8 +38,7 @@
href: t_regression.ipynb
thumbnail: thumbnails/t_regression.png
- category: Generalized Linear Models
description: |
This is the description
description: ""
tiles:
- title: Logistic regression
subtitle: Model vote intention
Expand Down Expand Up @@ -83,8 +81,7 @@
href: quantile_regression.ipynb
thumbnail: thumbnails/quantile_regression.png
- category: More advanced models
description: |
This is the description
description: ""
tiles:
- title: Distributional models
subtitle: Many parameters simultaneously
Expand All @@ -99,8 +96,7 @@
href: hsgp_2d.ipynb
thumbnail: thumbnails/hsgp_2d.png
- category: Tools to interpret model outputs
description: |
This is the description
description: ""
tiles:
- title: Predictions
subtitle: Compute and plot predictions on new data
Expand Down
4 changes: 1 addition & 3 deletions docs/notebooks/index.qmd
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
pagetitle: "Examples gallery"
pagetitle: "Examples"
title: "Examples gallery"
toc: false
search: false
Expand All @@ -10,5 +10,3 @@ listing:
template: gallery.ejs
contents: gallery.yml
---

Add some gallery...
1 change: 1 addition & 0 deletions docs/pre_render.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
# Remove TOC from it
lines = """---
toc: false
pagetitle: "Changelog"
---
"""
with open("CHANGELOG.md", "r+") as file:
Expand Down
5 changes: 5 additions & 0 deletions docs/styles.css
Original file line number Diff line number Diff line change
Expand Up @@ -211,4 +211,9 @@ a:hover {
right: 0px;
bottom: 0px;
left: 0px;
}

/*Add scroll bar if needed, nothing if not*/
section > .level2 {
overflow-x: auto;
}
5 changes: 2 additions & 3 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -28,15 +28,14 @@ dependencies = [
[project.optional-dependencies]
dev = [
"black==22.3.0",
"griffe==0.32.3",
"ipython>=5.8.0,!=8.7.0",
"nbsphinx>=0.4.2",
"pre-commit>=2.19",
"pydata-sphinx-theme>=0.6.3",
"pylint==2.10.2",
"pytest-cov>=2.6.1",
"pytest>=4.4.0",
"quartodoc==0.4.2",
"seaborn>=0.9.0",
"sphinx>=7",
]
jax = [
"blackjax==0.7.0",
Expand Down

0 comments on commit 68dd2a7

Please sign in to comment.