From 764ae46c8269303251bdf8614699d3860812f905 Mon Sep 17 00:00:00 2001 From: Andrew Mitchell Date: Wed, 15 Nov 2023 23:25:38 +0000 Subject: [PATCH] cleaning up api ref style --- docs/stylesheets/extra.css | 1 + mkdocs.yml | 11 ++++++++++- 2 files changed, 11 insertions(+), 1 deletion(-) diff --git a/docs/stylesheets/extra.css b/docs/stylesheets/extra.css index 6de7546..18b5dd8 100644 --- a/docs/stylesheets/extra.css +++ b/docs/stylesheets/extra.css @@ -4,6 +4,7 @@ --md-accent-color: #71e5e9; } + /* This will only apply if the user has chosen a light color scheme */ @media (prefers-color-scheme: light) { .only-dark { diff --git a/mkdocs.yml b/mkdocs.yml index 2c51834..652ecca 100644 --- a/mkdocs.yml +++ b/mkdocs.yml @@ -47,10 +47,19 @@ extra_css: plugins: - search - mkdocstrings: + default_handler: python handlers: python: + paths: [src.circumplex] options: - docstring_section_style: table + docstring_section_style: spacy + docstring_style: "google" + separate_signature: false + show_if_no_docstring: false + merge_init_into_class: true + show_symbol_type_heading: true # waiting for general release + show_symbol_type_toc: true + - mkdocs-jupyter: include_source: true theme: default