From dedefc5eebf510b4d43059ad72d7f0d5d072b2bb Mon Sep 17 00:00:00 2001 From: Jose Quintana Date: Sat, 20 Jan 2024 23:35:07 +0100 Subject: [PATCH] docs: fix a few page typos --- docs/Dockerfile | 1 + docs/content/download-and-install.md | 4 ++-- docs/content/download-and-install.tmpl.md | 4 ++-- docs/content/features/http1.md | 2 +- docs/mkdocs.yml | 4 ++-- 5 files changed, 8 insertions(+), 7 deletions(-) diff --git a/docs/Dockerfile b/docs/Dockerfile index 49a0e61..4726476 100644 --- a/docs/Dockerfile +++ b/docs/Dockerfile @@ -3,6 +3,7 @@ FROM squidfunk/mkdocs-material RUN set -eux \ && apk upgrade --update-cache -a \ && pip3 install \ + mkdocs-material \ mkdocs-git-revision-date-localized-plugin \ && true diff --git a/docs/content/download-and-install.md b/docs/content/download-and-install.md index d6f5a5b..2b2278e 100644 --- a/docs/content/download-and-install.md +++ b/docs/content/download-and-install.md @@ -138,12 +138,12 @@ Pre-compiled binaries grouped by CPU architectures. - [static-web-server-v2.24.2-armv7-unknown-linux-musleabihf.tar.gz](https://github.com/static-web-server/static-web-server/releases/download/v2.24.2/static-web-server-v2.24.2-armv7-unknown-linux-musleabihf.tar.gz)
**SHA256SUM:** `a002de02d18422e096870736ebbc7f24404c37328d18a19068c67dbdd7c95d24` -## PowerPC +### PowerPC - [static-web-server-v2.24.2-powerpc64le-unknown-linux-gnu.tar.gz](https://github.com/static-web-server/static-web-server/releases/download/v2.24.2/static-web-server-v2.24.2-powerpc64le-unknown-linux-gnu.tar.gz)
**SHA256SUM:** `3f3efb24e55239193c703c6b5c2e81260ef0706c59b89ce324721848665bef3f` -## S390X +### S390X - [static-web-server-v2.24.2-s390x-unknown-linux-gnu.tar.gz](https://github.com/static-web-server/static-web-server/releases/download/v2.24.2/static-web-server-v2.24.2-s390x-unknown-linux-gnu.tar.gz)
**SHA256SUM:** `6de01c70ba0dec6fc55ddc3bf4ded3b62b1d778b8daa7776c802700f60907d18` diff --git a/docs/content/download-and-install.tmpl.md b/docs/content/download-and-install.tmpl.md index 7c4d201..02ed15d 100644 --- a/docs/content/download-and-install.tmpl.md +++ b/docs/content/download-and-install.tmpl.md @@ -138,12 +138,12 @@ Pre-compiled binaries grouped by CPU architectures. - [static-web-server-{{RELEASE_VERSION}}-armv7-unknown-linux-musleabihf.tar.gz](https://github.com/static-web-server/static-web-server/releases/download/{{RELEASE_VERSION}}/static-web-server-{{RELEASE_VERSION}}-armv7-unknown-linux-musleabihf.tar.gz)
**SHA256SUM:** `{{armv7-unknown-linux-musleabihf.tar.gz}}` -## PowerPC +### PowerPC - [static-web-server-{{RELEASE_VERSION}}-powerpc64le-unknown-linux-gnu.tar.gz](https://github.com/static-web-server/static-web-server/releases/download/{{RELEASE_VERSION}}/static-web-server-{{RELEASE_VERSION}}-powerpc64le-unknown-linux-gnu.tar.gz)
**SHA256SUM:** `{{powerpc64le-unknown-linux-gnu.tar.gz}}` -## S390X +### S390X - [static-web-server-{{RELEASE_VERSION}}-s390x-unknown-linux-gnu.tar.gz](https://github.com/static-web-server/static-web-server/releases/download/{{RELEASE_VERSION}}/static-web-server-{{RELEASE_VERSION}}-s390x-unknown-linux-gnu.tar.gz)
**SHA256SUM:** `{{s390x-unknown-linux-gnu.tar.gz}}` diff --git a/docs/content/features/http1.md b/docs/content/features/http1.md index 1cd2810..8ab5dd8 100644 --- a/docs/content/features/http1.md +++ b/docs/content/features/http1.md @@ -1,6 +1,6 @@ # HTTP/1 -The HTTP/1 is the protocol by default and can be used to specify a host address via the `-a, --host` ([SERVER_HOST](./../configuration/environment-variables.md#server_host)) argument, the port of the host via `-p, --port` ([SERVER_PORT](./../configuration/environment-variables.md#server_port)) and the directory of the static files using the `-d, --root` ([SERVER_ROOT](./../configuration/environment-variables.md#server_root)) argument. +The HTTP/1 is the protocol by default and can be used by specifying a host address via the `-a, --host` ([SERVER_HOST](./../configuration/environment-variables.md#server_host)) argument, the port of the host via `-p, --port` ([SERVER_PORT](./../configuration/environment-variables.md#server_port)) and the directory of the static files using the `-d, --root` ([SERVER_ROOT](./../configuration/environment-variables.md#server_root)) argument. !!! info "Tips" - Either `--host`, `--port` and `--root` have defaults (optional values) so they can be specified or omitted as required. diff --git a/docs/mkdocs.yml b/docs/mkdocs.yml index e2cf614..29da9b2 100644 --- a/docs/mkdocs.yml +++ b/docs/mkdocs.yml @@ -91,8 +91,8 @@ markdown_extensions: - pymdownx.tilde - pymdownx.details - pymdownx.emoji: - emoji_index: !!python/name:materialx.emoji.twemoji - emoji_generator: !!python/name:materialx.emoji.to_svg + emoji_index: !!python/name:material.extensions.emoji.twemoji + emoji_generator: !!python/name:material.extensions.emoji.to_svg - pymdownx.magiclink: repo_url_shortener: true repo_url_shorthand: true -- libgit2 1.7.2