From 371add63104cce5efc2be112235967480e084b03 Mon Sep 17 00:00:00 2001 From: muhammad-fiaz Date: Fri, 15 Mar 2024 21:50:10 +0530 Subject: [PATCH] Improved the Documentation website --- .editorconfig | 14 + .eslintrc.json | 3 + .gitignore | 38 +- .idea/.gitignore | 2 + .idea/aws.xml | 20 +- .idea/inspectionProfiles/Project_Default.xml | 10 + README.md | 6 +- _config.yml | 1 - config/config.json | 29 + config/menu.json | 55 + config/social.json | 30 + config/theme.json | 28 + content/404.md | 6 + content/about.md | 30 + content/authors/_index.md | 3 + content/authors/muhammad-fiaz.md | 25 + content/contact.md | 13 + content/docs/logly.md | 246 + content/docs/portfolio.md | 185 + content/privacy-policy.md | 44 + context/state.js | 17 + jsconfig.json | 15 + json/posts.json | 1 + layouts/404.js | 20 + layouts/About.js | 36 + layouts/AuthorSingle.js | 42 + layouts/Baseof.js | 100 + layouts/Contact.js | 37 + layouts/Default.js | 20 + layouts/PostSingle.js | 119 + layouts/components/Logo.js | 32 + layouts/components/Pagination.js | 145 + layouts/components/Share.js | 62 + layouts/components/Social.js | 395 + layouts/components/TwSizeIndicator.js | 18 + layouts/partials/Authors.js | 36 + layouts/partials/Footer.js | 32 + layouts/partials/Header.js | 126 + layouts/partials/Posts.js | 100 + layouts/partials/SearchModal.js | 39 + layouts/partials/SimilarPosts.js | 66 + layouts/shortcodes/Button.jsx | 11 + layouts/shortcodes/all.js | 7 + lib/contentParser.js | 89 + lib/jsonGenerator.js | 31 + lib/taxonomyParser.js | 21 + lib/utils/dateFormat.js | 7 + lib/utils/mdxParser.js | 16 + lib/utils/similarItems.js | 37 + lib/utils/sortFunctions.js | 7 + lib/utils/textConverter.js | 72 + next-env.d.ts | 5 - next.config.js | 6 - next.config.mjs | 24 + package-lock.json | 12025 ++++++++++++----- package.json | 68 +- pages/404.js | 23 + pages/[regular].js | 82 + pages/_app.js | 58 + pages/_document.js | 35 + pages/_document.tsx | 153 - pages/_meta.json | 14 - pages/authors/[single].js | 49 + pages/authors/index.js | 4 + pages/authors/page/[slug].js | 79 + pages/categories/[category].js | 54 + pages/categories/index.js | 43 + pages/docs/index.mdx | 1 - pages/index.js | 3 + pages/index.tsx | 12 - pages/mdx-components.js | 21 + pages/page/[slug].js | 66 + pages/search.js | 65 + pages/tags/[tag].js | 51 + pages/tags/index.js | 42 + postcss.config.js | 6 + public/.htaccess | 88 + public/favicon/favicon.ico | Bin 4286 -> 0 bytes public/favicon/favicon.jpg | Bin 54946 -> 0 bytes public/img/logo.jpg | Bin 54946 -> 0 bytes public/manifest.json | 25 - public/robots.txt | 7 +- styles/base.scss | 46 + styles/buttons.scss | 11 + styles/components.scss | 82 + styles/navigation.scss | 63 + styles/style.scss | 17 + styles/utilities.scss | 8 + tailwind.config.js | 79 + theme.config.tsx | 18 - tsconfig.json | 20 - 91 files changed, 12549 insertions(+), 3448 deletions(-) create mode 100644 .editorconfig create mode 100644 .eslintrc.json delete mode 100644 _config.yml create mode 100644 config/config.json create mode 100644 config/menu.json create mode 100644 config/social.json create mode 100644 config/theme.json create mode 100644 content/404.md create mode 100644 content/about.md create mode 100644 content/authors/_index.md create mode 100644 content/authors/muhammad-fiaz.md create mode 100644 content/contact.md create mode 100644 content/docs/logly.md create mode 100644 content/docs/portfolio.md create mode 100644 content/privacy-policy.md create mode 100644 context/state.js create mode 100644 jsconfig.json create mode 100644 json/posts.json create mode 100644 layouts/404.js create mode 100644 layouts/About.js create mode 100644 layouts/AuthorSingle.js create mode 100644 layouts/Baseof.js create mode 100644 layouts/Contact.js create mode 100644 layouts/Default.js create mode 100644 layouts/PostSingle.js create mode 100644 layouts/components/Logo.js create mode 100644 layouts/components/Pagination.js create mode 100644 layouts/components/Share.js create mode 100644 layouts/components/Social.js create mode 100644 layouts/components/TwSizeIndicator.js create mode 100644 layouts/partials/Authors.js create mode 100644 layouts/partials/Footer.js create mode 100644 layouts/partials/Header.js create mode 100644 layouts/partials/Posts.js create mode 100644 layouts/partials/SearchModal.js create mode 100644 layouts/partials/SimilarPosts.js create mode 100644 layouts/shortcodes/Button.jsx create mode 100644 layouts/shortcodes/all.js create mode 100644 lib/contentParser.js create mode 100644 lib/jsonGenerator.js create mode 100644 lib/taxonomyParser.js create mode 100644 lib/utils/dateFormat.js create mode 100644 lib/utils/mdxParser.js create mode 100644 lib/utils/similarItems.js create mode 100644 lib/utils/sortFunctions.js create mode 100644 lib/utils/textConverter.js delete mode 100644 next-env.d.ts delete mode 100644 next.config.js create mode 100644 next.config.mjs create mode 100644 pages/404.js create mode 100644 pages/[regular].js create mode 100644 pages/_app.js create mode 100644 pages/_document.js delete mode 100644 pages/_document.tsx delete mode 100644 pages/_meta.json create mode 100644 pages/authors/[single].js create mode 100644 pages/authors/index.js create mode 100644 pages/authors/page/[slug].js create mode 100644 pages/categories/[category].js create mode 100644 pages/categories/index.js delete mode 100644 pages/docs/index.mdx create mode 100644 pages/index.js delete mode 100644 pages/index.tsx create mode 100644 pages/mdx-components.js create mode 100644 pages/page/[slug].js create mode 100644 pages/search.js create mode 100644 pages/tags/[tag].js create mode 100644 pages/tags/index.js create mode 100644 postcss.config.js create mode 100644 public/.htaccess delete mode 100644 public/favicon/favicon.ico delete mode 100644 public/favicon/favicon.jpg delete mode 100644 public/img/logo.jpg delete mode 100644 public/manifest.json create mode 100644 styles/base.scss create mode 100644 styles/buttons.scss create mode 100644 styles/components.scss create mode 100644 styles/navigation.scss create mode 100644 styles/style.scss create mode 100644 styles/utilities.scss create mode 100644 tailwind.config.js delete mode 100644 theme.config.tsx delete mode 100644 tsconfig.json diff --git a/.editorconfig b/.editorconfig new file mode 100644 index 0000000..896e0d7 --- /dev/null +++ b/.editorconfig @@ -0,0 +1,14 @@ +; https://editorconfig.org + +root = true + +[*] +charset = utf-8 +end_of_line = lf +indent_size = 2 +indent_style = space +trim_trailing_whitespace = true +insert_final_newline = true + +[*.md] +trim_trailing_whitespace = false \ No newline at end of file diff --git a/.eslintrc.json b/.eslintrc.json new file mode 100644 index 0000000..bffb357 --- /dev/null +++ b/.eslintrc.json @@ -0,0 +1,3 @@ +{ + "extends": "next/core-web-vitals" +} diff --git a/.gitignore b/.gitignore index f74c781..4235f93 100644 --- a/.gitignore +++ b/.gitignore @@ -1,2 +1,36 @@ -.next -node_modules +# See https://help.github.com/articles/ignoring-files/ for more about ignoring files. + +# dependencies +/node_modules +/.pnp +.pnp.js +yarn.lock + +# testing +/coverage + +# next.js +/.next/ +/out/ + +# production +/build + +# misc +.DS_Store +*.pem + +# debug +npm-debug.log* +yarn-debug.log* +yarn-error.log* +.pnpm-debug.log* + +# local env files +.env.local +.env.development.local +.env.test.local +.env.production.local + +# vercel +.vercel diff --git a/.idea/.gitignore b/.idea/.gitignore index b58b603..7abb13d 100644 --- a/.idea/.gitignore +++ b/.idea/.gitignore @@ -3,3 +3,5 @@ /workspace.xml # Editor-based HTTP Client requests /httpRequests/ +# GitHub Copilot persisted chat sessions +/copilot/chatSessions diff --git a/.idea/aws.xml b/.idea/aws.xml index b63b642..ed58b9c 100644 --- a/.idea/aws.xml +++ b/.idea/aws.xml @@ -1,11 +1,11 @@ - - - - - + + + + + \ No newline at end of file diff --git a/.idea/inspectionProfiles/Project_Default.xml b/.idea/inspectionProfiles/Project_Default.xml index 93970c2..260fd49 100644 --- a/.idea/inspectionProfiles/Project_Default.xml +++ b/.idea/inspectionProfiles/Project_Default.xml @@ -2,6 +2,16 @@