forked from OlegShchavelev/ALTMobileWiki
-
Notifications
You must be signed in to change notification settings - Fork 0
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
1 parent
837ad92
commit f1533bf
Showing
13 changed files
with
244 additions
and
221 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,23 @@ | ||
{ | ||
"trailingComma": "none", | ||
"trailingComma": none, | ||
"tabWidth": 2, | ||
"useTabs": false, | ||
"printWidth": 110, | ||
"printWidth": 80, | ||
"singleQuote": true, | ||
"semi": false | ||
"semi": false, | ||
"overrides": [ | ||
{ | ||
"files": ["*.json5"], | ||
"options": { | ||
"singleQuote": false, | ||
"quoteProps": "preserve" | ||
} | ||
}, | ||
{ | ||
"files": ["*.yml"], | ||
"options": { | ||
"singleQuote": false | ||
} | ||
} | ||
] | ||
} |
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,79 +1,81 @@ | ||
import { defineConfigWithTheme} from 'vitepress' | ||
import { defineConfigWithTheme } from 'vitepress' | ||
import { nav, sidebar } from '../data/navigations' | ||
import { packages } from '../../package-lock.json' | ||
|
||
export const en = defineConfigWithTheme({ | ||
lang: 'en', | ||
themeConfig: { | ||
nav: nav.en, | ||
sidebar: sidebar.en, | ||
footer: { | ||
message: 'Released under the <a href="licence/">MIT License</a>', | ||
copyright: `Copyright © 2024 ALT Mobile Wiki, developed on the platform <a href="//vitepress.dev/" target="_blank">VitePress ${packages['node_modules/vitepress'].version}</a>` | ||
lang: 'en', | ||
themeConfig: { | ||
nav: nav.en, | ||
sidebar: sidebar.en, | ||
footer: { | ||
message: 'Released under the <a href="licence/">MIT License</a>', | ||
copyright: `Copyright © 2024 ALT Mobile Wiki, developed on the platform <a href="//vitepress.dev/" target="_blank">VitePress ${packages['node_modules/vitepress'].version}</a>` | ||
}, | ||
asideMeta: { | ||
developer: { | ||
label: 'Developer' | ||
}, | ||
asideMeta: { | ||
developer: { | ||
label: 'Developer' | ||
keywords: { | ||
core: { | ||
name: 'GNOME Core', | ||
type: 'info' | ||
}, | ||
circle: { | ||
name: 'GNOME Circle', | ||
type: 'success' | ||
}, | ||
adaptive: { | ||
name: 'Adaptive', | ||
type: 'tip' | ||
}, | ||
keywords: { | ||
core: { | ||
name: 'GNOME Core', | ||
type: 'info' | ||
}, | ||
circle: { | ||
name: 'GNOME Circle', | ||
type: 'success' | ||
}, | ||
adaptive: { | ||
name: 'Adaptive', | ||
type: 'tip' | ||
}, | ||
proprietary: { | ||
name: 'Proprietary', | ||
type: 'danger' | ||
}, | ||
restrictions: { | ||
name: 'Regional restrictions', | ||
type: 'danger' | ||
}, | ||
oobe: { | ||
name: 'OOBELOCAL', | ||
type: 'warning' | ||
}, | ||
dontthemes: { | ||
name: 'Please don’t theme', | ||
type: 'success-1' | ||
} | ||
proprietary: { | ||
name: 'Proprietary', | ||
type: 'danger' | ||
}, | ||
lists: { | ||
labels: { | ||
metadata_license: 'Licence', | ||
homepage: 'Project Website', | ||
help: 'Help', | ||
translate: 'Contribute Translations', | ||
bugtracker: 'Report an Issue' | ||
}, | ||
restrictions: { | ||
name: 'Regional restrictions', | ||
type: 'danger' | ||
}, | ||
links: { | ||
sisyphus: { | ||
anchor: 'Sisyphus', | ||
target: '_blank', | ||
baseUrl: '//packages.altlinux.org/en/sisyphus/srpms/', | ||
style: '--agw-btn-bg: var(--vp-c-yellow-dimm-1); --agw-btn-color: var(--vp-c-yellow-darker); --agw-btn-hover-bg:var(--vp-c-yellow-dark); --agw-btn-hover-color: var(--vp-c-white);' | ||
}, | ||
flatpak: { | ||
anchor: 'Flatpak', | ||
target: '_blank', | ||
baseUrl: '//flathub.org/apps/', | ||
style: '--agw-btn-bg: var(--vp-c-blue-dimm-1); --agw-btn-color: var(--vp-c-blue-darker); --agw-btn-hover-bg:var(--vp-c-blue-dark); --agw-btn-hover-color: var(--vp-c-white);' | ||
}, | ||
about_app: { | ||
anchor: 'More', | ||
target: '_blank', | ||
style: | ||
'--agw-btn-bg: var(--vp-c-green-dimm-1); --agw-btn-color: var(--vp-c-green-darker); --agw-btn-hover-bg:var(--vp-c-green-dark); --agw-btn-hover-color: var(--vp-c-white);' | ||
} | ||
oobe: { | ||
name: 'OOBELOCAL', | ||
type: 'warning' | ||
}, | ||
dontthemes: { | ||
name: 'Please don’t theme', | ||
type: 'success-1' | ||
} | ||
}, | ||
lists: { | ||
labels: { | ||
metadata_license: 'Licence', | ||
homepage: 'Project Website', | ||
help: 'Help', | ||
translate: 'Contribute Translations', | ||
bugtracker: 'Report an Issue' | ||
} | ||
}, | ||
links: { | ||
sisyphus: { | ||
anchor: 'Sisyphus', | ||
target: '_blank', | ||
baseUrl: '//packages.altlinux.org/en/sisyphus/srpms/', | ||
style: | ||
'--agw-btn-bg: var(--vp-c-yellow-dimm-1); --agw-btn-color: var(--vp-c-yellow-darker); --agw-btn-hover-bg:var(--vp-c-yellow-dark); --agw-btn-hover-color: var(--vp-c-white);' | ||
}, | ||
flatpak: { | ||
anchor: 'Flatpak', | ||
target: '_blank', | ||
baseUrl: '//flathub.org/apps/', | ||
style: | ||
'--agw-btn-bg: var(--vp-c-blue-dimm-1); --agw-btn-color: var(--vp-c-blue-darker); --agw-btn-hover-bg:var(--vp-c-blue-dark); --agw-btn-hover-color: var(--vp-c-white);' | ||
}, | ||
about_app: { | ||
anchor: 'More', | ||
target: '_blank', | ||
style: | ||
'--agw-btn-bg: var(--vp-c-green-dimm-1); --agw-btn-color: var(--vp-c-green-darker); --agw-btn-hover-bg:var(--vp-c-green-dark); --agw-btn-hover-color: var(--vp-c-white);' | ||
} | ||
} | ||
}, | ||
}) | ||
} | ||
} | ||
}) |
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
Oops, something went wrong.