File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 3030 deploy :
3131 needs : build
3232 runs-on : ubuntu-latest
33- if : github.ref == 'refs/heads/main' && github.event_name != 'pull_request'
3433
3534 environment :
3635 name : github-pages
Original file line number Diff line number Diff line change @@ -4,6 +4,7 @@ import { remarkHeadingId } from "remark-custom-heading-id";
44import rehypeSlug from 'rehype-slug' ;
55import rehypeAutolinkHeadings from 'rehype-autolink-headings' ;
66import rehypeExternalLinks from "rehype-external-links" ;
7+ import relativeLinks from "astro-relative-links" ;
78import yaml from '@rollup/plugin-yaml' ;
89
910export default defineConfig ( {
@@ -39,4 +40,5 @@ export default defineConfig({
3940 } ]
4041 ] ,
4142 } ,
43+ integrations : [ relativeLinks ( ) ] ,
4244} ) ;
Original file line number Diff line number Diff line change 1313 "rehype-autolink-headings" : " ^7.1.0" ,
1414 "rehype-external-links" : " ^3.0.0" ,
1515 "rehype-slug" : " ^6.0.0" ,
16- "remark-custom-heading-id" : " ^2.0.0"
16+ "remark-custom-heading-id" : " ^2.0.0" ,
17+ "astro-relative-links" : " ^0.4.2"
1718 },
1819 "devDependencies" : {
1920 "@rollup/plugin-yaml" : " ^4.1.2"
You can’t perform that action at this time.
0 commit comments