From 550f89243f9e2b884a4c71b26070a335c3f3a439 Mon Sep 17 00:00:00 2001 From: selfhoster1312 Date: Sun, 2 Mar 2025 16:48:17 +0100 Subject: [PATCH 1/4] fix: Add local dev dependencies (mkdocs/theme/sendria) --- pyproject.toml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/pyproject.toml b/pyproject.toml index ad899e2..045d12a 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -39,6 +39,9 @@ build-backend = "setuptools.build_meta" [project.optional-dependencies] dev = [ + "mkdocs>=1.6", + "mkdocs-material>=9.6", + "sendria>=2.2", "pytest>=7,<8", "pip-tools>=6,<7", "pytest-isort>=3,<4", From a94494a76f7c58a6bcad68d0683bd47bf044bc7a Mon Sep 17 00:00:00 2001 From: selfhoster1312 Date: Sun, 2 Mar 2025 16:48:38 +0100 Subject: [PATCH 2/4] docs: Add internal to "Getting started" for selfhosting --- docs/deploy.md | 1 + 1 file changed, 1 insertion(+) diff --git a/docs/deploy.md b/docs/deploy.md index a27e4b9..1d2c1b1 100644 --- a/docs/deploy.md +++ b/docs/deploy.md @@ -4,6 +4,7 @@ This page describes how the main instance is deployed, and is mainly meant as a way to share the knowledge. You can obviously do things differently. + See the [Getting Started](install.md) page for more information on selfhosting. ## Services From 1fb357307845eaae76b9ad69d82802d95e756372 Mon Sep 17 00:00:00 2001 From: selfhoster1312 Date: Sun, 2 Mar 2025 16:51:54 +0100 Subject: [PATCH 3/4] docs: Embed snippets in docs/changelog.md --- docs/changelog.md | 12 +----------- mkdocs.yml | 1 + 2 files changed, 2 insertions(+), 11 deletions(-) diff --git a/docs/changelog.md b/docs/changelog.md index 42333f1..786b75d 100644 --- a/docs/changelog.md +++ b/docs/changelog.md @@ -1,11 +1 @@ -# Changelog - -Given a version number `MAJOR`.`MINOR`.`PATCH`: - -- `MAJOR` is updated when there are **incompatible changes**, -- `MINOR` is updated when there are **backwards-compatible feature additions**, -- `PATCH` is updated when there are **backwards-compatible bug fixes**. - -### 1.0.0 (date) - -- Basic features. +--8<-- "CHANGELOG.md" diff --git a/mkdocs.yml b/mkdocs.yml index 9c29b4b..fdc7844 100644 --- a/mkdocs.yml +++ b/mkdocs.yml @@ -45,3 +45,4 @@ markdown_extensions: - pymdownx.tabbed: alternate_style: true combine_header_slug: true + - pymdownx.snippets From 5f45e8f2800416603a6e425e096656ce6450a274 Mon Sep 17 00:00:00 2001 From: selfhoster1312 Date: Sun, 2 Mar 2025 17:13:52 +0100 Subject: [PATCH 4/4] docs: Yarn and npm were mixed up --- docs/install.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/install.md b/docs/install.md index 32bf2dd..d62de81 100644 --- a/docs/install.md +++ b/docs/install.md @@ -32,13 +32,13 @@ pip install -e ".[dev]" And the frontend dependencies: -=== "Yarn" +=== "npm" ```bash npm install ``` -=== "npm" +=== "Yarn" ```bash yarn install ```