Skip to content

Commit

Permalink
move the installation topic to the top
Browse files Browse the repository at this point in the history
  • Loading branch information
DineshSolanki committed Oct 19, 2023
1 parent 0abc2f6 commit 24436c0
Showing 1 changed file with 24 additions and 24 deletions.
48 changes: 24 additions & 24 deletions Samay-docs/topics/Using-Samay.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,30 @@

This section explains how to use the main features of the Samay library in your Spring Boot application.

### Installing Samay

<tabs>
<tab title="Maven">

```xml

<dependency>
<groupId>io.github.dineshsolanki</groupId>
<artifactId>Samay</artifactId>
<version>RELEASE</version>
</dependency>
```

</tab>
<tab title="Gradle">

```Gradle
implementation 'io.github.dineshsolanki:Samay:RELEASE'
```

</tab>
</tabs>

## Timezone Extraction

By default, Samay expects the timezone in a request header named `X-TimeZone`.
Expand Down Expand Up @@ -67,30 +91,6 @@ Samay will now check `My-Timezone-Header` instead of default `X-TimeZone`.
>
{style="warning"}

### Installing Samay

<tabs>
<tab title="Maven">

```xml

<dependency>
<groupId>io.github.dineshsolanki</groupId>
<artifactId>Samay</artifactId>
<version>RELEASE</version>
</dependency>
```

</tab>
<tab title="Gradle">

```Gradle
implementation 'io.github.dineshsolanki:Samay:RELEASE'
```

</tab>
</tabs>

## Disable Auto Configuration

To disable the auto configuration in Spring Boot:
Expand Down

0 comments on commit 24436c0

Please sign in to comment.