Skip to content

Commit 57bc498

Browse files
committed
Merge branch 'main' of https://github.com/capire/docs
2 parents 11386b0 + ad8cd33 commit 57bc498

File tree

12 files changed

+900
-306
lines changed

12 files changed

+900
-306
lines changed

.vitepress/theme/Layout.vue

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -46,13 +46,13 @@ const { frontmatter } = useData()
4646
</template>
4747
</Layout>
4848

49-
<Ribbon v-if="isPreview">
49+
<Ribbon v-if="archiveVersion">
50+
{{ archiveVersion }}<br>Archive
51+
</Ribbon>
52+
<Ribbon v-else-if="isPreview">
5053
DEV PREVIEW<br>
5154
See <a href="https://cap.cloud.sap" target="_blank" rel="noopener noreferrer">cap.cloud.sap</a>
5255
</Ribbon>
53-
<Ribbon v-else-if="archiveVersion">
54-
{{ archiveVersion }}<br>Archive
55-
</Ribbon>
5656

5757
<ShortcutsList />
5858

.vitepress/theme/code.scss

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,10 @@
11

22
main .vp-doc {
33

4+
div.vp-code-group + div[class*='language-'] {
5+
margin-top: -8px !important; // override code group margin
6+
}
7+
48
div.language-zsh pre code {
59
line-height: 1.4em
610
}
@@ -11,7 +15,7 @@ main .vp-doc {
1115
padding: 0 22px !important;
1216
}
1317
}
14-
[class*='language-'] > button.copy {
18+
div[class*='language-'] > button.copy {
1519
top: 4px; // Fix for copy button position
1620
}
1721

.vitepress/theme/components/ShortcutsList.vue

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -52,6 +52,7 @@ const commands = computed(() => [
5252
DOMCommand('Toggle Node.js or Java', 'SwitchImplVariant', ['v']),
5353
DOMCommand('Previous page', '.pager-link.prev', ['p',',']),
5454
DOMCommand('Next page', '.pager-link.next', ['n','.']),
55+
DOMCommand('Scroll to top', '.scroll-to-top', ['t']),
5556
DOMCommand('Edit on GitHub', '.edit-link-button', ['e']),
5657
DOMCommand('Edit Secondary File on Github', 'secondary-file', ['E'], true, openSecondaryEditLink ),
5758
...commandsFromConfig(),
@@ -210,7 +211,7 @@ td, th {
210211
background-color: var(--vp-c-bg-soft);
211212
}
212213
213-
.modal-header h5 {
214+
.modal-header h5 {
214215
font-weight: 600;
215216
margin-bottom: 20px;
216217
/* text-align: center; */
@@ -227,7 +228,7 @@ td, th {
227228
float: right;
228229
font-size: 20px;
229230
font-weight: bold;
230-
margin: 5px auto;
231+
margin: auto;
231232
}
232233
233234
.modal-close:hover,

.vitepress/theme/index.ts

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,6 @@ import Gamma from './components/Gamma.vue';
1010
import Concept from './components/Concept.vue'
1111
import Since from './components/Since.vue';
1212
import UnderConstruction from './components/UnderConstruction.vue';
13-
// import ScrollToTop from './components/ScrollToTop.vue'
1413
import CfgInspect from './components/ConfigInspect.vue';
1514
import TwoslashFloatingVue from '@shikijs/vitepress-twoslash/client'
1615

@@ -36,7 +35,6 @@ export default {
3635
ctx.app.component('Concept', Concept)
3736
ctx.app.component('Since', Since)
3837
ctx.app.component('UnderConstruction', UnderConstruction)
39-
// ctx.app.component('ScrollToTop', ScrollToTop)
4038
ctx.app.use(TwoslashFloatingVue)
4139
}
4240
}

guides/integration/assets/overview.drawio.svg

Lines changed: 509 additions & 4 deletions
Loading
131 KB
Loading
155 KB
Loading

0 commit comments

Comments
 (0)