From 90ec4b64b548123fa00af391705123a0fd8fa766 Mon Sep 17 00:00:00 2001 From: Jose Quintana Date: Mon, 27 Mar 2023 06:53:11 +0200 Subject: [PATCH] docs: move to static-web-server.net domain [skip ci] it also handles automatically redirections from old sws.joseluisq.net --- README.md | 10 +++++----- docs/README.md | 2 +- docs/content/configuration/config-file.md | 2 +- docs/content/features/url-redirects.md | 2 +- docs/content/index.md | 2 +- docs/man/static-web-server.1.rst | 2 +- docs/mkdocs.yml | 2 +- src/directory_listing.rs | 2 +- tests/toml/config.toml | 2 +- 9 files changed, 13 insertions(+), 13 deletions(-) diff --git a/README.md b/README.md index e24943a..f5f9395 100644 --- a/README.md +++ b/README.md @@ -1,7 +1,7 @@
@@ -16,7 +16,7 @@ - +
@@ -64,13 +64,13 @@ It's cross-platform and available for `Linux`, `macOS`, `Windows` and `FreeBSD` ## Documentation -For more details about the API, usage and examples please have a look at [The Documentation Website](https://sws.joseluisq.net/). +For more details about the API, usage and examples please have a look at [The Documentation Website](https://static-web-server.net/). ## Releases - [Docker Images](https://hub.docker.com/r/joseluisq/static-web-server/) - [Release Binaries](https://github.com/static-web-server/static-web-server/releases) -- [Platforms/Architectures Supported](https://sws.joseluisq.net/platforms-architectures/) +- [Platforms/Architectures Supported](https://static-web-server.net/platforms-architectures/) ## Benchmarks @@ -81,7 +81,7 @@ See more details on [benchmark/BENCHMARKS.md](benchmark/BENCHMARKS.md) ## Notes - If you're looking for `v1` please go to [1.x](https://github.com/static-web-server/static-web-server/tree/1.x) branch. -- If you want to migrate from `v1` to `v2` please take a look at [Migrating from `v1` to `v2`](https://sws.joseluisq.net/migration/) release. +- If you want to migrate from `v1` to `v2` please take a look at [Migrating from `v1` to `v2`](https://static-web-server.net/migration/) release. ## Contributions diff --git a/docs/README.md b/docs/README.md index 1691bda..0228e8e 100644 --- a/docs/README.md +++ b/docs/README.md @@ -1,3 +1,3 @@ # Build or improve documentation -To build or improve the documentation follow the [building documentation from source](https://sws.joseluisq.net/building-from-source/#building-documentation-from-source) instructions. +To build or improve the documentation follow the [building documentation from source](https://static-web-server.net/building-from-source/#building-documentation-from-source) instructions. diff --git a/docs/content/configuration/config-file.md b/docs/content/configuration/config-file.md index c1819e9..58290a9 100644 --- a/docs/content/configuration/config-file.md +++ b/docs/content/configuration/config-file.md @@ -85,7 +85,7 @@ ignore-hidden-files = false #### instead, it just tells SWS to run in a Windows Service context, #### so it's necessary to install the SWS Windows Service first #### using the `static-web-server.exe -w config.toml install` command. -#### More details on https://sws.joseluisq.net/features/windows-service/ +#### More details on https://static-web-server.net/features/windows-service/ # windows-service = false diff --git a/docs/content/features/url-redirects.md b/docs/content/features/url-redirects.md index 9fe033e..d088315 100644 --- a/docs/content/features/url-redirects.md +++ b/docs/content/features/url-redirects.md @@ -47,6 +47,6 @@ kind = 301 [[advanced.redirects]] source = "/index.html" -destination = "https://sws.joseluisq.net" +destination = "https://static-web-server.net" kind = 302 ``` diff --git a/docs/content/index.md b/docs/content/index.md index 1901a8b..8b8b5ae 100644 --- a/docs/content/index.md +++ b/docs/content/index.md @@ -14,7 +14,7 @@ - + diff --git a/docs/man/static-web-server.1.rst b/docs/man/static-web-server.1.rst index 730e13d..8a2e6dd 100644 --- a/docs/man/static-web-server.1.rst +++ b/docs/man/static-web-server.1.rst @@ -106,7 +106,7 @@ VERSION HOMEPAGE -------- -https://sws.joseluisq.net +https://static-web-server.net REPORTING BUGS diff --git a/docs/mkdocs.yml b/docs/mkdocs.yml index f76fc9a..5ce2cdc 100644 --- a/docs/mkdocs.yml +++ b/docs/mkdocs.yml @@ -2,7 +2,7 @@ site_name: Static Web Server site_description: 'A cross-platform, high-performance and asynchronous web server for static files-serving ⚡' site_author: 'Jose Quintana' -site_url: https://sws.joseluisq.net +site_url: https://static-web-server.net dev_addr: 0.0.0.0:8000 # Repository diff --git a/src/directory_listing.rs b/src/directory_listing.rs index 03b441c..dab3399 100644 --- a/src/directory_listing.rs +++ b/src/directory_listing.rs @@ -94,7 +94,7 @@ pub fn auto_index<'a>( } const STYLE: &str = r#""#; -const FOOTER: &str = r#""#; +const FOOTER: &str = r#""#; const DATETIME_FORMAT_UTC: &str = "%FT%TZ"; const DATETIME_FORMAT_LOCAL: &str = "%F %T"; diff --git a/tests/toml/config.toml b/tests/toml/config.toml index eafaa3e..db3e0e5 100644 --- a/tests/toml/config.toml +++ b/tests/toml/config.toml @@ -99,7 +99,7 @@ kind = 301 [[advanced.redirects]] source = "/index.html" -destination = "https://sws.joseluisq.net" +destination = "https://static-web-server.net" kind = 302 ### URL Rewrites -- libgit2 1.7.2