Skip to content

Commit

Permalink
remove NextPage element from pages
Browse files Browse the repository at this point in the history
  • Loading branch information
A-Najmabadi committed Aug 14, 2024
1 parent 11f0c04 commit 788c829
Show file tree
Hide file tree
Showing 148 changed files with 148 additions and 148 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -53,5 +53,5 @@ import Head from "next/head";
</Link>
)}
</div>
<NextPage next="../related-links" />

</Layout>
2 changes: 1 addition & 1 deletion src/pages/paas/angular/fix-common-errors/about.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -38,5 +38,5 @@ import {GoArrowLeft,} from "react-icons/go";
</Link>
)}
</div>
<NextPage next="../related-links" />

</Layout>
2 changes: 1 addition & 1 deletion src/pages/paas/angular/how-tos/choose-version.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -43,5 +43,5 @@ import Head from "next/head";
</p>
</Alert>

<NextPage next="./customize-nginx"/>

</Layout>
2 changes: 1 addition & 1 deletion src/pages/paas/angular/how-tos/create-app.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -113,5 +113,5 @@ import Head from "next/head";
<Alert variant="success">همچنین بخوانید: <a className="text-[#2196f3] " href="/paas/details/about">آشنایی با ویژگی‌های یک برنامه</a></Alert>
<Alert variant="success">همچنین بخوانید: <a className="text-[#2196f3] " href="/paas/domains/about">اضافه کردن دامنه به برنامه</a></Alert>

<NextPage next="./deploy-app" />

</Layout>
2 changes: 1 addition & 1 deletion src/pages/paas/angular/how-tos/customize-nginx.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -72,5 +72,5 @@ location /images {
</Alert>


<NextPage next="./enable-gzip" />

</Layout>
2 changes: 1 addition & 1 deletion src/pages/paas/angular/how-tos/deploy-app.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -297,5 +297,5 @@ import Head from "next/head";
</Alert>


<NextPage next="./choose-version" />

</Layout>
2 changes: 1 addition & 1 deletion src/pages/paas/angular/how-tos/enable-gzip.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -67,5 +67,5 @@ location ~* \\.(?:css|js|otf|ttf|eot|woff|woff2)$ {
<div className="h-2" />
در نهایت کافیست تا برنامه خود را مجدداً در لیارا، مستقر کنید تا تغییرات بر روی برنامه، اعمال شوند.

<NextPage next="./set-http-security-headers"/>

</Layout>
Original file line number Diff line number Diff line change
Expand Up @@ -59,5 +59,5 @@ location ~ /\\.well-known {
</p>
</Alert>

{/* <NextPage next="./use-hooks" /> */}
{/* */}
</Layout>
2 changes: 1 addition & 1 deletion src/pages/paas/django/fix-common-errors/about.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -46,5 +46,5 @@ import Head from "next/head";
</Link>
)}
</div>
<NextPage next="../related-links" />

</Layout>
2 changes: 1 addition & 1 deletion src/pages/paas/django/how-tos/choose-version.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -77,5 +77,5 @@ import Head from "next/head";
]}
/>

<NextPage next="./set-gunicorn-workers"/>

</Layout>
2 changes: 1 addition & 1 deletion src/pages/paas/django/how-tos/connect-to-db/about.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -68,5 +68,5 @@ import Head from "next/head";
<div className='h-2' />
در انتها و پس از قرار دادن فایل فوق در مسیر اصلی پروژه، می‌توانید برنامه خود را در لیارا مستقر کنید تا عملیات Migrate به صورت خودکار برای‌تان اعمال شود.

<NextPage next="../../fix-common-errors/about" />

</Layout>
2 changes: 1 addition & 1 deletion src/pages/paas/django/how-tos/create-app.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -115,5 +115,5 @@ import Head from "next/head";
<Alert variant="success">همچنین بخوانید: <a className="text-[#2196f3] " href="/paas/details/about">آشنایی با ویژگی‌های یک برنامه</a></Alert>
<Alert variant="success">همچنین بخوانید: <a className="text-[#2196f3] " href="/paas/domains/about">اضافه کردن دامنه به برنامه</a></Alert>

<NextPage next="./deploy-app" />

</Layout>
2 changes: 1 addition & 1 deletion src/pages/paas/django/how-tos/customize-nginx.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -63,5 +63,5 @@ location ~ /\\.well-known {
</Alert>


<NextPage next="./enable-gzip" />

</Layout>
2 changes: 1 addition & 1 deletion src/pages/paas/django/how-tos/deploy-app.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -264,5 +264,5 @@ tzdata==2024.1
</Alert>


<NextPage next="./set-envs" />

</Layout>
2 changes: 1 addition & 1 deletion src/pages/paas/django/how-tos/enable-gzip.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -62,5 +62,5 @@ location ~ /\\.well-known {

پس از انجام کار فوق، کافیست برای اعمال تغییرات، برنامه‌تان را مجدداً در لیارا، مستقر کنید.

<NextPage next="./use-supervisord" />

</Layout>
2 changes: 1 addition & 1 deletion src/pages/paas/django/how-tos/set-cron-job.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,6 @@ Cron job یک وظیفه زمان‌بندی شده در سیستم‌عامل
<img src="https://files.liara.ir/liara/docs/see-cron-jobs.png" alt="see cron jobs on liara" />


<NextPage next="./choose-version" />


</Layout>
2 changes: 1 addition & 1 deletion src/pages/paas/django/how-tos/set-envs.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,6 @@ print(os.getenv('LIARA_URL', 'my-web-app'), flush=True)



<NextPage next="./use-disk" />


</Layout>
2 changes: 1 addition & 1 deletion src/pages/paas/django/how-tos/set-gunicorn-maxrequest.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -31,5 +31,5 @@ import Head from "next/head";
</p>
</Alert>

<NextPage next="./use-websocket"/>

</Layout>
2 changes: 1 addition & 1 deletion src/pages/paas/django/how-tos/set-gunicorn-workers.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -32,5 +32,5 @@ import Head from "next/head";
</p>
</Alert>

<NextPage next="./set-gunicorn-maxrequest"/>

</Layout>
Original file line number Diff line number Diff line change
Expand Up @@ -73,5 +73,5 @@ location ~ /\.well-known {
</p>
</Alert>

<NextPage next="./use-hooks" />

</Layout>
2 changes: 1 addition & 1 deletion src/pages/paas/django/how-tos/set-logs.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -31,5 +31,5 @@ import Head from "next/head";
<div className="h-2" />
البته در نظر داشته باشید که قطعه کد بالا، صرفاً یکی از راه‌های تنظیم لاگ است و شما می‌توانید از روش‌های دیگری نیز، استفاده کنید!

<NextPage next="./connect-to-db/about" />

</Layout>
2 changes: 1 addition & 1 deletion src/pages/paas/django/how-tos/use-asgi.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -39,5 +39,5 @@ ASGI یا Asynchronous Server Gateway Interface در Django یک استاندا
</Highlight>
</div>

<NextPage next="./use-ffmpeg-module"/>

</Layout>
2 changes: 1 addition & 1 deletion src/pages/paas/django/how-tos/use-disk.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -41,5 +41,5 @@ import Head from "next/head";
<Alert variant='success'>همچنین بخوانید: <a href="/paas/details/file-system" className="text-[#2196f3] ">فایل سیستم لیارا</a></Alert>
<Alert variant='success'>همچنین بخوانید: <a href="/paas/disks/about" className="text-[#2196f3] ">نحوه مدیریت دیسک‌ها</a></Alert>

<NextPage next="./customize-nginx" />

</Layout>
2 changes: 1 addition & 1 deletion src/pages/paas/django/how-tos/use-ffmpeg-module.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -80,5 +80,5 @@ def process_video(request):
</div>
<div className="h-2" />

<NextPage next="./set-logs"/>

</Layout>
2 changes: 1 addition & 1 deletion src/pages/paas/django/how-tos/use-hooks.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -75,5 +75,5 @@ echo "Pre-start script finished."`}
</p>
</Alert>

<NextPage next="./set-cron-job"/>

</Layout>
2 changes: 1 addition & 1 deletion src/pages/paas/django/how-tos/use-supervisord.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -45,5 +45,5 @@ stdout_logfile=/tmp/worker.log`}
پس از انجام کار فوق، کافیست برای اعمال تغییرات، برنامه‌تان را مجدداً در لیارا، مستقر کنید. پس از استقرار،
Supervisor اجرا شده و دستور شما را در Background اجرا خواهد کرد.

<NextPage next="./set-http-security-headers" />

</Layout>
2 changes: 1 addition & 1 deletion src/pages/paas/django/how-tos/use-websocket.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -484,5 +484,5 @@ CHANNEL_LAYERS = {
</p>
</Alert>

<NextPage next="./use-asgi" />

</Layout>
2 changes: 1 addition & 1 deletion src/pages/paas/docker/how-tos/configure-supercronic.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,6 @@ daphne -b 0.0.0.0 -p 80 routeprinter:app`}
</Highlight>
</ div>

{/* <NextPage next="./use-disk" /> */}
{/* */}

</Layout>
2 changes: 1 addition & 1 deletion src/pages/paas/docker/how-tos/create-app.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -114,5 +114,5 @@ import Head from "next/head";
<Alert variant="success">همچنین بخوانید: <a className="text-[#2196f3] " href="/paas/details/about">آشنایی با ویژگی‌های یک برنامه</a></Alert>
<Alert variant="success">همچنین بخوانید: <a className="text-[#2196f3] " href="/paas/domains/about">اضافه کردن دامنه به برنامه</a></Alert>

<NextPage next="./deploy-app" />

</Layout>
2 changes: 1 addition & 1 deletion src/pages/paas/docker/how-tos/deploy-app.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -406,5 +406,5 @@ CMD ["./main"]`}
</Alert>


<NextPage next="./deploy-image-from-dockerhub" />

</Layout>
2 changes: 1 addition & 1 deletion src/pages/paas/docker/how-tos/deploy-docker-compose.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -39,5 +39,5 @@ Docker Compose ابزاری است که برای تعریف و اجرای برن

به عنوان مثال، فرض کنید که یک Docker Compose متشکل از برنامه Golang و دیتابیس PostgreSQL دارید. برای استقرار این برنامه، کافیست تا در ابتدا یک برنامه داکر و یک دیتابیس Postgres ایجاد کنید. در ادامه، متغیرهای محیطی دیتابیس را به برنامه داکر خود اضافه کرده و در نهایت، برنامه Golang داکرایز شده خود را در لیارا، مستقر کنید. در نظر داشته باشید که هم برنامه داکر و هم دیتابیس PostgreSQL بایستی برای ارتباط در شبکه خصوصی، در یک شبکه مشترک قرار گرفته باشند.

<NextPage next="./set-envs"/>

</Layout>
Original file line number Diff line number Diff line change
Expand Up @@ -99,5 +99,5 @@ import Head from "next/head";
]}
/>

<NextPage next="./deploy-docker-compose"/>

</Layout>
2 changes: 1 addition & 1 deletion src/pages/paas/docker/how-tos/set-envs.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,6 @@ func main() {
در مثال فوق، <Important>LIARA_URL</Important> یک متغیر محیطی است که از قبل، به برنامه فرضی در لیارا، اضافه شده است.


<NextPage next="./use-disk" />


</Layout>
2 changes: 1 addition & 1 deletion src/pages/paas/docker/how-tos/use-disk.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -58,5 +58,5 @@ VOLUME /path/to/data`}
<Alert variant='success'>همچنین بخوانید: <a href="/paas/details/file-system" className="text-[#2196f3] ">فایل سیستم لیارا</a></Alert>
<Alert variant='success'>همچنین بخوانید: <a href="/paas/disks/about" className="text-[#2196f3] ">نحوه مدیریت دیسک‌ها</a></Alert>

<NextPage next="./configure-supercronic" />

</Layout>
2 changes: 1 addition & 1 deletion src/pages/paas/dotnet/fix-common-errors/about.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -43,5 +43,5 @@ import Head from "next/head";
</Link>
)}
</div>
<NextPage next="../related-links" />

</Layout>
2 changes: 1 addition & 1 deletion src/pages/paas/dotnet/how-tos/choose-version.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -79,5 +79,5 @@ EOL یا END OF LIFE به‌معنای پایان عمر یک نسخه است ب
]}
/>

<NextPage next="./use-websocket"/>

</Layout>
2 changes: 1 addition & 1 deletion src/pages/paas/dotnet/how-tos/connect-to-db/about.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -91,5 +91,5 @@ import Head from "next/head";
شما برای استفاده از آن، کار خاصی را انجام دهید.


<NextPage next="../../fix-common-errors/about" />

</Layout>
2 changes: 1 addition & 1 deletion src/pages/paas/dotnet/how-tos/create-app.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -115,5 +115,5 @@ import Head from "next/head";
<Alert variant="success">همچنین بخوانید: <a className="text-[#2196f3] " href="/paas/details/about">آشنایی با ویژگی‌های یک برنامه</a></Alert>
<Alert variant="success">همچنین بخوانید: <a className="text-[#2196f3] " href="/paas/domains/about">اضافه کردن دامنه به برنامه</a></Alert>

<NextPage next="./deploy-app" />

</Layout>
2 changes: 1 addition & 1 deletion src/pages/paas/dotnet/how-tos/deploy-app.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -227,5 +227,5 @@ import Head from "next/head";
</Alert>


<NextPage next="./set-envs" />

</Layout>
2 changes: 1 addition & 1 deletion src/pages/paas/dotnet/how-tos/deploy-dll-files.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,6 @@ CMD ["dotnet", "MyProject.dll"]
</Highlight>
</div>

<NextPage next="./connect-to-db/about" />


</Layout>
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,6 @@ import Head from "next/head";
<div className="h-2" />
در صورتی که ساختار برنامه‌ی شما وابسته به چندین پروژه است، پوشه‌ی Solution ریشه‌ی برنامه‌ی شما به‌حساب می‌آید. بنابراین، لازم است که اگر فایل <Important>liara.json</Important> را می‌سازید، آن را در پوشه‌ی Solution ساخته و دستور <Important>liara deploy</Important> را هم در پوشه‌ی Solution اجرا کنید.

<NextPage next="./deploy-dll-files" />


</Layout>
2 changes: 1 addition & 1 deletion src/pages/paas/dotnet/how-tos/manage-logs.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,6 @@ import Head from "next/head";
</Alert>


<NextPage next="./deploy-solution-directory" />


</Layout>
2 changes: 1 addition & 1 deletion src/pages/paas/dotnet/how-tos/set-envs.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,6 @@ else



<NextPage next="./use-disk" />


</Layout>
2 changes: 1 addition & 1 deletion src/pages/paas/dotnet/how-tos/use-disk.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -41,5 +41,5 @@ import Head from "next/head";
<Alert variant='success'>همچنین بخوانید: <a href="/paas/details/file-system" className="text-[#2196f3] ">فایل سیستم لیارا</a></Alert>
<Alert variant='success'>همچنین بخوانید: <a href="/paas/disks/about" className="text-[#2196f3] ">نحوه مدیریت دیسک‌ها</a></Alert>

<NextPage next="./use-hooks" />

</Layout>
2 changes: 1 addition & 1 deletion src/pages/paas/dotnet/how-tos/use-ffmpeg-module.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -24,5 +24,5 @@ import Head from "next/head";
ماژول FFMPEG به‌صورت پیش‌فرض در برنامه‌های NET. نصب است و همچنین متغیرهای محیطی <Important>FFMPEG_PATH</Important> و <Important>FFPROBE_PATH</Important> در این پلتفرم تنظیم شده‌اند.
بنابراین شما می‌توانید بدون انجام کار خاصی، به راحتی از این ماژول، استفاده کنید.

<NextPage next="./manage-logs"/>

</Layout>
2 changes: 1 addition & 1 deletion src/pages/paas/dotnet/how-tos/use-hooks.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -69,5 +69,5 @@ echo "Pre-start script for .NET finished."`}
</div>
<div className="h-2" />

<NextPage next="./choose-version"/>

</Layout>
2 changes: 1 addition & 1 deletion src/pages/paas/dotnet/how-tos/use-websocket.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -194,5 +194,5 @@ document.getElementById("sendButton").addEventListener("click", function (event)
</p>
</Alert>

<NextPage next="./use-ffmpeg-module" />

</Layout>
2 changes: 1 addition & 1 deletion src/pages/paas/flask/fix-common-errors/about.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -45,5 +45,5 @@ import Head from "next/head";
</Link>
)}
</div>
<NextPage next="../related-links" />

</Layout>
2 changes: 1 addition & 1 deletion src/pages/paas/flask/how-tos/choose-version.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -77,5 +77,5 @@ import Head from "next/head";
]}
/>

<NextPage next="./use-ffmpeg-module"/>

</Layout>
Loading

0 comments on commit 788c829

Please sign in to comment.