Skip to content

Commit 70cfbfb

Browse files
committed
Replace docs vuepress with vitepress
1 parent 42cd1f2 commit 70cfbfb

40 files changed

+1034
-15623
lines changed

docs/.gitignore

Lines changed: 12 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,14 @@
1-
.vuepress/dist
1+
dist
22
node_modules
33
ts
4-
api.md
5-
api/
4+
.temp
5+
.cache
6+
.vitepress/cache
7+
8+
.yarn/*
9+
!.yarn/releases
10+
!.yarn/plugins
11+
!.yarn/sdks
12+
!.yarn/versions
13+
*.gz
14+
*.tgz

docs/.vitepress/config.mts

Lines changed: 62 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,62 @@
1+
import { defineConfig, type DefaultTheme } from 'vitepress';
2+
3+
// https://vitepress.dev/reference/site-config
4+
export default defineConfig({
5+
title: "Nginx Proxy Manager",
6+
description: "Expose your services easily and securely",
7+
head: [
8+
["link", { rel: "icon", href: "/icon.png" }],
9+
["meta", { name: "description", content: "Docker container and built in Web Application for managing Nginx proxy hosts with a simple, powerful interface, providing free SSL support via Let's Encrypt" }],
10+
["meta", { property: "og:title", content: "Nginx Proxy Manager" }],
11+
["meta", { property: "og:description", content: "Docker container and built in Web Application for managing Nginx proxy hosts with a simple, powerful interface, providing free SSL support via Let's Encrypt"}],
12+
["meta", { property: "og:type", content: "website" }],
13+
["meta", { property: "og:url", content: "https://nginxproxymanager.com/" }],
14+
["meta", { property: "og:image", content: "https://nginxproxymanager.com/icon.png" }],
15+
["meta", { name: "twitter:card", content: "summary"}],
16+
["meta", { name: "twitter:title", content: "Nginx Proxy Manager"}],
17+
["meta", { name: "twitter:description", content: "Docker container and built in Web Application for managing Nginx proxy hosts with a simple, powerful interface, providing free SSL support via Let's Encrypt"}],
18+
["meta", { name: "twitter:image", content: "https://nginxproxymanager.com/icon.png"}],
19+
["meta", { name: "twitter:alt", content: "Nginx Proxy Manager"}],
20+
// GA
21+
['script', { async: 'true', src: 'https://www.googletagmanager.com/gtag/js?id=G-TXT8F5WY5B'}],
22+
['script', {}, "window.dataLayer = window.dataLayer || [];\nfunction gtag(){dataLayer.push(arguments);}\ngtag('js', new Date());\ngtag('config', 'G-TXT8F5WY5B');"],
23+
],
24+
sitemap: {
25+
hostname: 'https://nginxproxymanager.com'
26+
},
27+
metaChunk: true,
28+
srcDir: './src',
29+
outDir: './dist',
30+
themeConfig: {
31+
// https://vitepress.dev/reference/default-theme-config
32+
logo: { src: '/logo.svg', width: 24, height: 24 },
33+
nav: [
34+
{ text: 'Setup', link: '/setup/' },
35+
],
36+
sidebar: [
37+
{
38+
items: [
39+
// { text: 'Home', link: '/' },
40+
{ text: 'Guide', link: '/guide/' },
41+
{ text: 'Screenshots', link: '/screenshots/' },
42+
{ text: 'Setup Instructions', link: '/setup/' },
43+
{ text: 'Advanced Configuration', link: '/advanced-config/' },
44+
{ text: 'Upgrading', link: '/upgrading/' },
45+
{ text: 'Frequently Asked Questions', link: '/faq/' },
46+
{ text: 'Third Party', link: '/third-party/' },
47+
{ text: 'Development', link: '/development/' },
48+
]
49+
}
50+
],
51+
socialLinks: [
52+
{ icon: 'github', link: 'https://github.com/NginxProxyManager/nginx-proxy-manager' }
53+
],
54+
search: {
55+
provider: 'local'
56+
},
57+
footer: {
58+
message: 'Released under the MIT License.',
59+
copyright: 'Copyright © 2016-present jc21.com'
60+
}
61+
}
62+
});

docs/.vitepress/theme/custom.css

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
:root {
2+
--vp-home-hero-name-color: transparent;
3+
--vp-home-hero-name-background: -webkit-linear-gradient(120deg, #f15833 30%, #FAA42F);
4+
5+
--vp-home-hero-image-background-image: linear-gradient(-45deg, #aaaaaa 50%, #777777 50%);
6+
--vp-home-hero-image-filter: blur(44px);
7+
8+
--vp-c-brand-1: #f15833;
9+
--vp-c-brand-2: #FAA42F;
10+
--vp-c-brand-3: #f15833;
11+
}
12+
13+
@media (min-width: 640px) {
14+
:root {
15+
--vp-home-hero-image-filter: blur(56px);
16+
}
17+
}
18+
19+
@media (min-width: 960px) {
20+
:root {
21+
--vp-home-hero-image-filter: blur(68px);
22+
}
23+
}
24+
25+
.inline-img img {
26+
display: inline;
27+
}

docs/.vitepress/theme/index.ts

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
import DefaultTheme from 'vitepress/theme'
2+
import './custom.css'
3+
4+
export default DefaultTheme

docs/.vuepress/config.js

Lines changed: 0 additions & 83 deletions
This file was deleted.

docs/.vuepress/public/logo.png

-56.7 KB
Binary file not shown.

docs/.vuepress/public/nerd-font.woff2

-369 KB
Binary file not shown.

docs/.vuepress/styles/index.styl

Lines changed: 0 additions & 23 deletions
This file was deleted.

docs/.vuepress/styles/palette.styl

Lines changed: 0 additions & 4 deletions
This file was deleted.

docs/README.md

Lines changed: 0 additions & 73 deletions
This file was deleted.

0 commit comments

Comments
 (0)