Skip to content

Commit

Permalink
feat: update deps
Browse files Browse the repository at this point in the history
  • Loading branch information
Mister-Hope committed Dec 15, 2024
1 parent 6cc3067 commit 1086df0
Show file tree
Hide file tree
Showing 13 changed files with 5,346 additions and 9,604 deletions.
14,511 changes: 5,205 additions & 9,306 deletions package-lock.json

Large diffs are not rendered by default.

15 changes: 8 additions & 7 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,16 +11,17 @@
"docs:update-package": "npx vp-update"
},
"devDependencies": {
"@vuepress/client": "2.0.0-beta.66",
"vue": "^3.3.4",
"vuepress": "2.0.0-beta.66",
"vuepress-plugin-redirect": "^2.0.0-beta.233",
"vuepress-plugin-search-pro": "2.0.0-beta.233",
"vuepress-theme-hope": "2.0.0-beta.233"
"@vuepress/bundler-vite": "2.0.0-rc.19",
"@vuepress/plugin-slimsearch": "2.0.0-rc.66",
"sass-embedded": "^1.83.0",
"vue": "^3.5.13",
"vuepress": "2.0.0-rc.19",
"vuepress-theme-hope": "2.0.0-rc.64"
},
"prettier": {
"trailingComma": "none",
"arrowParens": "avoid",
"printWidth": 100
}
},
"packageManager": "[email protected]"
}
98 changes: 6 additions & 92 deletions src/.vuepress/config.ts
Original file line number Diff line number Diff line change
@@ -1,105 +1,19 @@
import { viteBundler } from "@vuepress/bundler-vite";
import { defineUserConfig } from "vuepress";
import { searchProPlugin } from "vuepress-plugin-search-pro";
import { redirectPlugin } from "vuepress-plugin-redirect";
import theme from "./theme.js";

export default defineUserConfig({
base: "/",

locales: {
"/": {
lang: "en-US",
title: "abapGit Docs",
description: "A git client for ABAP developed in ABAP"
}
// "/de/": {
// lang: "de-DE",
// title: "abapGit Doks",
// description: "Ein Git client für ABAP entwickelt mit ABAP",
// },
},
theme,
plugins: [
searchProPlugin({
indexContent: true,
// add supports for category and tags
customFields: [
{
getter: page => (page.frontmatter as any).category,
formatter: "Category: $content"
},
{
getter: page => page.frontmatter.tag,
formatter: "Tag: $content"
}
]
}),
redirectPlugin({
// redirect old pages to new site
config: {
"/guide-authentication.html": "/user-guide/projects/online/authentication.html",
"/guide-contributing.html": "/user-guide/projects/online/contributing.html",
"/guide-export-zip.html": "/user-guide/projects/offline/export-zip.html",
"/guide-first-project.html": "/user-guide/projects/online/first-project.html",
"/guide-import-rfc.html": "/user-guide/projects/offline/import-rfc.html",
"/guide-import-zip.html": "/user-guide/projects/offline/import-zip.html",
"/guide-install.html": "/user-guide/getting-started/install.html",
"/guide-moving-package.html": "/user-guide/projects/online/moving-package.html",
"/guide-offline-install.html": "/user-guide/projects/offline/install.html",
"/guide-online-install.html": "/user-guide/projects/online/install.html",
"/guide-online-uninstall.html": "/user-guide/projects/remove/uninstall.html",
"/guide-online-update.html": "/user-guide/projects/online/update.html",
"/guide-regular-backup.html": "/user-guide/other/regular-backup.html",
"/guide-sapgui.html": "/user-guide/setup/sapgui.html",
"/guide-saplink.html": "/user-guide/other/saplink.html",
"/guide-settings-global.html": "/user-guide/setup/settings-global.html",
"/guide-settings-personal.html": "/user-guide/setup/settings-personal.html",
"/guide-ssl-setup.html": "/user-guide/setup/ssl-setup.html",
"/guide-ssl-test.html": "/user-guide/setup/ssl-test.html",
"/guide-stage-commit.html": "/user-guide/projects/online/",
"/guide-ui-layout.html": "/user-guide/getting-started/ui-layout.html",
"/guide-ui.html": "/user-guide/getting-started/ui.html",
"/guide-uninstall.html": "/user-guide/getting-started/uninstall.html",
"/guide-upgrade.html": "/user-guide/getting-started/upgrade.html",
"/other-articles-and-presentations.html": "/user-guide/other/articles-and-presentations.html",
"/other-logos.html": "/user-guide/other/logos.html",
"/other-where-used.html": "/user-guide/other/where-used.html",
"/other-xml-mismatch.html": "/user-guide/other/xml-mismatch.htm",
"/ref-apack.html": "/user-guide/reference/apack.html",
"/ref-authorizations.html": "/user-guide/reference/authorizations.html",
"/ref-database-util.html": "/user-guide/reference/database-util.html",
"/ref-exits.html": "/user-guide/reference/exits.html",
"/ref-folders-filenames.html": "/user-guide/reference/folders-filenames.html",
"/ref-hotkeys.html": "/user-guide/reference/hotkeys.html",
"/ref-icons.html": "/user-guide/reference/icons.html",
"/ref-namespaces.html": "/user-guide/reference/namespaces.html",
"/ref-packages.html": "/user-guide/reference/packages.html",
"/ref-supported.html": "/user-guide/reference/supported.html",
"/ref-translations.html": "/user-guide/reference/translations.html",
"/settings-background-mode.html": "/user-guide/repo-settings/background-mode.html",
"/settings-dot-abapgit.html": "/user-guide/repo-settings/dot-abapgit.html",
"/settings-local.html": "/user-guide/repo-settings/local.html",
"/settings-remote.html": "/user-guide/repo-settings/remote.html",
"/settings-stats.html": "/user-guide/repo-settings/stats.html",
"/development/adding-icons.html": "/development-guide/user-interface/adding-icons.html",
"/development/api.html": "/development-guide/api/api.html",
"/development/ci.html": "/development-guide/testing/ci.html",
"/development/contributing.html": "/development-guide/read-first/contributing.html",
"/development/debugging.html": "/development-guide/testing/debugging.html",
"/development/developing-ui-css.html": "/development-guide/user-interface/developing-ui-css.html",
"/development/developing-ui-forms.html": "/development-guide/user-interface/developing-ui-forms.html",
"/development/developing-ui-js.html": "/development-guide/user-interface/developing-ui-js.html",
"/development/developing-ui.html": "/development-guide/user-interface/developing-ui.html",
"/development/docs.html": "/development-guide/technical-details/docs.html",
"/development/file-formats.html": "/development-guide/serializers/file-formats.html",
"/development/guide-changelog.html": "/development-guide/read-first/changelog.html",
"/development/guidelines.html": "/development-guide/read-first/guidelines.html",
"/development/index.html": "/development-guide/",
"/development/serializers.html": "/development-guide/serializers/serializers.html",
"/development/technical-links.html": "/development-guide/technical-details/technical-links.html",
"/development/tests.html": "/development-guide/testing/tests.html",
"/development/versioning.html": "/development-guide/read-first/versioning.html",
"/user-guide/projects/online/uninstall.html": "/user-guide/projects/remove/uninstall.html"
}
})
]

bundler: viteBundler(),

theme
});
3 changes: 0 additions & 3 deletions src/.vuepress/navbar/de.ts

This file was deleted.

19 changes: 0 additions & 19 deletions src/.vuepress/navbar/en.ts

This file was deleted.

2 changes: 0 additions & 2 deletions src/.vuepress/navbar/index.ts

This file was deleted.

5 changes: 0 additions & 5 deletions src/.vuepress/sidebar/de.ts

This file was deleted.

6 changes: 0 additions & 6 deletions src/.vuepress/sidebar/en.ts

This file was deleted.

2 changes: 0 additions & 2 deletions src/.vuepress/sidebar/index.ts

This file was deleted.

7 changes: 1 addition & 6 deletions src/.vuepress/styles/config.scss
Original file line number Diff line number Diff line change
@@ -1,6 +1 @@
// you can change config here
$colors: #c0392b, #d35400, #f39c12, #27ae60, #16a085, #2980b9, #8e44ad, #2c3e50, #7f8c8d !default;

// :root {
// --sidebar-width: 20rem;
// }
$theme-color: #f03c2e;
98 changes: 12 additions & 86 deletions src/.vuepress/styles/index.scss
Original file line number Diff line number Diff line change
@@ -1,90 +1,16 @@
@use "@sass-palette/hope-config";

.home.project {
top: 0;

width: 100%;
max-width: unset;
padding-right: 0;
padding-left: 0;

background-size: contain;
background-repeat: no-repeat;

// @media (min-width: 959px) {
// background: url("/img/bg1.svg") no-repeat;
// }

.hero-info-wrapper {
display: block;
max-width: 100%;
// height: 90vh;
text-align: center;

img {
max-height: 300px;
margin: 50px auto 0;
}

h1 {
font-family: bobohei, sans-serif;
}

.description {
max-width: 100%;
}

.actions {
margin-left: -10px;
}

.action-button.primary {
color: #fff;
font-family: bobohei, sans-serif;
}
[vp-content] {
&.custom {
padding: 0 5rem;
}

// .feature-panel {
// max-width: 90%;
// width: 100%;
// margin: 0 auto;
// }

.feature-wrapper {
// max-width: 100%;
// margin: 0;
// padding: 0 1rem;
border-top: none;
}

// .feature-item {
// &:hover {
// background-color: transparent;
// }

// h2 {
// font-family: bobohei, sans-serif;
// }

// p {
// font-weight: 600;
// }
// }

h2 {
border-bottom: none;
&:not(.custom) > {
p,
ul p,
ol p {
text-align: left;
overflow-wrap: break-word;
-webkit-hyphens: auto;
hyphens: auto;
}
}
}

#{hope-config.$content-class}.custom {
padding: 0 5rem;
}

#{hope-config.$content-class}:not(.custom) > p,
#{hope-config.$content-class}:not(.custom) > ul p,
#{hope-config.$content-class}:not(.custom) > ol p {
text-align: left;
overflow-wrap: break-word;
-webkit-hyphens: auto;
hyphens: auto;
}
2 changes: 0 additions & 2 deletions src/.vuepress/styles/palette.scss

This file was deleted.

Loading

0 comments on commit 1086df0

Please sign in to comment.