Skip to content

Commit

Permalink
Updated default extensions and settings for foam docs and template
Browse files Browse the repository at this point in the history
Also monitoring the folder to trigger the appropriate sync job
  • Loading branch information
riccardoferretti committed Oct 25, 2023
1 parent c66ed74 commit 21b8c5b
Show file tree
Hide file tree
Showing 6 changed files with 5 additions and 28 deletions.
4 changes: 3 additions & 1 deletion .github/workflows/update-docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,8 @@ on:
- master
paths:
- docs/user/**/*
- docs/.vscode/**/*
- docs/assets/**/*
workflow_dispatch:

jobs:
Expand All @@ -20,7 +22,7 @@ jobs:
- uses: actions/checkout@v3
with:
path: foam
- name: Copy and fixup user docs files
- name: Copy and fixup user docs files
id: copy
run: |
rm -r foam-template/docs
Expand Down
9 changes: 0 additions & 9 deletions docs/.vscode/extensions.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,15 +8,6 @@
// Prettier for auto formatting code
"esbenp.prettier-vscode",

// GitLens for seeing version history inline
"eamodio.gitlens",

// Tons of markdown goodies (lists, tables of content, so much more)
"yzhang.markdown-all-in-one",

// Graph visualizer
"tchayen.markdown-links",

// Understated grayscale theme (light and dark variants)
"philipbe.theme-gray-matter"
]
Expand Down
4 changes: 0 additions & 4 deletions docs/.vscode/foam.json

This file was deleted.

2 changes: 1 addition & 1 deletion docs/.vscode/keybindings.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,6 @@
[
{
"key": "cmd+shift+n",
"command": "vscodeMarkdownNotes.newNote"
"command": "foam-vscode.create-note"
}
]
13 changes: 1 addition & 12 deletions docs/.vscode/settings.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,29 +5,18 @@
"editor.overviewRulerBorder": false,
"editor.lineHeight": 24,
"foam.edit.linkReferenceDefinitions": "withExtensions",
"vscodeMarkdownNotes.noteCompletionConvention": "noExtension",
"[markdown]": {
"editor.quickSuggestions": {
"other": true,
"comments": false,
"strings": false
}
},
"cSpell.language": "en-GB",
"git.enableSmartCommit": true,
"git.postCommitCommand": "sync",
"spellright.language": [
"en"
],
"spellright.documentTypes": [
"markdown",
"plaintext"
],
"files.exclude": {
"_site/**": true
},
"files.insertFinalNewline": true,
"markdown.styles": [
".vscode/custom-tag-style.css"
]
"markdown.styles": [".vscode/custom-tag-style.css"]
}
1 change: 0 additions & 1 deletion docs/.vscode/spellright.dict

This file was deleted.

0 comments on commit 21b8c5b

Please sign in to comment.