Skip to content

feat: usage guides #1

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Draft
wants to merge 2 commits into
base: main
Choose a base branch
from
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
94 changes: 94 additions & 0 deletions sidebar.ts
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,100 @@ module.exports = {
id: 'usage/change_default_interaction',
label: '🔄 Change Default Interaction',
},
{
type: 'category',
link: {
type: 'generated-index',
title: 'Basic Operations',
description: 'This section will guide you on how to perform basic operations in the Laravel Like Package. Various operations like liking, unliking, and checking if interacted are covered here.',
},
label: 'Basic Operations',
items: [
{
type: 'doc',
id: 'usage/liking_content',
label: '👍 Liking Content',
},
{
type: 'doc',
id: 'usage/unliking_content',
label: '👎 Unliking Content',
},
{
type: 'doc',
id: 'usage/check_if_interacted',
label: '🔍 Check if Interacted',
},
],
collapsed: false,
},
{
type: 'category',
link: {
type: 'generated-index',
title: 'User Traits and Interactions',
description: 'The guide will help you to understand the user traits and interactions in the Laravel Like Package.',
},
label: 'User Traits and Interactions',
items: [
{
type: 'doc',
id: 'usage/user_interaction_trait',
label: '👤 User Interaction Trait',
},
{
type: 'doc',
id: 'usage/customizing_user_interaction',
label: '🎨 Customizing User Interaction',
},
],
collapsed: false,
},
{
type: 'category',
link: {
type: 'generated-index',
title: 'Like Count and Analytics',
description: 'This section will guide you on how to count the likes and perform analytics on the interactions.',
},
label: 'Like Count and Analytics',
items: [
{
type: 'doc',
id: 'usage/counting_interactions',
label: '🔢 Counting Interactions',
},
],
collapsed: false,
},
{
type: 'category',
label: 'Querying and Filtering',
items: [
{
type: 'doc',
id: 'usage/query_scopes',
label: '🔍 Query Scopes',
},
{
type: 'doc',
id: 'usage/filtering_by_like_count',
label: '🔢 Filtering by Like Count',
},
],
collapsed: false,
},
// {
// type: 'category',
// label: 'Events and Custom Actions',
// items: [
// 'usage/like_events',
// 'usage/custom_like_actions',
// ],
// },
// 'usage/customize_interaction_type',
// 'usage/changing_default_settings',
// 'usage/common_errors',
],
collapsed: false,
},
Expand Down
Empty file added usage/check_if_interacted.md
Empty file.
Empty file added usage/counting_interactions.md
Empty file.
Empty file.
Empty file.
18 changes: 18 additions & 0 deletions usage/liking_content.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
---
title: Like Content | Laravel Like
description: Learn how to like content in Laravel Like. Like content in Laravel Like projects. Get the list of all content liked by you in Laravel Like projects. All functionality related to liking content in Laravel Like.
keywords: ['laravel like', 'like content', 'like', 'like function', 'like content in laravel like', 'like content in laravel']
tags: ['Like Content', 'Like', 'Functionality', 'Laravel Like', 'Support', 'Like Function']
---

<head>
<meta name="robots" content="index,follow" />
<meta name="author" content="CSlant" />
</head>

# 👍 Like Functionality

Laravel Like provides a simple and easy way to like content in your Laravel projects.

Please note that you can only like content if you are authenticated. If you are not authenticated with the User model, you will not be able to like content.

Empty file added usage/query_scopes.md
Empty file.
1 change: 1 addition & 0 deletions usage/unliking_content.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@

Empty file added usage/user_interaction_trait.md
Empty file.