Skip to content

Commit

Permalink
my eyes, save them
Browse files Browse the repository at this point in the history
  • Loading branch information
avafloww committed Jun 17, 2023
1 parent ae6a4bc commit c55b415
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
4 changes: 3 additions & 1 deletion .github/workflows/docs.yml
Original file line number Diff line number Diff line change
@@ -1,9 +1,11 @@
name: Deploy documentation to GitHub Pages

on:
# Runs on pushes targeting the default branch
push:
branches: [main]
paths:
- 'docs/**'
- '.github/workflows/docs.yml'

# Allows you to run this workflow manually from the Actions tab
workflow_dispatch:
Expand Down
5 changes: 4 additions & 1 deletion docs/docusaurus.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,10 @@ const config = {
prism: {
theme: lightCodeTheme,
darkTheme: darkCodeTheme,
}
},
defaultMode: 'dark',
disableSwitch: false,
respectPrefersColorScheme: false,
}),
};

Expand Down

0 comments on commit c55b415

Please sign in to comment.