Skip to content

Commit

Permalink
Merge pull request #67 from it-at-m/42-doku-erweitern-um-einbindung-v…
Browse files Browse the repository at this point in the history
…on-checkstyle-und-codeformatter-in-ide-intellij

doku erweitert um einbindung von codeformatter in ide intellij
  • Loading branch information
MrSebastian authored Apr 4, 2024
2 parents fc282f5 + f23f54a commit 0a71010
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 2 deletions.
15 changes: 13 additions & 2 deletions docs/.vitepress/config.mts
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
import { defineConfig } from 'vitepress'
import {defineConfig} from 'vitepress'

const PATH_TECHNIK = '/technik/';

// https://vitepress.dev/reference/site-config
export default defineConfig({
Expand All @@ -12,9 +14,18 @@ export default defineConfig({
{ text: 'Home', link: '/' },
{ text: 'About', link: '/about/' },
{ text: 'Features', link: '/features/' },
{ text: 'Technik', link: '/technik/' }
{ text: 'Technik', link: PATH_TECHNIK }
],

sidebar: {
[PATH_TECHNIK]: [
{ text: 'Tools & Frameworks', link: `${PATH_TECHNIK}` },
{
text: 'Getting Started', link: `${PATH_TECHNIK}get_started/`
}
]
},

socialLinks: [
{ icon: 'github', link: 'https://github.com/it-at-m/Wahllokalsystem/' }
]
Expand Down
7 changes: 7 additions & 0 deletions docs/src/technik/get_started/index.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
# Getting started

## Formatter einrichten

Im Projekte verwenden wir `checkstyle` und `spotless` um für einen möglichst einheitlichen Codestyle zu sorgen.
Dazu haben wir Regeln definiert. Diese Regeln und deren Hinterlegung in der jeweiligen IDE ist
[hier](https://github.com/it-at-m/itm-java-codeformat) beschrieben.

0 comments on commit 0a71010

Please sign in to comment.