-
Notifications
You must be signed in to change notification settings - Fork 2.9k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #3747 from NginxProxyManager/develop
Docs migration from vuepress to vitepress
- Loading branch information
Showing
39 changed files
with
1,101 additions
and
4,710 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,13 +1,14 @@ | ||
.vuepress/dist | ||
dist | ||
node_modules | ||
ts | ||
.temp | ||
.cache | ||
.vitepress/cache | ||
|
||
.yarn/* | ||
!.yarn/releases | ||
!.yarn/plugins | ||
!.yarn/sdks | ||
!.yarn/versions | ||
*.gz | ||
*.tgz | ||
*.tgz |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,61 @@ | ||
import { defineConfig, type DefaultTheme } from 'vitepress'; | ||
|
||
// https://vitepress.dev/reference/site-config | ||
export default defineConfig({ | ||
title: "Nginx Proxy Manager", | ||
description: "Expose your services easily and securely", | ||
head: [ | ||
["link", { rel: "icon", href: "/icon.png" }], | ||
["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" }], | ||
["meta", { property: "og:title", content: "Nginx Proxy Manager" }], | ||
["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"}], | ||
["meta", { property: "og:type", content: "website" }], | ||
["meta", { property: "og:url", content: "https://nginxproxymanager.com/" }], | ||
["meta", { property: "og:image", content: "https://nginxproxymanager.com/icon.png" }], | ||
["meta", { name: "twitter:card", content: "summary"}], | ||
["meta", { name: "twitter:title", content: "Nginx Proxy Manager"}], | ||
["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"}], | ||
["meta", { name: "twitter:image", content: "https://nginxproxymanager.com/icon.png"}], | ||
["meta", { name: "twitter:alt", content: "Nginx Proxy Manager"}], | ||
// GA | ||
['script', { async: 'true', src: 'https://www.googletagmanager.com/gtag/js?id=G-TXT8F5WY5B'}], | ||
['script', {}, "window.dataLayer = window.dataLayer || [];\nfunction gtag(){dataLayer.push(arguments);}\ngtag('js', new Date());\ngtag('config', 'G-TXT8F5WY5B');"], | ||
], | ||
sitemap: { | ||
hostname: 'https://nginxproxymanager.com' | ||
}, | ||
metaChunk: true, | ||
srcDir: './src', | ||
outDir: './dist', | ||
themeConfig: { | ||
// https://vitepress.dev/reference/default-theme-config | ||
logo: { src: '/logo.svg', width: 24, height: 24 }, | ||
nav: [ | ||
{ text: 'Setup', link: '/setup/' }, | ||
], | ||
sidebar: [ | ||
{ | ||
items: [ | ||
// { text: 'Home', link: '/' }, | ||
{ text: 'Guide', link: '/guide/' }, | ||
{ text: 'Screenshots', link: '/screenshots/' }, | ||
{ text: 'Setup Instructions', link: '/setup/' }, | ||
{ text: 'Advanced Configuration', link: '/advanced-config/' }, | ||
{ text: 'Upgrading', link: '/upgrading/' }, | ||
{ text: 'Frequently Asked Questions', link: '/faq/' }, | ||
{ text: 'Third Party', link: '/third-party/' }, | ||
] | ||
} | ||
], | ||
socialLinks: [ | ||
{ icon: 'github', link: 'https://github.com/NginxProxyManager/nginx-proxy-manager' } | ||
], | ||
search: { | ||
provider: 'local' | ||
}, | ||
footer: { | ||
message: 'Released under the MIT License.', | ||
copyright: 'Copyright © 2016-present jc21.com' | ||
} | ||
} | ||
}); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
:root { | ||
--vp-home-hero-name-color: transparent; | ||
--vp-home-hero-name-background: -webkit-linear-gradient(120deg, #f15833 30%, #FAA42F); | ||
|
||
--vp-home-hero-image-background-image: linear-gradient(-45deg, #aaaaaa 50%, #777777 50%); | ||
--vp-home-hero-image-filter: blur(44px); | ||
|
||
--vp-c-brand-1: #f15833; | ||
--vp-c-brand-2: #FAA42F; | ||
--vp-c-brand-3: #f15833; | ||
} | ||
|
||
@media (min-width: 640px) { | ||
:root { | ||
--vp-home-hero-image-filter: blur(56px); | ||
} | ||
} | ||
|
||
@media (min-width: 960px) { | ||
:root { | ||
--vp-home-hero-image-filter: blur(68px); | ||
} | ||
} | ||
|
||
.inline-img img { | ||
display: inline; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
import DefaultTheme from 'vitepress/theme' | ||
import './custom.css' | ||
|
||
export default DefaultTheme |
This file was deleted.
Oops, something went wrong.
Binary file not shown.
Binary file not shown.
Oops, something went wrong.