-
-
Notifications
You must be signed in to change notification settings - Fork 2
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
28 changed files
with
945 additions
and
403 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 was deleted.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,51 +1,127 @@ | ||
import { defineConfig } from 'vitepress' | ||
import { withMermaid } from "vitepress-plugin-mermaid"; | ||
|
||
import { version } from "../../package.json"; | ||
|
||
// https://vitepress.dev/reference/site-config | ||
export default defineConfig({ | ||
title: "ABAP OData Framework", | ||
lang: 'en-US', | ||
base: '/odata-fw/', | ||
description: "A odata framework for a SAP System. ", | ||
head: [['link', { rel: 'icon', href: '../assets/favicon.ico' }]], | ||
sitemap: { | ||
hostname: "https://miggi92.github.io/odata-fw/" | ||
}, | ||
themeConfig: { | ||
// https://vitepress.dev/reference/default-theme-config | ||
nav: [ | ||
{ text: 'Home', link: '/' }, | ||
{ text: 'Documentation', link: '/documentation/' } | ||
], | ||
search: { | ||
provider: 'local', | ||
options: { | ||
_render(src, env, md) { | ||
const html = md.render(src, env) | ||
if (env.frontmatter?.title) | ||
return md.render(`# ${env.frontmatter.title}`) + html | ||
return html | ||
export default | ||
// withMermaid( | ||
|
||
defineConfig({ | ||
title: "ABAP OData Framework", | ||
lang: 'en-US', | ||
base: '/odata-fw/', | ||
description: "A odata framework for a SAP System. ", | ||
head: [['link', { rel: 'icon', href: '../assets/favicon.ico' }]], | ||
lastUpdated: true, | ||
sitemap: { | ||
hostname: "https://miggi92.github.io/odata-fw/" | ||
}, | ||
themeConfig: { | ||
// https://vitepress.dev/reference/default-theme-config | ||
nav: nav(), | ||
outline: [2, 6], | ||
search: { | ||
provider: 'local', | ||
options: { | ||
_render(src, env, md) { | ||
const html = md.render(src, env) | ||
if (env.frontmatter?.title) | ||
return md.render(`# ${env.frontmatter.title}`) + html | ||
return html | ||
} | ||
} | ||
}, | ||
lastUpdated: { | ||
text: 'Updated at', | ||
formatOptions: { | ||
dateStyle: 'full', | ||
timeStyle: 'medium' | ||
} | ||
}, | ||
|
||
sidebar: { | ||
"/documentation/": sidebarDocumentation(), | ||
}, | ||
logo: '../assets/odata_fw_logo_transparent.png', | ||
|
||
socialLinks: [ | ||
{ icon: 'github', link: 'https://github.com/miggi92/odata-fw' } | ||
], | ||
footer: { | ||
message: 'Released under the MIT License.', | ||
copyright: 'Copyright © 2019 - present miggi92' | ||
} | ||
}, | ||
locales: { | ||
root: { | ||
label: 'English', | ||
lang: 'en' | ||
}, | ||
} | ||
} | ||
// ) | ||
); | ||
|
||
sidebar: [ | ||
{ | ||
text: 'Documentation', | ||
items: [ | ||
{ text: 'Documentation', link: '/documentation/' }, | ||
{ text: 'Creating a service', link: '/documentation/Creating-a-service' }, | ||
{ text: 'DPC boilerplate code', link: '/documentation/DPC-boilerplate-code' } | ||
] | ||
} | ||
], | ||
logo: '../assets/odata_fw_logo_transparent.png', | ||
function nav() { | ||
return [ | ||
{ text: 'Home', link: '/' }, | ||
{ text: 'Documentation', link: '/documentation/', activeMatch: "/documentation/" }, | ||
{ | ||
text: version, | ||
items: [ | ||
{ | ||
text: 'Changelog', | ||
link: 'https://github.com/miggi92/odata-fw/blob/master/CHANGELOG.md' | ||
}, | ||
{ | ||
text: 'Contributing', | ||
link: 'https://github.com/miggi92/odata-fw/blob/master/CONTRIBUTING.md' | ||
} | ||
] | ||
}, | ||
]; | ||
} | ||
|
||
socialLinks: [ | ||
{ icon: 'github', link: 'https://github.com/miggi92/odata-fw' } | ||
], | ||
footer: { | ||
message: 'Released under the MIT License.', | ||
copyright: 'Copyright © 2019 - present miggi92' | ||
function sidebarDocumentation() { | ||
return [ | ||
{ | ||
text: "Documentation", | ||
collapsible: true, | ||
items: [ | ||
{ text: 'Creating a service', link: '/documentation/Creating-a-service' }, | ||
{ text: 'DPC boilerplate code', link: '/documentation/DPC-boilerplate-code' } | ||
], | ||
}, | ||
{ | ||
text: 'Development Objects', | ||
link: '/documentation/dev-objects/', | ||
collapsible: true, | ||
items: [ | ||
{ text: 'Documentation', link: '/documentation/dev-objects/' }, { | ||
text: 'Classes', link: '/documentation/dev-objects/classes/', items: [ | ||
{ text: 'ZCL_ODATA_DATA_PROVIDER', link: '/documentation/dev-objects/classes/ZCL_ODATA_DATA_PROVIDER' }, | ||
{ text: 'ZCL_ODATA_DOCUMENTS', link: '/documentation/dev-objects/classes/ZCL_ODATA_DOCUMENTS' }, | ||
{ text: 'ZCL_ODATA_FW_CONTROLLER', link: '/documentation/dev-objects/classes/ZCL_ODATA_FW_CONTROLLER' }, | ||
{ text: 'ZCL_ODATA_FW_CUST_DPC', link: '/documentation/dev-objects/classes/ZCL_ODATA_FW_CUST_DPC' }, | ||
{ text: 'ZCL_ODATA_FW_CUST', link: '/documentation/dev-objects/classes/ZCL_ODATA_FW_CUST' }, | ||
{ text: 'ZCL_ODATA_FW_MPC', link: '/documentation/dev-objects/classes/ZCL_ODATA_FW_MPC' }, | ||
{ text: 'ZCL_ODATA_MAIN', link: '/documentation/dev-objects/classes/ZCL_ODATA_MAIN' }, | ||
{ text: 'ZCL_ODATA_UTILS', link: '/documentation/dev-objects/classes/ZCL_ODATA_UTILS' }, | ||
{ text: 'ZCL_ODATA_VALUE_HELP', link: '/documentation/dev-objects/classes/ZCL_ODATA_VALUE_HELP' }, | ||
{ | ||
text: 'Annotations', link: '/documentation/dev-objects/classes/annotations/', items: [ | ||
{ text: 'ZCL_ODATA_ANNOTATION_COMMON', link: '/documentation/dev-objects/classes/annotations/ZCL_ODATA_ANNOTATION_COMMON' }, | ||
{ text: 'ZCL_ODATA_ANNOTATION_SHLP', link: '/documentation/dev-objects/classes/annotations/ZCL_ODATA_ANNOTATION_SHLP' }, | ||
] | ||
}, | ||
] | ||
}, { | ||
text: 'DDIC objects', link: '/documentation/dev-objects/ddic/', collapsible: true | ||
}, | ||
{ | ||
text: 'SAP objects', link: '/documentation/dev-objects/sap-objects/' | ||
}] | ||
} | ||
} | ||
}) | ||
]; | ||
} |
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
File renamed without changes.
4 changes: 0 additions & 4 deletions
4
.../dev-objects/classes/ZCL_ODATA_FW_CUST.md → .../dev-objects/classes/ZCL_ODATA_FW_CUST.md
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
5 changes: 0 additions & 5 deletions
5
...-objects/classes/ZCL_ODATA_FW_CUST_DPC.md → ...-objects/classes/ZCL_ODATA_FW_CUST_DPC.md
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
5 changes: 0 additions & 5 deletions
5
docs/dev-objects/classes/ZCL_ODATA_FW_MPC.md → ...n/dev-objects/classes/ZCL_ODATA_FW_MPC.md
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
File renamed without changes.
12 changes: 4 additions & 8 deletions
12
...v-objects/classes/ZCL_ODATA_VALUE_HELP.md → ...v-objects/classes/ZCL_ODATA_VALUE_HELP.md
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
4 changes: 0 additions & 4 deletions
4
...nnotations/ZCL_ODATA_ANNOTATION_COMMON.md → ...nnotations/ZCL_ODATA_ANNOTATION_COMMON.md
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
6 changes: 1 addition & 5 deletions
6
.../annotations/ZCL_ODATA_ANNOTATION_SHLP.md → .../annotations/ZCL_ODATA_ANNOTATION_SHLP.md
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
4 changes: 0 additions & 4 deletions
4
.../dev-objects/classes/annotations/index.md → .../dev-objects/classes/annotations/index.md
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.