diff --git a/docs/conf.py b/docs/conf.py index b9ca723d82c..5095af87845 100644 --- a/docs/conf.py +++ b/docs/conf.py @@ -131,6 +131,10 @@ # documentation. html_theme_options = { "navbar_start": ["navbar-logo"], + "navigation_depth": 4, + "show_nav_level": 2, + "collapse_navigation": True, + "show_toc_level": 2, } # Add any paths that contain custom themes here, relative to this directory. diff --git a/docs/index.md b/docs/index.md index 80ef76421e1..c894420d1a1 100644 --- a/docs/index.md +++ b/docs/index.md @@ -95,8 +95,22 @@ Our [CITATION.cff](https://github.com/projectmesa/mesa/blob/main/CITATION.cff) c The original Mesa conference paper from 2015 is [available here](http://conference.scipy.org.s3-website-us-east-1.amazonaws.com/proceedings/scipy2015/jacqueline_kazil.html). ```{toctree} -:hidden: true -:maxdepth: 7 +:maxdepth: 2 +:caption: Contents + +getting_started +overview +mesa +examples +best-practices +mesa_extension +migration_guide +apis/api_main +GSoC +``` + overview + tutorials/index + Getting started Overview diff --git a/docs/overview.md b/docs/overview.md index fd5610c5d8a..85d87475e29 100644 --- a/docs/overview.md +++ b/docs/overview.md @@ -298,21 +298,9 @@ This will create an interactive visualization of your model, including: - A plot of a model metric over time - A slider to adjust the number of agents -```{toctree} -:hidden: true -:maxdepth: 7 - -Overview -Creating Your First Model -Adding Space -Collecting Data -AgentSet -Basic Visualization -Dynamic Agent Visualization -Custom Visualization Components -Parameter Sweeps -Comparing Scenarios -Best Practices -``` + + + +