Skip to content

Commit 68d71aa

Browse files
Workspace file (#19)
* added workspace file back * Workspace to only docs.
1 parent 0b74c3d commit 68d71aa

File tree

12 files changed

+166
-71
lines changed

12 files changed

+166
-71
lines changed

.devcontainer/devcontainer.json

Lines changed: 5 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -15,21 +15,11 @@
1515
// Configure tool-specific properties.
1616
"customizations": {
1717
"codespaces": {
18-
"openFiles": [
19-
"README.md",
20-
".github/SECURITY.md",
21-
"docs/index.md"
22-
]
18+
"openFiles": ["README.md", ".github/SECURITY.md", "docs/pages/index.md"]
2319
},
2420
"vscode": {
2521
// Set *default* container specific settings.json values on container create.
2622
"settings": {
27-
"editor.formatOnSave": true,
28-
"files.insertFinalNewline": true,
29-
"[makefile]": {
30-
"editor.insertSpaces": false,
31-
"editor.detectIndentation": false
32-
}
3323
},
3424
// Add the IDs of extensions you want installed when the container is created.
3525
"extensions": [
@@ -63,7 +53,10 @@
6353
"wayou.vscode-todo-highlight",
6454
"yzane.markdown-pdf",
6555
"yzhang.dictionary-completion",
66-
"yzhang.markdown-all-in-one"
56+
"yzhang.markdown-all-in-one",
57+
"joshx.workspace-terminals",
58+
"takumii.markdowntable",
59+
"chdsbd.github-code-owners"
6760
]
6861
}
6962
},

.github/CODEOWNERS

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
# NHS Notify Code Owners
2+
3+
* @NHSDigital/nhs-notify-amet
4+
5+
/.github/ @NHSDigital/nhs-notify-amet
6+
*.code-workspace @NHSDigital/nhs-notify-amet
7+
8+
/docs/ @NHSDigital/nhs-notify-amet
9+
/docs/_sass/ @NHSDigital/nhs-notify-web-cms
10+
/docs/_includes/ @NHSDigital/nhs-notify-web-cms
11+
/docs/_layouts/ @NHSDigital/nhs-notify-web-cms
12+
/docs/pages/ @NHSDigital/nhs-notify-web-cms
13+
/docs/collections/ @NHSDigital/nhs-notify-web-cms
14+
/docs/_config.yml @NHSDigital/nhs-notify-web-cms
15+
/docs/_config.dev.yml @NHSDigital/nhs-notify-web-cms
16+
17+
# Default protection for codeowners, must be last in file.
18+
/.github/CODEOWNERS @NHSDigital/nhs-notify-code-owners
19+
/CODEOWNERS @NHSDigital/nhs-notify-code-owners

.gitignore

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,4 +12,4 @@
1212

1313
# Please, add your custom content below!
1414

15-
nhs-notify-web-cms.code-workspace
15+
!nhs-notify-web-cms.code-workspace

.vscode/extensions.json

Lines changed: 0 additions & 36 deletions
This file was deleted.

.vscode/settings.json

Lines changed: 0 additions & 7 deletions
This file was deleted.
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,9 @@
44
{
55
"label": "jekyll",
66
"options": {
7-
"cwd": "${workspaceFolder}/docs/"
7+
"cwd": "${workspaceFolder}"
88
},
9-
"command": "bundle exec jekyll serve --config _config.yml,_config.dev.yml",
9+
"command": "make debug",
1010
"type": "shell"
1111
}
1212
]

docs/Makefile

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
default: install
2+
3+
h help:
4+
@egrep '^\S|^$$' Makefile
5+
6+
install:
7+
bundle config set --local path vendor/bundle
8+
bundle install
9+
10+
s serve:
11+
bundle exec jekyll serve --trace --livereload
12+
13+
build:
14+
JEKYLL_ENV=production bundle exec jekyll build --trace
15+
16+
debug:
17+
npm run debug

docs/README.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
# Developer info for Public Website
2+
3+
Document here.

docs/_config.yml

Lines changed: 15 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -45,14 +45,14 @@ mermaid:
4545

4646
aux_links:
4747
"NHS Notify on GitHub":
48-
- "//github.com/NHSDigital/nhs-notify"
48+
- "//github.com/NHSDigital/nhs-notify-web-cms"
4949

5050
aux_links_new_tab: false
5151

5252
# Footer "Edit this page on GitHub" link text
5353
gh_edit_link: true # show or hide edit this page link
5454
gh_edit_link_text: "Edit this page on GitHub."
55-
gh_edit_repository: "https://github.com/NHSDigital/nhs-notify" # the github URL for your repo
55+
gh_edit_repository: "https://github.com/NHSDigital/nhs-notify-web-cms" # the github URL for your repo
5656
gh_edit_branch: "main" # the branch that your docs is served from
5757
# gh_edit_source: docs # the source that your files originate from
5858
gh_edit_view_mode: "tree" # "tree" or "edit" if you want the user to jump into the editor immediately
@@ -76,14 +76,16 @@ callouts:
7676
# Excluded items can be processed by explicitly listing the directories or
7777
# their entries' file path in the `include:` list.
7878
#
79-
# exclude:
80-
# - .sass-cache/
81-
# - .jekyll-cache/
82-
# - gemfiles/
83-
# - Gemfile
84-
# - Gemfile.lock
85-
# - node_modules/
86-
# - vendor/bundle/
87-
# - vendor/cache/
88-
# - vendor/gems/
89-
# - vendor/ruby/
79+
exclude:
80+
- .vscode/
81+
- README.md
82+
- .sass-cache/
83+
- .jekyll-cache/
84+
- gemfiles/
85+
- Gemfile
86+
- Gemfile.lock
87+
- node_modules/
88+
- vendor/bundle/
89+
- vendor/cache/
90+
- vendor/gems/
91+
- vendor/ruby/

0 commit comments

Comments
 (0)