fix: docs title showing untitled (#2006)

Co-authored-by: Bailey Pumfleet <[email protected]>
This commit is contained in:
Krunal ShahandBailey Pumfleet authored and GitHub committed 2022-03-01 11:03:51 +00:00
1 parent 521b63e732
commit 8fd976f5c7
27 files changed
+132 -32

No files matched your search

+6 -2
View File
@@ -1,4 +1,8 @@
import Callout from 'nextra-theme-docs/callout';
---
title: Adding CSS
---
import Callout from "nextra-theme-docs/callout";
# Adding CSS
@@ -30,4 +34,4 @@ import "../styles/your-new-stylesheet.css";
These styles will apply to all pages and components in your application.
</Callout>
Due to the global nature of stylesheets, and to avoid conflicts, you may **only import them inside `pages/_app.tsx`**.
Due to the global nature of stylesheets, and to avoid conflicts, you may **only import them inside `pages/_app.tsx`**.
+5 -1
View File
@@ -1,3 +1,7 @@
---
title: Code styling
---
# Code Styling
Keeping our code styles consistent is key to making the repository easy to read and work with.
@@ -12,4 +16,4 @@ Calendso uses the ESLint and Prettier formatting tools, and the repository comes
We use the [Airbnb JavaScript Style Guide](https://github.com/airbnb/javascript) for all JavaScript and Typescript code.
## HTML & CSS
We use the [Google HTML/CSS Style Guide](https://google.github.io/styleguide/htmlcssguide.html) for any HTML and CSS markup. However, exceptions to the HTML guide apply where JSX differentiates from standard HTML.
We use the [Google HTML/CSS Style Guide](https://google.github.io/styleguide/htmlcssguide.html) for any HTML and CSS markup. However, exceptions to the HTML guide apply where JSX differentiates from standard HTML.
+7 -8
View File
@@ -1,9 +1,8 @@
{
"migrations": "Migrations",
"pre-fill": "Pre-fill fields",
"code-styling": "Code styling",
"project-structure": "Project structure",
"pull-requests": "Pull requests",
"adding-css": "Adding CSS"
}
"migrations": "Migrations",
"pre-fill": "Pre-fill fields",
"code-styling": "Code styling",
"project-structure": "Project structure",
"pull-requests": "Pull requests",
"adding-css": "Adding CSS"
}
+4
View File
@@ -1,3 +1,7 @@
---
title: Migrations
---
# Database Migrations
As described in the [upgrade guide](https://docs.cal.com/self-hosting/upgrade), you should use the `yarn workspace @calcom/prisma db-migrate` or `yarn workspace @calcom/prisma db-deploy` command to update the database.
+5 -1
View File
@@ -1,3 +1,7 @@
---
title: Pre-fill fields
---
# Pre-fill fields
You can pre-fill a number of fields on the booking form by using their corresponding URL parameters. This can include the user’s name, email, or guests to be added to the booking.
@@ -17,4 +21,4 @@ Guests can also be added to the link, there is also no limit to the amount of gu
These should be added to your link like this:
```text
[email protected]&[email protected]
```
```
@@ -1,3 +1,7 @@
---
title: Project structure
---
# Project Structure
This page gives an overview of how the codebase is structured so you can easily dive into the Cal.com code.
@@ -1,3 +1,7 @@
---
title: Pull requests
---
# Pull Requests
## Requirements