From f85c61d273cad90689c9252b0ec4ba57c42ca7d8 Mon Sep 17 00:00:00 2001 From: Anthony Axenov Date: Wed, 22 Jul 2026 11:06:02 +0800 Subject: [PATCH] =?UTF-8?q?=D0=98=D1=81=D0=BF=D1=80=D0=B0=D0=B2=D0=BB?= =?UTF-8?q?=D0=B5=D0=BD=D0=B8=D1=8F=20=D1=81=D0=B1=D0=BE=D1=80=D0=BA=D0=B8?= =?UTF-8?q?=20=D0=B8=20=D0=B7=D0=B0=D0=BF=D1=83=D1=81=D0=BA=D0=B0=20=D0=B4?= =?UTF-8?q?=D0=BE=D0=BA=D1=83=D0=BC=D0=B5=D0=BD=D1=82=D0=B0=D1=86=D0=B8?= =?UTF-8?q?=D0=B8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Makefile | 18 +++++++++--------- zensical.toml | 7 ++----- 2 files changed, 11 insertions(+), 14 deletions(-) diff --git a/Makefile b/Makefile index a3bbe7d..5e31812 100644 --- a/Makefile +++ b/Makefile @@ -11,10 +11,9 @@ live: clear @docker stop iptv-docs-dev 2>/dev/null; \ docker run \ --rm \ - --interactive \ - --tty \ + --pull always \ --env PYTHONPATH=/docs \ - --publish 8801:8801 \ + --publish 8801:8000 \ --volume ${PWD}:/docs \ --name iptv-docs-dev \ zensical/zensical:latest @@ -24,18 +23,19 @@ site: clear @echo "*** Wait until zensical finish" @docker stop iptv-docs-dev 2>/dev/null; \ docker run \ - --pull always \ --rm \ + --pull always \ --env PYTHONPATH=/docs \ --volume ${PWD}:/docs \ --name iptv-docs-dev \ zensical/zensical:latest \ build \ - --clean + --clean \ + --strict ## image = Build a docker image image: - @docker build --tag git.axenov.dev/iptv/iptv-docs:latest:latest . + @docker build --tag git.axenov.dev/iptv/iptv-docs:latest . ## run = Run docker container from image built with `make image` on http://localhost:8802 run: @@ -45,12 +45,12 @@ run: --rm \ --publish 8802:80 \ --name iptv-docs \ - git.axenov.dev/iptv/iptv-docs:latest:latest + git.axenov.dev/iptv/iptv-docs:latest -# push = Push docker image built with `make image` to git.axenov.dev +## push = Push docker image built with `make image` to git.axenov.dev push: @docker login git.axenov.dev; \ - docker push git.axenov.dev/iptv/iptv-docs:latest:latest + docker push git.axenov.dev/iptv/iptv-docs:latest ## help = Show this message and exit (default) help: Makefile diff --git a/zensical.toml b/zensical.toml index 44c65ef..9554b70 100644 --- a/zensical.toml +++ b/zensical.toml @@ -14,7 +14,7 @@ edit_uri = "src/branch/master/content/" docs_dir = "./content" site_dir = "./site" use_directory_urls = false -dev_addr = "localhost:8801" +dev_addr = "localhost:8000" watch = ["content", "snippets"] extra_css = ["_assets/css/extra.css"] # extra_javascript = ["_assets/js/extra.js"] @@ -62,11 +62,8 @@ nav = [ "common/config/config.md", ]}, # {"Для документации" = [ - # {"Иконки" = [ - # "iptvc/dev/docs/codicons.md", - # "iptvc/dev/docs/ionicons.md", - # ]}, # "iptvc/dev/docs/components.md", + # "iptvc/dev/docs/codicons.md", # ]}, {"Форматы файлов" = [ "common/formats/playlists.md",