Skip to content

Commit

Permalink
Add Algolia search, update docs to 5.20.0, new ecosystem page and css…
Browse files Browse the repository at this point in the history
… styling for docs
  • Loading branch information
agordn52 committed Jan 18, 2024
1 parent 6463b93 commit fb75fc7
Show file tree
Hide file tree
Showing 48 changed files with 7,292 additions and 147 deletions.
1 change: 1 addition & 0 deletions app/Console/Commands/GenerateSitemapCommand.php
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@ public function handle(DocService $docService)
$sitemap->add(Url::create('/')->setPriority(0.95));

$sitemap->add(Url::create('resources')->setPriority(0.90));
$sitemap->add(Url::create('ecosystem')->setPriority(0.60));
$sitemap->add(Url::create('privacy-policy')->setPriority(0.90));
$sitemap->add(Url::create('terms-and-conditions')->setPriority(0.90));

Expand Down
12 changes: 12 additions & 0 deletions app/Http/Controllers/LandingController.php
Original file line number Diff line number Diff line change
Expand Up @@ -89,6 +89,18 @@ public function resources()
return view('pages.resources', compact('resourceData'));
}

/**
* Ecosystem page for Nylo.
*
* @return \Illuminate\Contracts\View\Factory|\Illuminate\Contracts\View\View
*/
public function ecosystem()
{
$this->seoService->setTitle('Ecosystem');

return view('pages.ecosystem');
}

/**
* Tutorials page for Nylo.
*
Expand Down
4 changes: 3 additions & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,11 +9,13 @@
"license": "MIT",
"require": {
"php": "^8.0.2",
"algolia/algoliasearch-client-php": "^3.4",
"artesaos/seotools": "^1.2.0",
"guzzlehttp/guzzle": "^7.2",
"laravel/framework": "^10.0",
"laravel/tinker": "^2.7",
"spatie/laravel-sitemap": "^6.1.0"
"spatie/laravel-sitemap": "^6.1.0",
"voku/simple_html_dom": "^4.8"
},
"require-dev": {
"fakerphp/faker": "^1.9.1",
Expand Down
157 changes: 156 additions & 1 deletion composer.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

46 changes: 46 additions & 0 deletions config/project/doc-index.php
Original file line number Diff line number Diff line change
Expand Up @@ -169,6 +169,52 @@
'ny-page'
],

'advanced' => [
'state-management',
'providers',
'decoders',
'events',
'slates'
],
],

'5.20.0' => [
'introduction' => [
'what-is-nylo',
'requirements'
],

'getting-started' => [
'installation',
'configuration',
'directory-structure',
'upgrade-guide'
],

'basics' => [
'router',
'networking',
'metro',
'localization',
'storage',
'controllers',
'app-icons',
'validation',
'authentication',
'logging'
],

'widgets' => [
'themes-and-styling',
'assets',
'ny-state',
'ny-future-builder',
'ny-text-field',
'ny-pull-to-refresh',
'ny-list-view',
'ny-switch',
],

'advanced' => [
'state-management',
'providers',
Expand Down
18 changes: 18 additions & 0 deletions config/project/doc-tutorials.php
Original file line number Diff line number Diff line change
Expand Up @@ -41,8 +41,26 @@
[
'label' => 'providers',
'link' => 'https://www.youtube.com/embed/0Y13JyV6Cc4?si=ibgLXBiw9x6GqXKn'
],
[
'label' => 'state management',
'link' => 'https://www.youtube.com/embed/X5EVh1KooFk?si=gengIXC02gGbgRki'
],
],
'Widgets' => [
[
'label' => 'NyPullToRefresh',
'link' => 'https://www.youtube.com/embed/nz6oJiwdggw?si=sRx8lkr6EuoBDIuP'
],
[
'label' => 'NyListView',
'link' => 'https://www.youtube.com/embed/mEvoy6SKb5w?si=j7n-G9FXLQfXfdk0'
],
[
'label' => 'NyFutureBuilder',
'link' => 'https://www.youtube.com/embed/UGg_XsQCHeA?si=D7cVYW3c9tNxrfHP'
],
]
]
]
];
12 changes: 9 additions & 3 deletions config/project/meta.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,18 @@

return [
'ga_id' => env('GOOGLE_ANALYTICS_ID'),

'fa_integrity' => env('FONT_AWESOME_INTEGRITY'),

'gh_auth_token' => env('GH_AUTH_MIDDLEWARE'),

'process_token' => env('APP_PROCESS_TOKEN'),

'github_webhook_secret' => env('GITHUB_WEBHOOK_SECRET')
'github_webhook_secret' => env('GITHUB_WEBHOOK_SECRET'),

'algolia_app_id' => env('ALGOLIA_APP_ID'),

'algolia_app_key' => env('ALGOLIA_APP_KEY'),

'algolia_index_name' => env('ALGOLIA_INDEX_NAME'),
];
Loading

0 comments on commit fb75fc7

Please sign in to comment.