From e5f08a28a3e0de8950f813948d126c3db0dc1323 Mon Sep 17 00:00:00 2001 From: Anfimov Dima Date: Sat, 7 Mar 2026 19:35:28 +0100 Subject: [PATCH 1/4] docs: fix missing static files in docs --- README.md | 3 +-- zensical.toml | 4 +++- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 5f78224..854fb86 100644 --- a/README.md +++ b/README.md @@ -2,7 +2,7 @@ [![PyPI - Python Version](https://img.shields.io/pypi/pyversions/django-knobs?style=for-the-badge&logo=python)](https://pypi.org/project/django-knobs/) [![PyPI](https://img.shields.io/pypi/v/django-knobs?style=for-the-badge&logo=pypi)](https://pypi.org/project/django-knobs/) -[![Checks](https://img.shields.io/github/check-runs/danfimov/django-knobs/main?nameFilter=Tests%20(3.12)&style=for-the-badge)](https://github.com/danfimov/django-knobs) +[![Checks](https://img.shields.io/github/actions/workflow/status/danfimov/django-knobs/code-check.yml?branch=main&style=for-the-badge)](https://github.com/danfimov/django-knobs) Library for dynamic settings / feature flags that can be changed at runtime without restarting the application from Django admin panel. @@ -12,7 +12,6 @@ pip install django-knobs ![](docs/assets/banner.png) - ## Setup **1. Add to `INSTALLED_APPS`:** diff --git a/zensical.toml b/zensical.toml index 1800964..efe1ebb 100644 --- a/zensical.toml +++ b/zensical.toml @@ -30,7 +30,7 @@ site_author = "Dima Anfimov" # The site_url is the canonical URL for your site. When building online # documentation you should set this. # Read more: https://zensical.org/docs/setup/basics/#site_url -#site_url = "https://www.example.com/" +site_url = "https://danfimov.github.io/django-knobs/" # The copyright notice appears in the page footer and can contain an HTML # fragment. @@ -56,6 +56,8 @@ nav = [ ]} ] +use_directory_urls = true + # With the "extra_css" option you can add your own CSS styling to customize # your Zensical project according to your needs. You can add any number of # CSS files. From a38af7ec11879a941a3ac98e729935d1b4fb1e61 Mon Sep 17 00:00:00 2001 From: Anfimov Dima Date: Sat, 7 Mar 2026 19:38:07 +0100 Subject: [PATCH 2/4] temp: add branch for test --- .github/workflows/docs.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/docs.yml b/.github/workflows/docs.yml index 5e72b09..a948413 100644 --- a/.github/workflows/docs.yml +++ b/.github/workflows/docs.yml @@ -3,6 +3,7 @@ on: push: branches: - main + - fix-docs permissions: contents: read From f2b744b4e0ded9300359cc181b43e7bf95759ce9 Mon Sep 17 00:00:00 2001 From: Anfimov Dima Date: Sat, 7 Mar 2026 19:42:28 +0100 Subject: [PATCH 3/4] docs: move first page of documentation to index.md --- docs/{quickstart.md => index.md} | 0 zensical.toml | 2 +- 2 files changed, 1 insertion(+), 1 deletion(-) rename docs/{quickstart.md => index.md} (100%) diff --git a/docs/quickstart.md b/docs/index.md similarity index 100% rename from docs/quickstart.md rename to docs/index.md diff --git a/zensical.toml b/zensical.toml index efe1ebb..31b21bb 100644 --- a/zensical.toml +++ b/zensical.toml @@ -48,7 +48,7 @@ Copyright © 2026 The authors # # Read more: https://zensical.org/docs/setup/navigation/ nav = [ - { "Quickstart" = "quickstart.md" }, + { "Quickstart" = "index.md" }, { "Settings" = "settings.md" }, { "Caching" = "caching.md" }, { "Extensions" = [ From 0d92393ecf7273c5c845862ad9e560e02b5d5898 Mon Sep 17 00:00:00 2001 From: Anfimov Dima Date: Sat, 7 Mar 2026 19:43:55 +0100 Subject: [PATCH 4/4] fix: revert changes in docs.yml --- .github/workflows/docs.yml | 1 - 1 file changed, 1 deletion(-) diff --git a/.github/workflows/docs.yml b/.github/workflows/docs.yml index a948413..5e72b09 100644 --- a/.github/workflows/docs.yml +++ b/.github/workflows/docs.yml @@ -3,7 +3,6 @@ on: push: branches: - main - - fix-docs permissions: contents: read