File tree Expand file tree Collapse file tree 7 files changed +756
-11622
lines changed Expand file tree Collapse file tree 7 files changed +756
-11622
lines changed Original file line number Diff line number Diff line change @@ -6,5 +6,5 @@ composer.lock
6
6
/.php-cs-fixer.cache
7
7
/.phpunit.result.cache
8
8
/node_modules /
9
- /docs /.vuepress /dist /
10
- /docs /README .md
9
+ /docs /.vitepress /dist /
10
+ /docs /index .md
Original file line number Diff line number Diff line change 16
16
<option value =" patch" >PATCH</option >
17
17
</select >
18
18
<h4 >Strict mode</h4 >
19
- <label ><input type =" checkbox" v-model =" strictMode" > Use strict mode</label >
19
+ <label class = " label " ><input type =" checkbox" v-model =" strictMode" > Use strict mode</label >
20
20
<h4 >Possible fixtures (in order of specificity)</h4 >
21
21
<ol v-if =" fixtures.length" >
22
22
<li v-for =" fixture in fixtures" >/path/to/fixtures/{{ fixture }}</li >
277
277
<style scoped>
278
278
.input ,
279
279
.select {
280
- border-radius : 2 rem ;
280
+ border-radius : 6 px ;
281
281
border : 1px solid #cfd4db ;
282
282
box-sizing : border-box ;
283
283
color : #4e6e8e ;
290
290
width : 100% ;
291
291
}
292
292
293
+ .input ,
294
+ .select ,
295
+ .label {
296
+ margin : 1rem 0 ;
297
+ }
298
+
293
299
.input {
294
300
cursor : text ;
295
301
padding : 0 1rem ;
299
305
height : 2rem ;
300
306
padding : 0 1rem ;
301
307
}
308
+
309
+ .label {
310
+ display : inline-block ;
311
+ }
302
312
</style >
Original file line number Diff line number Diff line change 1
- module . exports = {
1
+ import { defineConfig } from 'vitepress'
2
+
3
+ export default defineConfig ( {
2
4
title : 'swisnl/php-http-fixture-client' ,
3
5
description : 'Fixture client for PHP-HTTP' ,
4
6
base : '/php-http-fixture-client/' ,
5
7
themeConfig : {
6
8
repo : 'swisnl/php-http-fixture-client' ,
7
- editLinks : true ,
9
+ editLinks : false ,
8
10
}
9
- } ;
11
+ } )
Original file line number Diff line number Diff line change
1
+ const cpFile = require ( 'cp-file' ) ;
2
+
3
+ cpFile ( 'README.md' , 'docs/index.md' ) ;
Original file line number Diff line number Diff line change
1
+ import DefaultTheme from 'vitepress/theme' ;
2
+ import UrlHelper from '../components/UrlHelper.vue' ;
3
+
4
+ export default {
5
+ ...DefaultTheme ,
6
+ enhanceApp ( { app } ) {
7
+ app . component ( 'UrlHelper' , UrlHelper )
8
+ }
9
+ }
You can’t perform that action at this time.
0 commit comments