diff --git a/.editorconfig b/.editorconfig index 3943b54..134bc64 100644 --- a/.editorconfig +++ b/.editorconfig @@ -13,7 +13,7 @@ block_comment_start = /* block_comment = * block_comment_end = */ -[*.{scss,css,js,json}] +[*.{scss,css,js,json,yml,md}] indent_size = 2 [acf-json/*.json] diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 1d66c79..e611c1f 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -1,39 +1,39 @@ name: Test on: - push: - branches: [ main ] - pull_request: - branches: [ main ] + push: + branches: [ main ] + pull_request: + branches: [ main ] - workflow_dispatch: + workflow_dispatch: jobs: - lint: - name: Lint - runs-on: ubuntu-latest + lint: + name: Lint + runs-on: ubuntu-latest - steps: - - - name: Checkout repository - uses: actions/checkout@v3 - - - name: Set up Node.js - uses: actions/setup-node@v3 - with: - node-version: 'lts/*' - - - name: Install dependencies - run: npm ci - - - name: Run linter - run: npm run sass:lint - - - name: Check EditorConfig configuration - run: test -f .editorconfig - - - name: Check adherence to EditorConfig - uses: greut/eclint-action@v0 - with: - eclint_args: | - -exclude=css/* + steps: + - + name: Checkout repository + uses: actions/checkout@v3 + - + name: Set up Node.js + uses: actions/setup-node@v3 + with: + node-version: 'lts/*' + - + name: Install dependencies + run: npm ci + - + name: Run linter + run: npm run sass:lint + - + name: Check EditorConfig configuration + run: test -f .editorconfig + - + name: Check adherence to EditorConfig + uses: greut/eclint-action@v0 + with: + eclint_args: | + -exclude=css/* diff --git a/CODE_OF_CONDUCT.md b/CODE_OF_CONDUCT.md index 16f2ab5..3b882e9 100644 --- a/CODE_OF_CONDUCT.md +++ b/CODE_OF_CONDUCT.md @@ -20,21 +20,16 @@ community include: * Demonstrating empathy and kindness toward other people * Being respectful of differing opinions, viewpoints, and experiences * Giving and gracefully accepting constructive feedback -* Accepting responsibility and apologizing to those affected by our mistakes, - and learning from the experience -* Focusing on what is best not just for us as individuals, but for the - overall community +* Accepting responsibility and apologizing to those affected by our mistakes, and learning from the experience +* Focusing on what is best not just for us as individuals, but for the overall community Examples of unacceptable behavior include: -* The use of sexualized language or imagery, and sexual attention or - advances of any kind +* The use of sexualized language or imagery, and sexual attention or advances of any kind * Trolling, insulting or derogatory comments, and personal or political attacks * Public or private harassment -* Publishing others' private information, such as a physical or email - address, without their explicit permission -* Other conduct which could reasonably be considered inappropriate in a - professional setting +* Publishing others' private information, such as a physical or email address, without their explicit permission +* Other conduct which could reasonably be considered inappropriate in a professional setting ## Enforcement Responsibilities diff --git a/src/posts/customization/customization.md b/src/posts/customization/customization.md index 011c859..abf8be8 100644 --- a/src/posts/customization/customization.md +++ b/src/posts/customization/customization.md @@ -1,6 +1,6 @@ --- title: "Customization" eleventyNavigation: - key: Customization - order: 2 + key: Customization + order: 2 --- diff --git a/src/posts/getting-started/posts/content-management.md b/src/posts/getting-started/posts/content-management.md index c5169ab..871d6cc 100644 --- a/src/posts/getting-started/posts/content-management.md +++ b/src/posts/getting-started/posts/content-management.md @@ -2,9 +2,9 @@ title: "Content Management" summary: "Today more people and experts write about accessibility. For the better progression it is a good idea to read them." eleventyNavigation: - key: Content Management - parent: Getting Started - order: 5 + key: Content Management + parent: Getting Started + order: 5 --- Adding content to the template is easy as almost everything is in Eleventy. diff --git a/src/posts/getting-started/posts/features.md b/src/posts/getting-started/posts/features.md index b5d4b14..1da2050 100644 --- a/src/posts/getting-started/posts/features.md +++ b/src/posts/getting-started/posts/features.md @@ -2,9 +2,9 @@ title: "Features" summary: "We tried to make a simple but well-structured theme. Managing the content is straightforward but still comes with some helpful features." eleventyNavigation: - key: Features - parent: Getting Started - order: 2 + key: Features + parent: Getting Started + order: 2 --- We tried to make a simple but well-structured theme. Managing the content is straightforward but still comes with some helpful features. diff --git a/src/posts/getting-started/posts/introduction.md b/src/posts/getting-started/posts/introduction.md index 15ad60d..28e2e79 100644 --- a/src/posts/getting-started/posts/introduction.md +++ b/src/posts/getting-started/posts/introduction.md @@ -2,9 +2,9 @@ title: "Introduction" summary: "Welcome to the official documentation of Spruce Docs Elventy theme. A small template that you can use to document any of your projects." eleventyNavigation: - key: Introduction - parent: Getting Started - order: 1 + key: Introduction + parent: Getting Started + order: 1 --- Welcome to the official documentation of **Spruce Docs** Elventy theme. A small template that you can use to document any of your projects. diff --git a/src/posts/getting-started/posts/setup.md b/src/posts/getting-started/posts/setup.md index c5edc11..6dc523f 100644 --- a/src/posts/getting-started/posts/setup.md +++ b/src/posts/getting-started/posts/setup.md @@ -2,9 +2,9 @@ title: "Setup" summary: "We use eleventy --serve and compile Sass with sass-cli with npm scripts." eleventyNavigation: - key: Setup - parent: Getting Started - order: 4 + key: Setup + parent: Getting Started + order: 4 --- ## Clone the repository diff --git a/src/posts/getting-started/posts/structure.md b/src/posts/getting-started/posts/structure.md index 1771528..82850b9 100644 --- a/src/posts/getting-started/posts/structure.md +++ b/src/posts/getting-started/posts/structure.md @@ -2,9 +2,9 @@ title: "Structure" summary: "The structure is a generic Eleventy theme with the standard folder and file names." eleventyNavigation: - key: Structure - parent: Getting Started - order: 3 + key: Structure + parent: Getting Started + order: 3 --- The structure is a generic Eleventy theme with the standard folder and file names.