diff --git a/.github/workflows/codepoint.yml b/.github/workflows/codepoint.yml index eae7fb7..f6c29fa 100644 --- a/.github/workflows/codepoint.yml +++ b/.github/workflows/codepoint.yml @@ -14,13 +14,4 @@ jobs: with: python-version: 3.8 - run: pip install -r requirements.txt - # - run: pip install lxml - # - run: pip install mkdocs-git-authors-plugin - # - run: pip install mkdocs-git-committers-plugin-2 - # - run: pip install mkdocs-git-revision-date-localized-plugin - # - run: pip install mkdocs-glightbox - # - run: pip install mkdocs-material - # - run: pip install mkdocs-minify-plugin - # - run: pip install mkdocs-redirects - # - run: pip install mkdocs-swagger-ui-tag - run: mkdocs gh-deploy --force diff --git a/docs/css/extra.css b/docs/css/extra.css index 208bb26..e4f9769 100644 --- a/docs/css/extra.css +++ b/docs/css/extra.css @@ -153,43 +153,22 @@ footer.sponsorship { } :root { - /* --md-admonition-bg-color: transparent; */ --md-admonition-icon--settings: url('data:image/svg+xml;charset=utf-8,'); - /* --md-admonition-bg-color--settings: rgba(218, 10, 100, 0.1); - --md-admonition-icon-color--settings: rgb(250, 66, 241); */ --md-admonition-icon--new: url('data:image/svg+xml;charset=utf-8,'); - /* --md-admonition-bg-color--new: rgba(72, 255, 0, 0.1); - --md-admonition-icon-color--new: rgb(0, 255, 55); */ - --md-admonition-icon--pied-piper: url('data:image/svg+xml;charset=utf-8,') - /* --md-admonition-bg-color--pied-piper: rgba(72, 255, 0, 0.1); - --md-admonition-icon-color--pied-piper: rgb(99, 136, 48); */ -} -.md-typeset .admonition.pied-piper, -.md-typeset details.pied-piper { - border-color: rgb(43, 155, 70); -} -.md-typeset .pied-piper > .admonition-title, -.md-typeset .pied-piper > summary { - background-color: rgba(43, 155, 70, 0.1); -} -.md-typeset .pied-piper > .admonition-title::before, -.md-typeset .pied-piper > summary::before { - background-color: rgb(43, 155, 70); - -webkit-mask-image: var(--md-admonition-icon--pied-piper); - mask-image: var(--md-admonition-icon--pied-piper); + --md-admonition-icon--pied-piper: url('data:image/svg+xml;charset=utf-8,'); } .md-typeset .admonition.new, .md-typeset details.new { - border-color: rgb(0, 255, 55); + border-color: rgb(255, 136, 0); } .md-typeset .new > .admonition-title, .md-typeset .new > summary { - background-color: rgba(72, 255, 0, 0.1); + background-color: rgba(255, 136, 0, 0.1); } .md-typeset .new > .admonition-title::before, .md-typeset .new > summary::before { - background-color: rgb(43, 155, 70); + background-color: rgb(255, 136, 0); -webkit-mask-image: var(--md-admonition-icon--new); mask-image: var(--md-admonition-icon--new); } @@ -200,7 +179,7 @@ footer.sponsorship { } .md-typeset .settings > .admonition-title, .md-typeset .settings > summary { - background-color: rgba(255, 0, 221, 0.1); + background-color: rgba(255, 66, 241, 0.1); } .md-typeset .settings > .admonition-title::before, .md-typeset .settings > summary::before { @@ -209,3 +188,18 @@ footer.sponsorship { mask-image: var(--md-admonition-icon--settings); } +.md-typeset .admonition.pied-piper, +.md-typeset details.pied-piper { + border-color: rgb(43, 155, 70); +} +.md-typeset .pied-piper > .admonition-title, +.md-typeset .pied-piper > summary { + background-color: rgba(43, 155, 70, 0.1); +} +.md-typeset .pied-piper > .admonition-title::before, +.md-typeset .pied-piper > summary::before { + background-color: rgb(43, 155, 70); + -webkit-mask-image: var(--md-admonition-icon--pied-piper); + mask-image: var(--md-admonition-icon--pied-piper); +} + diff --git a/docs/index.md b/docs/index.md index 71719e5..e10d722 100644 --- a/docs/index.md +++ b/docs/index.md @@ -1,5 +1,7 @@ --- template: home.html title: CodePoint -ᴴₒᴴₒᴴₒ: false +social: + cards_layout_options: + title: Documentation that simply works --- diff --git a/docs/learning_resources/CN_Series/preface.md b/docs/learning_resources/CN_Series/preface.md index c19e506..427da82 100644 --- a/docs/learning_resources/CN_Series/preface.md +++ b/docs/learning_resources/CN_Series/preface.md @@ -1,4 +1,4 @@ -???+ success "Coding Ninjas Series (Placement Preparation)" +???+ new "Coding Ninjas Series (Placement Preparation)" ??? tip "Phase 1" ??? abstract "1. Aptitude" ??? Example "1.1. Logical Reasoning" diff --git a/docs/learning_resources/blog/posts/CN.md b/docs/learning_resources/blog/posts/CN.md new file mode 100644 index 0000000..6b62a67 --- /dev/null +++ b/docs/learning_resources/blog/posts/CN.md @@ -0,0 +1,13 @@ +--- +authors: [AkashSingh3031] +categories: + - Core Subjects +comments: true +date: + created: 2023-10-08 + # updated: 2023-10-05 +tags: + - Core Subject + - CN +title: Computer Network +--- diff --git a/docs/learning_resources/blog/posts/DBMS.md b/docs/learning_resources/blog/posts/DBMS.md new file mode 100644 index 0000000..73956d9 --- /dev/null +++ b/docs/learning_resources/blog/posts/DBMS.md @@ -0,0 +1,13 @@ +--- +authors: [AkashSingh3031] +categories: + - Core Subjects +comments: true +date: + created: 2023-10-08 + # updated: 2023-10-05 +tags: + - Core Subject + - DBMS +title: Database Management System +--- diff --git a/mkdocs.yml b/mkdocs.yml index 7521d1c..8a305d6 100644 --- a/mkdocs.yml +++ b/mkdocs.yml @@ -96,6 +96,10 @@ plugins: case: lower categories_slugify_separator: _ categories_toc: true + pagination_format: "$link_first $link_previous ~2~ $link_next $link_last" + pagination_if_single_page: true + pagination_per_page: 5 + pagination_url_format: "page/{page}" post_dir: "{blog}/posts" post_date_format: long post_excerpt: optional @@ -112,22 +116,21 @@ plugins: post_readtime: true post_readtime_words_per_minute: 250 # enabled: !ENV [CodePoint, false] - # - git-authors: - # show_contribution: true - # exclude: - # - index.md - # - preface.md - # - git-committers: - # repository: PrepVerse/CodePoint - # branch: master - # - git-revision-date-localized: - # custom_format: "%-d. %B %Y" - # enabled: !ENV [CodePoint, false] - # enable_creation_date: true - # fallback_to_build_date: true - # locale: en - # timezone: Asia - # type: timeago + - git-authors: + show_contribution: true + exclude: + - index.md + - git-committers: + repository: PrepVerse/CodePoint + branch: master + - git-revision-date-localized: + # custom_format: "%-d. %B %Y" + # enabled: !ENV [CodePoint, false] + enable_creation_date: true + fallback_to_build_date: true + # locale: en + # timezone: Asia + type: timeago # - glightbox # - meta - minify: @@ -236,7 +239,6 @@ markdown_extensions: - pymdownx.inlinehilite - pymdownx.keys - pymdownx.magiclink: - repo_url_shorthand: true repo_url_shorthand: true social_url_shorthand: true social_url_shortener: true diff --git a/requirements.txt b/requirements.txt index e2ad50d..9e85139 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,6 +1,5 @@ lxml mkdocs -mkdocs-git-revision-date-localized-plugin mkdocs-git-authors-plugin mkdocs-git-committers-plugin-2 mkdocs-git-revision-date-localized-plugin