From 1cf94587560dd8f55414cc592ff68ec658ba270a Mon Sep 17 00:00:00 2001 From: MichaelFisher1997 Date: Thu, 12 Feb 2026 02:45:30 +0000 Subject: [PATCH 1/3] Update docs for 26.1 LTS release - Change version from dev to 26.1 - Remove unstable warning banner (godot_is_latest: False) - Update version selector to show only 26.1 - Remove 4.3, 4.4, and dev from versions list --- conf.py | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/conf.py b/conf.py index 67a51c8204e..dcb56b0f933 100644 --- a/conf.py +++ b/conf.py @@ -190,17 +190,15 @@ "godot_title_prefix": "" if on_rtd else "(DEV) ", # Set this to `True` when in the `latest` branch to clearly indicate to the reader # that they are not reading the `stable` documentation. - "godot_is_latest": True, - "godot_version": "dev", + "godot_is_latest": False, + "godot_version": "26.1", # Enables a banner that displays the up-to-date status of each article. "godot_show_article_status": True, # Display user-contributed notes at the bottom of pages that don't have `:allow_comments: False` at the top. "godot_show_article_comments": on_rtd and not is_i18n, # Available documentation versions for the version selector "godot_versions": [ - ("4.3", "/4.3/"), - ("4.4", "/4.4/"), - ("dev", "/dev/"), + ("26.1", "/"), ], } From 96a71f7262123dbf2e71fc1e2b311edbc0c6e49b Mon Sep 17 00:00:00 2001 From: MichaelFisher1997 Date: Thu, 12 Feb 2026 03:02:02 +0000 Subject: [PATCH 2/3] Add flake.nix for local development --- flake.nix | 59 +++++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 59 insertions(+) create mode 100644 flake.nix diff --git a/flake.nix b/flake.nix new file mode 100644 index 00000000000..845d79f5fb7 --- /dev/null +++ b/flake.nix @@ -0,0 +1,59 @@ +{ + description = "Redot Documentation Build Environment"; + + inputs = { + nixpkgs.url = "github:NixOS/nixpkgs/nixos-unstable"; + flake-utils.url = "github:numtide/flake-utils"; + }; + + outputs = { self, nixpkgs, flake-utils }: + flake-utils.lib.eachDefaultSystem (system: + let + pkgs = nixpkgs.legacyPackages.${system}; + + pythonEnv = pkgs.python311.withPackages (ps: with ps; [ + pygments + sphinx + sphinx-rtd-theme + sphinx-tabs + sphinx-copybutton + sphinx-notfound-page + sphinxext-opengraph + sphinxcontrib-video + ]); + in + { + devShells.default = pkgs.mkShell { + buildInputs = [ + pythonEnv + pkgs.git + pkgs.gnumake + pkgs.parallel + pkgs.libwebp + pkgs.imagemagick + ]; + + shellHook = '' + echo "Redot Docs Build Environment" + echo "Python version: $(python --version)" + echo "" + echo "To build docs:" + echo " FULL_RUN=1 ./build.sh" + echo "" + echo "To serve locally:" + echo " cd output/html/en/latest && python -m http.server 8000" + ''; + }; + + apps.default = { + type = "app"; + program = toString (pkgs.writeShellScript "build-docs" '' + export PATH="${pythonEnv}/bin:${pkgs.git}/bin:${pkgs.gnumake}/bin:$PATH" + cd ${self} + FULL_RUN=1 ./build.sh + echo "Build complete!" + echo "To serve: cd output/html/en/latest && python -m http.server 8000" + ''); + }; + }); +} From fe181da0a13570697d4f341b2b8726469c4ab9f2 Mon Sep 17 00:00:00 2001 From: MichaelFisher1997 Date: Thu, 12 Feb 2026 03:07:22 +0000 Subject: [PATCH 3/3] Remove flake.nix --- flake.nix | 59 ------------------------------------------------------- 1 file changed, 59 deletions(-) delete mode 100644 flake.nix diff --git a/flake.nix b/flake.nix deleted file mode 100644 index 845d79f5fb7..00000000000 --- a/flake.nix +++ /dev/null @@ -1,59 +0,0 @@ -{ - description = "Redot Documentation Build Environment"; - - inputs = { - nixpkgs.url = "github:NixOS/nixpkgs/nixos-unstable"; - flake-utils.url = "github:numtide/flake-utils"; - }; - - outputs = { self, nixpkgs, flake-utils }: - flake-utils.lib.eachDefaultSystem (system: - let - pkgs = nixpkgs.legacyPackages.${system}; - - pythonEnv = pkgs.python311.withPackages (ps: with ps; [ - pygments - sphinx - sphinx-rtd-theme - sphinx-tabs - sphinx-copybutton - sphinx-notfound-page - sphinxext-opengraph - sphinxcontrib-video - ]); - in - { - devShells.default = pkgs.mkShell { - buildInputs = [ - pythonEnv - pkgs.git - pkgs.gnumake - pkgs.parallel - pkgs.libwebp - pkgs.imagemagick - ]; - - shellHook = '' - echo "Redot Docs Build Environment" - echo "Python version: $(python --version)" - echo "" - echo "To build docs:" - echo " FULL_RUN=1 ./build.sh" - echo "" - echo "To serve locally:" - echo " cd output/html/en/latest && python -m http.server 8000" - ''; - }; - - apps.default = { - type = "app"; - program = toString (pkgs.writeShellScript "build-docs" '' - export PATH="${pythonEnv}/bin:${pkgs.git}/bin:${pkgs.gnumake}/bin:$PATH" - cd ${self} - FULL_RUN=1 ./build.sh - echo "Build complete!" - echo "To serve: cd output/html/en/latest && python -m http.server 8000" - ''); - }; - }); -}