Skip to content

Commit

Permalink
Add suggest changes link to site
Browse files Browse the repository at this point in the history
  • Loading branch information
edoardocavazza committed Nov 22, 2023
1 parent c9cfeb2 commit b21efaa
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
5 changes: 5 additions & 0 deletions docs/.vitepress/config.js
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,11 @@ export default defineConfig({
themeConfig: {
logo: 'https://raw.githubusercontent.com/chialab/dna/main/logo.svg',

editLink: {
pattern: 'https://github.com/chialab/dna/edit/main/docs/:path',
text: 'Suggest changes to this page',
},

search: {
provider: 'algolia',
options: {
Expand Down
3 changes: 3 additions & 0 deletions docs/.vitepress/theme/theme.css
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,7 @@
--vp-button-brand-bg: var(--vp-c-brand-1);
--vp-button-brand-hover-bg: #d56e00;
--vp-button-brand-active-bg: #ce5900;

--vp-home-hero-name-color: transparent;
--vp-home-hero-name-background: linear-gradient(to bottom right, #ffac52 0%, #f07c00 100%);
}

0 comments on commit b21efaa

Please sign in to comment.