Skip to content

Commit

Permalink
update gh pages
Browse files Browse the repository at this point in the history
  • Loading branch information
tapselladnet committed Nov 6, 2024
0 parents commit caca2f5
Show file tree
Hide file tree
Showing 325 changed files with 7,221 additions and 0 deletions.
33 changes: 33 additions & 0 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
version: 2

jobs:
deploy-website:
docker:
# specify the version you desire here
- image: circleci/ruby:2.4-node

steps:
- checkout
- run:
name: Install Ruby
command: |
gem install bundler -v 2.1.4
bundle install
- run: npm install

- run:
name: Build
command: |
npm run build
workflows:
version: 2

build_and_deploy:
jobs:
- deploy-website:
filters:
branches:
only: master

20 changes: 20 additions & 0 deletions .editorconfig
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
root = true

[*]
charset = utf-8
end_of_line = lf
insert_final_newline = true
trim_trailing_whitespace = true
indent_style = space
indent_size = 2

[*.{md,markdown}]
trim_trailing_whitespace = false

[*.html]
indent_style = space
indent_size = 2

[*.{css,scss}]
indent_style = space
indent_size = 2
2 changes: 2 additions & 0 deletions .eslintignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
*
!src/**/*
17 changes: 17 additions & 0 deletions .eslintrc.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
{
"extends": ["eslint:recommended"],
"env": { "browser": true },
"rules": {
"curly": "off",
"no-var": "warn",
"require-jsdoc": "off",
"object-curly-spacing": "off",
"comma-dangle": "off",
"max-len": "off",
"no-inner-declarations": "off",
"no-console": "warn"
},
"parserOptions": {
"sourceType": "module"
}
}
62 changes: 62 additions & 0 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,62 @@
name: Deploy Website

on:
push:
branches:
- master

jobs:
deploy-website:
runs-on: ubuntu-latest

steps:
- name: Checkout repository
uses: actions/checkout@v4

- name: Set up Ruby
uses: ruby/setup-ruby@v1
with:
ruby-version: 2.6.3

- name: Install Bundler
run: gem install bundler -v 2.1.4

- name: Install dependencies
run: bundle install

- name: Set up Node.js
uses: actions/setup-node@v2
with:
node-version: '14'

- name: Install npm dependencies
run: npm install

- name: Build the site
run: npm run build

- name: Configure CNAME
run: echo "docs.tapsell.ir" > _site/CNAME

- name: Configure Git
run: |
git config --global user.email "[email protected]"
git config --global user.name "tapsellCI"
git config --global url.https://${{ secrets.PERSONAL_ACCESS_TOKEN }}@github.com/.insteadOf https://github.com/
- name: Deploy to GitHub Pages
env:
PERSONAL_ACCESS_TOKEN: ${{ secrets.PERSONAL_ACCESS_TOKEN }}
run: |
git clone https://github.com/tapsellorg/TapsellDocument.git
cd TapsellDocument
if [ `git branch --list gh-pages` ]; then
git checkout gh-pages
else
git checkout --orphan gh-pages
fi
rm -rf *
cp -r ../_site/* .
git add -A
git commit -m "update gh pages"
git push https://tapsellCI:${{ secrets.PERSONAL_ACCESS_TOKEN }}@github.com/tapsellorg/TapsellDocument.git gh-pages --force
31 changes: 31 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
# Sass
.sass-cache
*.scssc

# Sublime Text
sftp-config.json

# Jekyll
_site
.jekyll-metadata
.bundle
vendor
._jekyll_build_temp

# Node.js
node_modules/

# Logfiles and tempfiles
*.log
/log/*
!/log/.keep
/tmp

# Other unneeded files
doc/
*.swp
*~
.project
.DS_Store
.idea
.secret
59 changes: 59 additions & 0 deletions .liquidrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,59 @@
{
"ignore": [
{
"type": "liquid",
"begin": "comment",
"end": "endcomment"
},
{
"type": "liquid",
"begin": "capture",
"end": "endcapture"
},
{
"type": "html",
"begin": "script",
"end": "script"
},
{
"type": "html",
"begin": "style",
"end": "style"
}
],
"html": {
"correct": false,
"force_attribute": false,
"braces": false,
"preserve": 2,
"unformatted": false
},
"js": {
"preserve": 1,
"method_chain": 0,
"quote_convert": "single",
"format_array": "indent",
"format_object": "indent",
"braces": false,
"no_semicolon": false,
"brace_block": true
},
"scss": {
"css_insert_lines": true,
"preserve": 2,
"braces": false,
"brace_block": true
},
"css": {
"css_insert_lines": true,
"preserve": 2,
"braces": false,
"brace_block": true
},
"json": {
"preserve": 0,
"braces": false,
"brace_block": true,
"no_semicolon": true
}
}
1 change: 1 addition & 0 deletions .prettierignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
src/jekyll/**/*
14 changes: 14 additions & 0 deletions .prettierrc.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
{
"trailingComma": "es5",
"tabWidth": 2,
"semi": true,
"singleQuote": true,
"printWidth": 140,
"htmlWhitespaceSensitivity": "ignore",
"useTabs": false,
"quoteProps": "as-needed",
"bracketSpacing": true,
"jsxBracketSameLine": true,
"arrowParens": "avoid",
"endOfLine": "lf"
}
27 changes: 27 additions & 0 deletions .vscode/markdown-snippets.code-snippets
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
{
// Place your doc-platform workspace snippets here. Each snippet is defined under a snippet name and has a scope, prefix, body and
// description. Add comma separated ids of the languages where the snippet is applicable in the scope field. If scope
// is left empty or omitted, the snippet gets applied to all languages. The prefix is what is
// used to trigger the snippet and the body will be expanded and inserted. Possible variables are:
// $1, $2 for tab stops, $0 for the final cursor position, and ${1:label}, ${2:another} for placeholders.
// Placeholders with the same ids are connected.
// Example:
// "Print to console": {
// "scope": "javascript,typescript",
// "prefix": "log",
// "body": [
// "console.log('$1');",
// "$2"
// ],
// "description": "Log output to console"
// }

"baseurl relative link": {
"scope": "markdown",
"prefix": "relative_link",
"body": [
"[$1]({{ '$2' | relative_url }})"
],
"description": "Relative link"
}
}
7 changes: 7 additions & 0 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
{
"editor.tabSize": 2,
"editor.wordWrapColumn": 140,
"html.format.wrapLineLength": 140,
"html.format.wrapAttributes": "aligned-multiple",
"editor.insertSpaces": true
}
1 change: 1 addition & 0 deletions CNAME
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
docs.tapsell.ir
1 change: 1 addition & 0 deletions __doc-jekyll-clickable-boxes.html
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
<!DOCTYPE html><html lang="fa" dir="rtl"><head><meta charset="UTF-8"><meta content="IE=edge" http-equiv="X-UA-Compatible"><meta content="width=device-width,initial-scale=1,maximum-scale=1,user-scalable=no" name="viewport"><meta name="description" content="اگر می‌خواهید desctipion (تگ متا) صفحه را تغییر دهید از این تگ استفاده کنید"><link href="/assets/images/favicons/76X76.png" rel="apple-touch-icon" sizes="152x152"><link href="/assets/images/favicons/32X32.png" rel="icon" sizes="32x32" type="image/png"><link href="/assets/images/favicons/16X16.png" rel="icon" sizes="16x16" type="image/png"><link href="/assets/images/favicons/site.webmanifest" rel="manifest"><link color="#5bbad5" href="/assets/images/favicons/safari-pinned-tab.svg" rel="mask-icon"><meta content="#da532c" name="msapplication-TileColor"><meta content="#ffffff" name="theme-color"><link href="/assets/style.css?v=1730911904&_v=1730911906259" rel="stylesheet"><title>عنوان صفحه - Tapsell</title></head><body><header id="header"><div class="container"><div class="header-content"><div class="header-logo"><a class="logo" href="https://tapsell.ir"><img src="/assets/images/logos/logo-dark-background.png" class="logo-image" alt="Tapsell Docs"></a></div><nav class="header-nav"><ul class="main-nav"><li class="nav-item"><a href="/"><span>خانه</span></a></li><li class="nav-item"><a href="https://dashboard.tapsell.ir/" target="_blank"><span>داشبورد</span></a></li><li class="nav-item"><a href="https://college.tapsell.ir/" target="_blank"><span>کالج تپسل</span></a></li><li class="nav-item"><a href="https://docs.tapsell.ir/en"><span>English</span></a></li></ul></nav><div class="header-nav-btns"></div></div></div></header><main class="outer"><div class="main-searchbar"></div><div class="hits-target"></div><div class="main-body"><div class="sidebar-wrapper"><aside id="sidebar" class="sidebar"><ul class="sidebar-list"><li class="sidebar-main-item closed" data-section="تپسل-پلاس"><div class="main-item-parent"><i class="main-item-icon m-sdk mr-ltr-2"></i> <span class="main-item-text nav-span">تپسل پلاس</span> <i class="main-item-arrow picon-right-chevron"></i></div><ul class="main-item-children"><li class="child-item"><a class="" href="/plus-sdk/android/main" data-proofer-ignore>Android</a><ul class="child-item-children"><li class="subchild-item"><a class="" href="/plus-sdk/android/initialize" data-proofer-ignore>راه اندازی</a></li><li class="subchild-item"><a class="" href="/plus-sdk/android/rewarded-interstitial" data-proofer-ignore>آنی/جایزه‌ای</a></li><li class="subchild-item"><a class="" href="/plus-sdk/android/native" data-proofer-ignore>همسان</a></li><li class="subchild-item"><a class="" href="/plus-sdk/android/native-vid" data-proofer-ignore>ویدئوی همسان</a></li><li class="subchild-item"><a class="" href="/plus-sdk/android/standard" data-proofer-ignore>استاندارد</a></li><li class="subchild-item"><a class="" href="/plus-sdk/android/vast" data-proofer-ignore>VAST</a></li><li class="subchild-item"><a class="" href="/plus-sdk/android/add-adnetworks" data-proofer-ignore>شبکه‌های تبلیغاتی</a></li><li class="subchild-item"><a class="" href="/plus-sdk/android/adnetworks-test" data-proofer-ignore>تست</a></li><li class="subchild-item"><a class="" href="/faq/plus-sdk/android/" data-proofer-ignore>خطاهای فنی رایج</a></li></ul></li><li class="child-item"><a class="" href="/plus-sdk/unity/main" data-proofer-ignore>Unity</a><ul class="child-item-children"><li class="subchild-item"><a class="" href="/plus-sdk/unity/initialize-android" data-proofer-ignore>راه اندازی اندروید</a></li><li class="subchild-item"><a class="" href="/plus-sdk/unity/initialize-ios" data-proofer-ignore>راه اندازی ios</a></li><li class="subchild-item"><a class="" href="/plus-sdk/unity/rewarded-interstitial" data-proofer-ignore>آنی/جایزه‌ای</a></li><li class="subchild-item"><a class="" href="/plus-sdk/unity/native" data-proofer-ignore>همسان</a></li><li class="subchild-item"><a class="" href="/plus-sdk/unity/standard" data-proofer-ignore>استاندارد</a></li><li class="subchild-item"><a class="" href="/plus-sdk/unity/add-adnetworks" data-proofer-ignore>شبکه‌های تبلیغاتی</a></li><li class="subchild-item"><a class="" href="/plus-sdk/unity/adnetworks-test" data-proofer-ignore>تست</a></li><li class="subchild-item"><a class="" href="/faq/plus-sdk/unity/" data-proofer-ignore>خطاهای فنی رایج</a></li></ul></li><li class="child-item"><a class="" href="/plus-sdk/flutter/main" data-proofer-ignore>Flutter</a><ul class="child-item-children"><li class="subchild-item"><a class="" href="/plus-sdk/flutter/initialize" data-proofer-ignore>راه اندازی</a></li><li class="subchild-item"><a class="" href="/plus-sdk/flutter/rewarded-interstitial" data-proofer-ignore>آنی/جایزه‌ای</a></li><li class="subchild-item"><a class="" href="/plus-sdk/flutter/native" data-proofer-ignore>همسان</a></li><li class="subchild-item"><a class="" href="/plus-sdk/flutter/standard" data-proofer-ignore>استاندارد</a></li><li class="subchild-item"><a class="" href="/plus-sdk/flutter/add-adnetworks" data-proofer-ignore>شبکه‌های تبلیغاتی</a></li><li class="subchild-item"><a class="" href="/plus-sdk/flutter/adnetworks-test" data-proofer-ignore>تست</a></li><li class="subchild-item"><a class="" href="/faq/plus-sdk/flutter/" data-proofer-ignore>خطاهای فنی رایج</a></li></ul></li><li class="child-item"><a class="" href="/plus-sdk/reactnative/main" data-proofer-ignore>React Native</a><ul class="child-item-children"><li class="subchild-item"><a class="" href="/plus-sdk/reactnative/initialize-android" data-proofer-ignore>راه اندازی</a></li><li class="subchild-item"><a class="" href="/plus-sdk/reactnative/rewarded" data-proofer-ignore>آنی/جایزه‌ای</a></li><li class="subchild-item"><a class="" href="/plus-sdk/reactnative/native" data-proofer-ignore>همسان</a></li><li class="subchild-item"><a class="" href="/plus-sdk/reactnative/standard" data-proofer-ignore>استاندارد</a></li><li class="subchild-item"><a class="" href="/plus-sdk/reactnative/add-adnetworks" data-proofer-ignore>شبکه‌های تبلیغاتی</a></li><li class="subchild-item"><a class="" href="/plus-sdk/reactnative/adnetworks-test" data-proofer-ignore>تست</a></li><li class="subchild-item"><a class="" href="/faq/plus-sdk/reactnative/" data-proofer-ignore>خطاهای فنی رایج</a></li></ul></li><li class="child-item"><a class="" href="/plus-sdk/b4a/main" data-proofer-ignore>Basic4Android</a><ul class="child-item-children"><li class="subchild-item"><a class="" href="/plus-sdk/b4a/initialize" data-proofer-ignore>راه اندازی</a></li><li class="subchild-item"><a class="" href="/plus-sdk/b4a/rewarded" data-proofer-ignore>آنی/جایزه‌ای</a></li><li class="subchild-item"><a class="" href="/plus-sdk/b4a/native" data-proofer-ignore>همسان</a></li><li class="subchild-item"><a class="" href="/plus-sdk/b4a/native-vid" data-proofer-ignore>ویدئوی همسان</a></li><li class="subchild-item"><a class="" href="/plus-sdk/b4a/standard" data-proofer-ignore>استاندارد</a></li><li class="subchild-item"><a class="" href="/plus-sdk/b4a/add-adnetworks" data-proofer-ignore>شبکه‌های تبلیغاتی</a></li><li class="subchild-item"><a class="" href="/plus-sdk/b4a/adnetworks-test" data-proofer-ignore>تست</a></li><li class="subchild-item"><a class="" href="/faq/plus-sdk/b4a/" data-proofer-ignore>خطاهای فنی رایج</a></li></ul></li></ul></li></ul><ul class="sidebar-list"><li class="sidebar-main-item closed" data-section="تپسل"><div class="main-item-parent"><i class="main-item-icon m-sdk mr-ltr-2"></i> <span class="main-item-text nav-span">تپسل</span> <i class="main-item-arrow picon-right-chevron"></i></div><ul class="main-item-children"><li class="child-item"><a class="" href="/tapsell-sdk/android/main" data-proofer-ignore>Android</a><ul class="child-item-children"><li class="subchild-item"><a class="" href="/tapsell-sdk/android/initialize" data-proofer-ignore>راه اندازی</a></li><li class="subchild-item"><a class="" href="/tapsell-sdk/android/rewarded-interstitial" data-proofer-ignore>جایزه‌ای/آنی</a></li><li class="subchild-item"><a class="" href="/tapsell-sdk/android/standard" data-proofer-ignore>بنر استاندارد</a></li><li class="subchild-item"><a class="" href="/tapsell-sdk/android/native" data-proofer-ignore>بنر همسان</a></li><li class="subchild-item"><a class="" href="/tapsell-sdk/android/vast" data-proofer-ignore>VAST</a></li></ul></li><li class="child-item"><a class="" href="/s2s" data-proofer-ignore>سیستم صحت سنجی</a></li></ul></li></ul><ul class="sidebar-list"><li class="sidebar-main-item closed" data-section="تبلیغ-دهنده-ها"><div class="main-item-parent"><i class="main-item-icon m-sdk mr-ltr-2"></i> <span class="main-item-text nav-span">تبلیغ دهنده‌ها</span> <i class="main-item-arrow picon-right-chevron"></i></div><ul class="main-item-children"><li class="child-item"><a class="" href="/advertiser/playable" data-proofer-ignore>Playable</a></li></ul></li></ul></aside></div><div class="article-container"><article><div class="article-content"><h1>به مستندات Tapsell خوش آمدید</h1><div class="row clickable-box-group"><div class="col-12 col-sm-6"><a href="#" class="clickable-box"><div class="clickable-box-icon"><i class="picon-publisher"></i></div><h2 class="clickable-box-title">پابلیشر</h2><p class="clickable-box-desc">توضیحات بخش پابلیشر</p><button class="clickable-box-button btn btn-primary mt-3">ورود به بخش پابلیشرها</button></a></div><div class="col-12 col-sm-6"><a href="#" class="clickable-box"><div class="clickable-box-icon"><i class="picon-advertiser"></i></div><h2 class="clickable-box-title">تبلیغ‌دهنده</h2><p class="clickable-box-desc">توضیحات بخش تبلیغ‌دهنده</p><button class="clickable-box-button btn btn-secondary mt-3">ورود به بخش تبلیغ‌دهنده‌ها</button></a></div></div></div></article></div></div><footer id="footer" class="footer"><div class="container"><div class="row justify-content-between"><div class="col-auto"><div><div class="social-container"><div class="social-btns"><a href="https://t.me/metrix_ir" target="_blank" class="social-btn-telegram" title="Telegram"><i class="fa fa-paper-plane" aria-hidden="true"></i><span class="sr-only">Telegram</span> </a><a href="https://twitter.com/Metrix_ir" target="_blank" class="social-btn-twitter" title="Twitter"><i class="fa fa-twitter" aria-hidden="true"></i><span class="sr-only">Twitter</span> </a><a href="https://www.youtube.com/channel/UCOuxIYN09P8PvQp9hUjjJNg" target="_blank" class="social-btn-youtube" title="YouTube"><i class="fa fa-youtube" aria-hidden="true"></i><span class="sr-only">YouTube</span> </a><a href="https://www.linkedin.com/company/metrix-ir" target="_blank" class="social-btn-linkedin" title="LinkedIn"><i class="fa fa-linkedin" aria-hidden="true"></i><span class="sr-only">LinkedIn</span></a></div></div></div></div><div class="col-auto"><img src="/assets/images/logos/logo-dark-background.png" class="logo-small margin-top-small" alt="Tapsell"></div></div><div class="row"><div class="col-md-12"><hr class="dark m-0"><div class="footer-nav-container"><nav class="footer-nav"><ul class="footer-nav-list"><li><a href="https://docs.tapsell.ir/terms-and-condition/">قوانین و ضوابط</a></li><li><a href="https://docs.tapsell.ir/faq/publisher/">سوالات متداول</a></li><li><a href="https://docs.tapsell.ir/faq/advertiser/">سوالات متداول تبلیغ‌دهندگان</a></li><li><a href="https://docs.tapsell.ir/paying-income/">پرداخت درآمد</a></li><li><a href="mailto:[email protected]" target="_blank"><span>تماس با ما</span></a></li></ul></nav></div><div class="margin-top-small margin-bottom-small text-center-small-float-right"><span>طراحی و توسعه توسط تپسل - ایران 2024.</span></div></div></div></div></footer><script src="/assets/bundle.js?v=1730911904&_v=1730911906259" type="text/javascript"></script></main></body></html>
Loading

0 comments on commit caca2f5

Please sign in to comment.