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",