-
Notifications
You must be signed in to change notification settings - Fork 8
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
48 changed files
with
2,744 additions
and
506 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
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
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
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,9 @@ | ||
//go:build !embeddocs | ||
// +build !embeddocs | ||
|
||
package main | ||
|
||
import "embed" | ||
|
||
var StaticDocsFs embed.FS | ||
var StaticDocsPath = "" |
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,10 @@ | ||
//go:build embeddocs | ||
// +build embeddocs | ||
|
||
package main | ||
|
||
import "embed" | ||
|
||
//go:embed ui/docs/.vitepress/dist | ||
var StaticDocsFs embed.FS | ||
var StaticDocsPath = "ui/docs/.vitepress/dist" |
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,5 +1,5 @@ | ||
//go:build !embedstatic | ||
// +build !embedstatic | ||
//go:build !embedui | ||
// +build !embedui | ||
|
||
package main | ||
|
||
|
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,5 +1,5 @@ | ||
//go:build embedstatic | ||
// +build embedstatic | ||
//go:build embedui | ||
// +build embedui | ||
|
||
package main | ||
|
||
|
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
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
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 @@ | ||
cache |
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,63 @@ | ||
import { defineConfig } from 'vitepress' | ||
|
||
// https://vitepress.dev/reference/site-config | ||
export default defineConfig({ | ||
title: "Photofield", | ||
description: "Self-Hosted Personal Photo Gallery", | ||
ignoreDeadLinks: [ | ||
/^https?:\/\/localhost/, | ||
], | ||
base: '/docs/', | ||
cleanUrls: true, | ||
themeConfig: { | ||
// https://vitepress.dev/reference/default-theme-config | ||
|
||
logo: "/favicon-32x32.png", | ||
|
||
editLink: { | ||
pattern: 'https://github.com/smilyorg/photofield/edit/main/docs/:path' | ||
}, | ||
|
||
nav: [ | ||
{ text: 'Home', link: '/' }, | ||
{ text: 'Quick Start', link: '/quick-start' }, | ||
], | ||
|
||
sidebar: [ | ||
{ | ||
text: 'Install', | ||
items: [ | ||
{ text: 'Quick Start', link: '/quick-start' }, | ||
] | ||
}, | ||
{ | ||
text: 'Usage', | ||
link: '/usage', | ||
items: [ | ||
{ text: 'User Interface', link: '/user-interface' }, | ||
{ text: 'Configuration', link: '/configuration' }, | ||
{ text: 'Maintenance', link: '/maintenance' }, | ||
] | ||
}, | ||
{ | ||
text: 'Contributing', | ||
link: '/contributing', | ||
items: [ | ||
{ text: 'Development', link: '/development' }, | ||
] | ||
}, | ||
{ | ||
text: 'About', | ||
items: [ | ||
{ text: 'License', link: '/license' }, | ||
{ text: 'Credits', link: '/credits' }, | ||
] | ||
} | ||
], | ||
|
||
socialLinks: [ | ||
{ icon: 'github', link: 'https://github.com/SmilyOrg/photofield' } | ||
] | ||
|
||
}, | ||
}) |
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,15 @@ | ||
:root { | ||
--vp-c-brand-1: #dd8888; | ||
--vp-c-brand-2: #dd8888; | ||
--vp-c-brand-3: #be6868; | ||
} | ||
|
||
.VPFeature article > img { | ||
margin-left: -24px; | ||
margin-top: -24px; | ||
margin-bottom: 24px; | ||
width: calc(100% + 48px); | ||
max-width: calc(100% + 48px); | ||
border-top-left-radius: 12px; | ||
border-top-right-radius: 12px; | ||
} |
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,5 @@ | ||
// .vitepress/theme/index.js | ||
import DefaultTheme from 'vitepress/theme' | ||
import './custom.css' | ||
|
||
export default DefaultTheme |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Oops, something went wrong.