Skip to content

Commit

Permalink
added prettier formatter and husky prettier hook (#92)
Browse files Browse the repository at this point in the history
  • Loading branch information
khantnaingset-kns authored Nov 12, 2023
1 parent 21f19c0 commit e2ad887
Show file tree
Hide file tree
Showing 92 changed files with 4,135 additions and 2,536 deletions.
20 changes: 11 additions & 9 deletions .github/ISSUE_TEMPLATE/bug_report.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,15 +3,15 @@ name: Bug report
about: Create a report to help us improve
title: "[BUG]"
labels: bug
assignees: ''

assignees: ""
---

**Describe the bug**
A clear and concise description of what the bug is.

**To Reproduce**
Steps to reproduce the behavior:

1. Go to '...'
2. Click on '....'
3. Scroll down to '....'
Expand All @@ -24,15 +24,17 @@ A clear and concise description of what you expected to happen.
If applicable, add screenshots to help explain your problem.

**Desktop (please complete the following information):**
- OS: [e.g. iOS]
- Browser [e.g. chrome, safari]
- Version [e.g. 22]

- OS: [e.g. iOS]
- Browser [e.g. chrome, safari]
- Version [e.g. 22]

**Smartphone (please complete the following information):**
- Device: [e.g. iPhone6]
- OS: [e.g. iOS8.1]
- Browser [e.g. stock browser, safari]
- Version [e.g. 22]

- Device: [e.g. iPhone6]
- OS: [e.g. iOS8.1]
- Browser [e.g. stock browser, safari]
- Version [e.g. 22]

**Additional context**
Add any other context about the problem here.
3 changes: 1 addition & 2 deletions .github/ISSUE_TEMPLATE/feature_request.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,7 @@ name: Feature request
about: Suggest an idea for this project
title: "[FEATURE]"
labels: enhancement
assignees: ''

assignees: ""
---

**Is your feature request related to a problem? Please describe.**
Expand Down
1 change: 1 addition & 0 deletions .husky/pre-commit
Original file line number Diff line number Diff line change
Expand Up @@ -2,3 +2,4 @@
. "$(dirname -- "$0")/_/husky.sh"

turbo lint
pnpm format
2 changes: 1 addition & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1 +1 @@
# Change Log
# Change Log
22 changes: 11 additions & 11 deletions CODE_OF_CONDUCT.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,23 +17,23 @@ diverse, inclusive, and healthy community.
Examples of behavior that contributes to a positive environment for our
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,
- 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
- 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
- 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
- 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
- Other conduct which could reasonably be considered inappropriate in a
professional setting

## Enforcement Responsibilities
Expand Down Expand Up @@ -106,7 +106,7 @@ Violating these terms may lead to a permanent ban.
### 4. Permanent Ban

**Community Impact**: Demonstrating a pattern of violation of community
standards, including sustained inappropriate behavior, harassment of an
standards, including sustained inappropriate behavior, harassment of an
individual, or aggression toward or disparagement of classes of individuals.

**Consequence**: A permanent ban from any sort of public interaction within
Expand Down
19 changes: 9 additions & 10 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
**Myanmar Calendar** is a feature-rich calendar app that seamlessly combines the functionality of Gregorian and Myanmar
calendars, catering to users who follow both systems. It supports multiple languages, including Myanmar, Mon, English,
Tai, and Karen, ensuring a user-friendly experience for individuals from diverse linguistic backgrounds.

> We do provide npm package with the most curated interface for developers. Please
> check [here](https://www.npmjs.com/package/burma-calendar).
Expand All @@ -12,17 +13,17 @@ Tai, and Karen, ensuring a user-friendly experience for individuals from diverse

- Support Gregorian and Myanmar Calendar
- Support multiple languages
- Mon
- Tai
- Karen
- Burmese
- English
- Mon
- Tai
- Karen
- Burmese
- English
- Displays Myanmar Day, Month, Year and Moon phase
- Easy-to-use interface, similar to Google Calendar and macOS Calendar
- SupportCross-platform
- MacOS
- Windows
- Linux (Debian based distros)
- MacOS
- Windows
- Linux (Debian based distros)

## Demo

Expand Down Expand Up @@ -55,5 +56,3 @@ details.

If you have any questions or feedback about the Myanmar Calendar software, please open issue
at [here](https://github.com/cybermm/myanmar_calendar/issues).


41 changes: 21 additions & 20 deletions apps/docs/app.config.ts
Original file line number Diff line number Diff line change
@@ -1,38 +1,39 @@
export default defineAppConfig({
docus: {
title: 'Docus',
description: 'The best place to start your documentation.',
image: 'https://user-images.githubusercontent.com/904724/185365452-87b7ca7b-6030-4813-a2db-5e65c785bf88.png',
title: "Docus",
description: "The best place to start your documentation.",
image:
"https://user-images.githubusercontent.com/904724/185365452-87b7ca7b-6030-4813-a2db-5e65c785bf88.png",
socials: {
twitter: 'nuxt_js',
github: 'nuxt-themes/docus',
twitter: "nuxt_js",
github: "nuxt-themes/docus",
nuxt: {
label: 'Nuxt',
icon: 'simple-icons:nuxtdotjs',
href: 'https://nuxt.com'
}
label: "Nuxt",
icon: "simple-icons:nuxtdotjs",
href: "https://nuxt.com",
},
},
github: {
dir: '.starters/default/content',
branch: 'main',
repo: 'docus',
owner: 'nuxt-themes',
edit: true
dir: ".starters/default/content",
branch: "main",
repo: "docus",
owner: "nuxt-themes",
edit: true,
},
aside: {
level: 0,
collapsed: false,
exclude: []
exclude: [],
},
main: {
padded: true,
fluid: true
fluid: true,
},
header: {
logo: true,
showLinkIcon: true,
exclude: [],
fluid: true
}
}
})
fluid: true,
},
},
});
128 changes: 68 additions & 60 deletions apps/docs/content/0.index.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,14 +8,16 @@ main:

:ellipsis{right=0px width=75% blur=150px}

::block-hero
---
## ::block-hero

cta:
- Get started
- /introduction/getting-started
secondary:
- Open on GitHub →
- https://github.com/nuxt-themes/docus

- Get started
- /introduction/getting-started
secondary:
- Open on GitHub →
- https://github.com/nuxt-themes/docus

---

#title
Expand All @@ -25,26 +27,32 @@ The best place to start your documentation.
Write pages in [Markdown](https://content.nuxtjs.org), use [Vue](https://vuejs.org) components and enjoy the power of [Nuxt](https://nuxt.com).

#extra
::list
- **+50 Components** ready to build rich pages
- **Docs** and **Page** layouts
- Start from a `README`, scale to a framework documentation
- Navigation and Table of Contents generation
- Fully configurable design system
- Leverages [**Typography**](https://typography.nuxt.space/) and [**Elements**](https://elements.nuxt.dev)
- Used on [Content Documentation](https://content.nuxtjs.org)
::list

- **+50 Components** ready to build rich pages
- **Docs** and **Page** layouts
- Start from a `README`, scale to a framework documentation
- Navigation and Table of Contents generation
- Fully configurable design system
- Leverages [**Typography**](https://typography.nuxt.space/) and [**Elements**](https://elements.nuxt.dev)
- Used on [Content Documentation](https://content.nuxtjs.org)
::

#support
::terminal
---
content:
- npx nuxi@latest init -t themes/docus
- cd docs
- npm install
- npm run dev
---
::
::terminal

---

content:

- npx nuxi@latest init -t themes/docus
- cd docs
- npm install
- npm run dev

---

::
::

::card-grid
Expand All @@ -55,45 +63,45 @@ What's included
:ellipsis{left=0px width=40rem top=10rem blur=140px}

#default
::card{icon=logos:nuxt-icon}
#title
Nuxt Architecture
#description
Harness the full power of [Nuxt 3](https://v3.nuxtjs.org) and its [modules](https://modules.nuxtjs.org) ecosystem.
::
::card{icon=logos:nuxt-icon}
#title
Nuxt Architecture
#description
Harness the full power of [Nuxt 3](https://v3.nuxtjs.org) and its [modules](https://modules.nuxtjs.org) ecosystem.
::

::card{icon=IconNuxtStudio}
#title
Nuxt Studio ready
#description
Edit your theme content and appearance with live-preview within [Nuxt Studio](https://nuxt.studio).
::
::card{icon=IconNuxtStudio}
#title
Nuxt Studio ready
#description
Edit your theme content and appearance with live-preview within [Nuxt Studio](https://nuxt.studio).
::

::card{icon=logos:vue}
#title
Vue Components
#description
Use built-in components (or your own!) inside your content.
::
::card{icon=logos:vue}
#title
Vue Components
#description
Use built-in components (or your own!) inside your content.
::

::card{icon=simple-icons:markdown}
#title
Write Markdown
#description
Enjoy the ease and simplicity of Markdown and discover [MDC syntax](https://content.nuxtjs.org/guide/writing/mdc).
::
::card{icon=simple-icons:markdown}
#title
Write Markdown
#description
Enjoy the ease and simplicity of Markdown and discover [MDC syntax](https://content.nuxtjs.org/guide/writing/mdc).
::

::card{icon=noto:rocket}
#title
Deploy anywhere
#description
Zero config on [Vercel](https://vercel.com) or [Netlify](https://netlify.com). Choose between static generation, on-demand rendering (Node) or edge-side rendering on [CloudFlare workers](https://workers.cloudflare.com).
::
::card{icon=noto:rocket}
#title
Deploy anywhere
#description
Zero config on [Vercel](https://vercel.com) or [Netlify](https://netlify.com). Choose between static generation, on-demand rendering (Node) or edge-side rendering on [CloudFlare workers](https://workers.cloudflare.com).
::

::card{icon=noto:puzzle-piece}
#title
Extensible.
#description
Customize the whole design, or add components using slots - you can make Docus your own.
::
::card{icon=noto:puzzle-piece}
#title
Extensible.
#description
Customize the whole design, or add components using slots - you can make Docus your own.
::
::
18 changes: 9 additions & 9 deletions apps/docs/content/1.introduction/1.getting-started.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,17 +20,17 @@ npx nuxi@latest init docs -t themes/docus

::code-group

```bash [npm]
npm install
```
```bash [npm]
npm install
```

```bash [yarn]
yarn install
```
```bash [yarn]
yarn install
```

```bash [pnpm]
pnpm install --shamefully-hoist
```
```bash [pnpm]
pnpm install --shamefully-hoist
```

::

Expand Down
1 change: 0 additions & 1 deletion apps/docs/content/1.introduction/2.project-structure.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,5 +17,4 @@ The `content/` directory is where you [write Markdown pages](/introduction/writi

The `app.config.ts` is where you [configure Docus](/introduction/configuration) to fit your branding and design.


The `nuxt.config.ts` is your [Nuxt configuration](https://nuxt.com/docs/getting-started/configuration).
Loading

0 comments on commit e2ad887

Please sign in to comment.