docs: move to static-web-server.net domain [skip ci]
it also handles automatically redirections from old sws.joseluisq.net
Diff
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(-)
@@ -1,7 +1,7 @@
<div>
<div align="center">
<img
src="https://sws.joseluisq.net/assets/sws.svg" height="100" width="100"
src="https://static-web-server.net/assets/sws.svg" height="100" width="100"
/>
</div>
@@ -16,7 +16,7 @@
<a href="https://hub.docker.com/r/joseluisq/static-web-server/" title="Docker Image Version (tag latest semver)"><img src="https://img.shields.io/docker/v/joseluisq/static-web-server/2"></a>
<a href="https://hub.docker.com/r/joseluisq/static-web-server/tags" title="Docker Image Size (tag)"><img src="https://img.shields.io/docker/image-size/joseluisq/static-web-server/2"></a>
<a href="https://hub.docker.com/r/joseluisq/static-web-server/" title="Docker Image"><img src="https://img.shields.io/docker/pulls/joseluisq/static-web-server.svg"></a>
<a href="https://sws.joseluisq.net" title="Documentation"><img src="https://img.shields.io/badge/docs-latest-green"></a>
<a href="https://static-web-server.net" title="Documentation"><img src="https://img.shields.io/badge/docs-latest-green"></a>
</div>
</div>
@@ -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
@@ -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.
@@ -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
@@ -47,6 +47,6 @@ kind = 301
[[advanced.redirects]]
source = "/index.html"
destination = "https://sws.joseluisq.net"
destination = "https://static-web-server.net"
kind = 302
```
@@ -14,7 +14,7 @@
<a href="https://hub.docker.com/r/joseluisq/static-web-server/" title="Docker Image Version (tag latest semver)"><img src="https://img.shields.io/docker/v/joseluisq/static-web-server/2"></a>
<a href="https://hub.docker.com/r/joseluisq/static-web-server/tags" title="Docker Image Size (tag)"><img src="https://img.shields.io/docker/image-size/joseluisq/static-web-server/2"></a>
<a href="https://hub.docker.com/r/joseluisq/static-web-server/" title="Docker Image"><img src="https://img.shields.io/docker/pulls/joseluisq/static-web-server.svg"></a>
<a href="https://sws.joseluisq.net" title="Documentation"><img src="https://img.shields.io/badge/docs-latest-green"></a>
<a href="https://static-web-server.net" title="Documentation"><img src="https://img.shields.io/badge/docs-latest-green"></a>
</div>
</div>
@@ -106,7 +106,7 @@ VERSION
HOMEPAGE
--------
https://sws.joseluisq.net
https://static-web-server.net
REPORTING BUGS
@@ -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
@@ -94,7 +94,7 @@ pub fn auto_index<'a>(
}
const STYLE: &str = r#"<style>html{background-color:#fff;-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;min-width:20rem;text-rendering:optimizeLegibility;-webkit-text-size-adjust:100%;-moz-text-size-adjust:100%;text-size-adjust:100%}body{padding:1rem;font-family:Consolas,'Liberation Mono',Menlo,monospace;font-size:.875rem;max-width:70rem;margin:0 auto;color:#4a4a4a;font-weight:400;line-height:1.5}h1{margin:0;padding:0;font-size:1.375rem;line-height:1.25;margin-bottom:0.5rem;}table{width:100%;border-spacing: 0;}table th,table td{padding:.2rem .5rem;white-space:nowrap;vertical-align:top}table th a,table td a{display:inline-block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:95%;vertical-align:top}table tr:hover td{background-color:#f5f5f5}footer{padding-top:0.5rem}table tr th{text-align:left;}</style>"#;
const FOOTER: &str = r#"<footer>Powered by <a target="_blank" href="https://sws.joseluisq.net">static-web-server</a> | MIT & Apache 2.0</footer>"#;
const FOOTER: &str = r#"<footer>Powered by <a target="_blank" href="https://static-web-server.net">Static Web Server</a> | MIT & Apache 2.0</footer>"#;
const DATETIME_FORMAT_UTC: &str = "%FT%TZ";
const DATETIME_FORMAT_LOCAL: &str = "%F %T";
@@ -99,7 +99,7 @@ kind = 301
[[advanced.redirects]]
source = "/index.html"
destination = "https://sws.joseluisq.net"
destination = "https://static-web-server.net"
kind = 302