From 0e3ce0a7ce2deb1679141402830b789ab765c67f Mon Sep 17 00:00:00 2001 From: ufonion Date: Wed, 6 Jan 2021 19:00:33 +0800 Subject: [PATCH] test filename --- book.json | 6 ++++-- package.json | 1 + .../docker/docker-compose-files/v2ray.md | 12 +++--------- yarn.lock | 5 +++++ 4 files changed, 13 insertions(+), 11 deletions(-) diff --git a/book.json b/book.json index cf03c85..c42c800 100644 --- a/book.json +++ b/book.json @@ -3,8 +3,10 @@ "puml", "edit-link", "page-toc", - "codeblock-filename", - "todo" + "todo", + "page-ref", + "code", + "codeblock-filename" ], "pluginsConfig": { "edit-link": { diff --git a/package.json b/package.json index 032d8d9..ed4ce3d 100644 --- a/package.json +++ b/package.json @@ -5,6 +5,7 @@ "build": "gitbook build" }, "dependencies": { + "gitbook-plugin-page-ref": "^0.0.17", "gitbook-plugin-puml": "^1.0.1" } } diff --git a/virtualization-containerization/docker/docker-compose-files/v2ray.md b/virtualization-containerization/docker/docker-compose-files/v2ray.md index b562359..bd648e4 100644 --- a/virtualization-containerization/docker/docker-compose-files/v2ray.md +++ b/virtualization-containerization/docker/docker-compose-files/v2ray.md @@ -1,7 +1,6 @@ # v2ray -{% code title="docker-compose.yml" %} -```yaml +```yaml:docker-compose.yml version: "3.8" services: v2fly-proxy: @@ -14,10 +13,8 @@ services: - "127.0.0.1:1080:10808" - "127.0.0.1:8080:10809" ``` -{% endcode %} -{% code title="v2ray-perparation.sh" %} -```bash +```bash:v2ray-perparation.sh #!/bin/sh # Set ARG @@ -105,10 +102,8 @@ rm -rfv ${dir_tmp}/ echo "Done" ``` -{% endcode %} -{% code title="Dockerfile" %} -```bash +```bash:Dockerfile FROM alpine:latest LABEL maintainer "V2Fly Community " @@ -127,7 +122,6 @@ VOLUME /etc/v2ray CMD [ "/usr/bin/v2ray", "-confdir", "/etc/v2ray/" ] ``` -{% endcode %} diff --git a/yarn.lock b/yarn.lock index 7b4ba8d..6a4dec9 100644 --- a/yarn.lock +++ b/yarn.lock @@ -2,6 +2,11 @@ # yarn lockfile v1 +gitbook-plugin-page-ref@^0.0.17: + version "0.0.17" + resolved "https://registry.yarnpkg.com/gitbook-plugin-page-ref/-/gitbook-plugin-page-ref-0.0.17.tgz#a7b501b2b7e0617e278621da39985fcfce5b393c" + integrity sha512-jsqKphbdAy3SW9v4zs622tlApTb1iyOFcTNljhr7cpY1pBs0RxRwdLD7AtIRlGMJFNP2caVjbGOJXRVIF+3hHw== + gitbook-plugin-puml@^1.0.1: version "1.0.1" resolved "https://registry.yarnpkg.com/gitbook-plugin-puml/-/gitbook-plugin-puml-1.0.1.tgz#8930d54b51e7574e352cf08f6e156baa50ce6d17"