Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Workspace file #19

Merged
merged 3 commits into from
Jun 7, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
17 changes: 5 additions & 12 deletions .devcontainer/devcontainer.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,21 +15,11 @@
// Configure tool-specific properties.
"customizations": {
"codespaces": {
"openFiles": [
"README.md",
".github/SECURITY.md",
"docs/index.md"
]
"openFiles": ["README.md", ".github/SECURITY.md", "docs/pages/index.md"]
},
"vscode": {
// Set *default* container specific settings.json values on container create.
"settings": {
"editor.formatOnSave": true,
"files.insertFinalNewline": true,
"[makefile]": {
"editor.insertSpaces": false,
"editor.detectIndentation": false
}
},
// Add the IDs of extensions you want installed when the container is created.
"extensions": [
Expand Down Expand Up @@ -63,7 +53,10 @@
"wayou.vscode-todo-highlight",
"yzane.markdown-pdf",
"yzhang.dictionary-completion",
"yzhang.markdown-all-in-one"
"yzhang.markdown-all-in-one",
"joshx.workspace-terminals",
"takumii.markdowntable",
"chdsbd.github-code-owners"
]
}
},
Expand Down
19 changes: 19 additions & 0 deletions .github/CODEOWNERS
Validating CODEOWNERS rules …
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
# NHS Notify Code Owners

* @NHSDigital/nhs-notify-amet

/.github/ @NHSDigital/nhs-notify-amet
*.code-workspace @NHSDigital/nhs-notify-amet

/docs/ @NHSDigital/nhs-notify-amet
/docs/_sass/ @NHSDigital/nhs-notify-web-cms
/docs/_includes/ @NHSDigital/nhs-notify-web-cms
/docs/_layouts/ @NHSDigital/nhs-notify-web-cms
/docs/pages/ @NHSDigital/nhs-notify-web-cms
/docs/collections/ @NHSDigital/nhs-notify-web-cms
/docs/_config.yml @NHSDigital/nhs-notify-web-cms
/docs/_config.dev.yml @NHSDigital/nhs-notify-web-cms

# Default protection for codeowners, must be last in file.
/.github/CODEOWNERS @NHSDigital/nhs-notify-code-owners
/CODEOWNERS @NHSDigital/nhs-notify-code-owners
2 changes: 1 addition & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -12,4 +12,4 @@

# Please, add your custom content below!

nhs-notify-web-cms.code-workspace
!nhs-notify-web-cms.code-workspace
36 changes: 0 additions & 36 deletions .vscode/extensions.json

This file was deleted.

7 changes: 0 additions & 7 deletions .vscode/settings.json

This file was deleted.

File renamed without changes.
4 changes: 2 additions & 2 deletions .vscode/tasks.json → docs/.vscode/tasks.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,9 @@
{
"label": "jekyll",
"options": {
"cwd": "${workspaceFolder}/docs/"
"cwd": "${workspaceFolder}"
},
"command": "bundle exec jekyll serve --config _config.yml,_config.dev.yml",
"command": "make debug",
"type": "shell"
}
]
Expand Down
17 changes: 17 additions & 0 deletions docs/Makefile
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
default: install

h help:
@egrep '^\S|^$$' Makefile

install:
bundle config set --local path vendor/bundle
bundle install

s serve:
bundle exec jekyll serve --trace --livereload

build:
JEKYLL_ENV=production bundle exec jekyll build --trace

debug:
npm run debug
3 changes: 3 additions & 0 deletions docs/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
# Developer info for Public Website

Document here.
28 changes: 15 additions & 13 deletions docs/_config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -45,14 +45,14 @@ mermaid:

aux_links:
"NHS Notify on GitHub":
- "//github.com/NHSDigital/nhs-notify"
- "//github.com/NHSDigital/nhs-notify-web-cms"

aux_links_new_tab: false

# Footer "Edit this page on GitHub" link text
gh_edit_link: true # show or hide edit this page link
gh_edit_link_text: "Edit this page on GitHub."
gh_edit_repository: "https://github.com/NHSDigital/nhs-notify" # the github URL for your repo
gh_edit_repository: "https://github.com/NHSDigital/nhs-notify-web-cms" # the github URL for your repo
gh_edit_branch: "main" # the branch that your docs is served from
# gh_edit_source: docs # the source that your files originate from
gh_edit_view_mode: "tree" # "tree" or "edit" if you want the user to jump into the editor immediately
Expand All @@ -76,14 +76,16 @@ callouts:
# Excluded items can be processed by explicitly listing the directories or
# their entries' file path in the `include:` list.
#
# exclude:
# - .sass-cache/
# - .jekyll-cache/
# - gemfiles/
# - Gemfile
# - Gemfile.lock
# - node_modules/
# - vendor/bundle/
# - vendor/cache/
# - vendor/gems/
# - vendor/ruby/
exclude:
- .vscode/
- README.md
- .sass-cache/
- .jekyll-cache/
- gemfiles/
- Gemfile
- Gemfile.lock
- node_modules/
- vendor/bundle/
- vendor/cache/
- vendor/gems/
- vendor/ruby/
15 changes: 15 additions & 0 deletions docs/package.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
{
"name": "nhs-notify-web-cms",
"version": "1.0.0",
"description": "",
"private": true,
"engines": {},
"scripts": {
"debug": "JEKYLL_ENV=development BUNDLE_GEMFILE=Gemfile bundle exec jekyll serve --config _config.yml,_config.dev.yml --limit_posts 100 --trace --livereload"
},
"keywords": [],
"author": "",
"license": "ISC",
"devDependencies": {},
"dependencies": {}
}
89 changes: 89 additions & 0 deletions nhs-notify-web-cms.code-workspace
Original file line number Diff line number Diff line change
@@ -0,0 +1,89 @@
{
"folders": [
{
"name": "NHS Notify Web CMS Public Website",
"path": "docs"
}
],
"settings": {
"githubCodeOwners.format.enabled": true,
"workspace-terminals.switchTerminal": "always",
"workspace-terminals.auto": "always",
"markdownlint.config": {
"MD013": false,
"MD024": { "siblings_only": true },
"MD033": false
},
"cSpell.words": [
"ADRS",
"Amaan",
"Codespaces",
"endfor",
"Nasar",
"preinstalled",
"pythonist",
"rossbugginsnhs",
"ruleset",
"Stefaniuk"
],
"cSpell.language": "en-GB",
"editor.wordWrap": "off",
"editor.formatOnSave": true,
"[markdown]": {
"editor.wordWrap": "off",
"editor.defaultFormatter": "esbenp.prettier-vscode"
},
"[jsonc]": {
"editor.defaultFormatter": "esbenp.prettier-vscode"
},
"[html]": {
"editor.defaultFormatter": "vscode.html-language-features"
},
"[json]": {
"editor.defaultFormatter": "esbenp.prettier-vscode"
},
"files.exclude": {
"**/_site": true,
"**/.jekyll-cache": true
}
},
"extensions": {
"recommendations": [
"alefragnani.bookmarks",
"davidanson.vscode-markdownlint",
"dbaeumer.vscode-eslint",
"donjayamanne.githistory",
"eamodio.gitlens",
"editorconfig.editorconfig",
"esbenp.prettier-vscode",
"github.codespaces",
"github.github-vscode-theme",
"github.remotehub",
"github.vscode-github-actions",
"github.vscode-pull-request-github",
"hediet.vscode-drawio",
"johnpapa.vscode-peacock",
"mhutchie.git-graph",
"ms-azuretools.vscode-docker",
"ms-vscode-remote.remote-containers",
"ms-vscode-remote.remote-wsl",
"ms-vscode.hexeditor",
"ms-vscode.live-server",
"ms-vsliveshare.vsliveshare",
"redhat.vscode-xml",
"streetsidesoftware.code-spell-checker-british-english",
"tamasfe.even-better-toml",
"tomoki1207.pdf",
"vscode-icons-team.vscode-icons",
"vstirbu.vscode-mermaid-preview",
"wayou.vscode-todo-highlight",
"yzane.markdown-pdf",
"yzhang.dictionary-completion",
"yzhang.markdown-all-in-one",
"joshx.workspace-terminals",
"takumii.markdowntable",
"chdsbd.github-code-owners"
],
"unwantedRecommendations": []
}
}
Loading