Skip to content

Commit

Permalink
Added Created & Last update time on bottom
Browse files Browse the repository at this point in the history
  • Loading branch information
Akash Singh committed Oct 8, 2023
1 parent 5e2d31e commit c06332f
Show file tree
Hide file tree
Showing 8 changed files with 69 additions and 55 deletions.
9 changes: 0 additions & 9 deletions .github/workflows/codepoint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
46 changes: 20 additions & 26 deletions docs/css/extra.css
Original file line number Diff line number Diff line change
Expand Up @@ -153,43 +153,22 @@ footer.sponsorship {
}

:root {
/* --md-admonition-bg-color: transparent; */
--md-admonition-icon--settings: url('data:image/svg+xml;charset=utf-8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M12 15.5A3.5 3.5 0 0 1 8.5 12 3.5 3.5 0 0 1 12 8.5a3.5 3.5 0 0 1 3.5 3.5 3.5 3.5 0 0 1-3.5 3.5m7.43-2.53c.04-.32.07-.64.07-.97 0-.33-.03-.66-.07-1l2.11-1.63c.19-.15.24-.42.12-.64l-2-3.46c-.12-.22-.39-.31-.61-.22l-2.49 1c-.52-.39-1.06-.73-1.69-.98l-.37-2.65A.506.506 0 0 0 14 2h-4c-.25 0-.46.18-.5.42l-.37 2.65c-.63.25-1.17.59-1.69.98l-2.49-1c-.22-.09-.49 0-.61.22l-2 3.46c-.13.22-.07.49.12.64L4.57 11c-.04.34-.07.67-.07 1 0 .33.03.65.07.97l-2.11 1.66c-.19.15-.25.42-.12.64l2 3.46c.12.22.39.3.61.22l2.49-1.01c.52.4 1.06.74 1.69.99l.37 2.65c.04.24.25.42.5.42h4c.25 0 .46-.18.5-.42l.37-2.65c.63-.26 1.17-.59 1.69-.99l2.49 1.01c.22.08.49 0 .61-.22l2-3.46c.12-.22.07-.49-.12-.64l-2.11-1.66Z"/></svg>');
/* --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,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="m23 12-2.44-2.78.34-3.68-3.61-.82-1.89-3.18L12 3 8.6 1.54 6.71 4.72l-3.61.81.34 3.68L1 12l2.44 2.78-.34 3.69 3.61.82 1.89 3.18L12 21l3.4 1.46 1.89-3.18 3.61-.82-.34-3.68L23 12m-10 5h-2v-2h2v2m0-4h-2V7h2v6Z"/></svg>');
/* --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,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 576 512"><path d="M244 246c-3.2-2-6.3-2.9-10.1-2.9-6.6 0-12.6 3.2-19.3 3.7l1.7 4.9zm135.9 197.9c-19 0-64.1 9.5-79.9 19.8l6.9 45.1c35.7 6.1 70.1 3.6 106-9.8-4.8-10-23.5-55.1-33-55.1zM340.8 177c6.6 2.8 11.5 9.2 22.7 22.1 2-1.4 7.5-5.2 7.5-8.6 0-4.9-11.8-13.2-13.2-23 11.2-5.7 25.2-6 37.6-8.9 68.1-16.4 116.3-52.9 146.8-116.7C548.3 29.3 554 16.1 554.6 2l-2 2.6c-28.4 50-33 63.2-81.3 100-31.9 24.4-69.2 40.2-106.6 54.6l-6.3-.3v-21.8c-19.6 1.6-19.7-14.6-31.6-23-18.7 20.6-31.6 40.8-58.9 51.1-12.7 4.8-19.6 10-25.9 21.8 34.9-16.4 91.2-13.5 98.8-10zM555.5 0l-.6 1.1-.3.9.6-.6zm-59.2 382.1c-33.9-56.9-75.3-118.4-150-115.5l-.3-6c-1.1-13.5 32.8 3.2 35.1-31l-14.4 7.2c-19.8-45.7-8.6-54.3-65.5-54.3-14.7 0-26.7 1.7-41.4 4.6 2.9 18.6 2.2 36.7-10.9 50.3l19.5 5.5c-1.7 3.2-2.9 6.3-2.9 9.8 0 21 42.8 2.9 42.8 33.6 0 18.4-36.8 60.1-54.9 60.1-8 0-53.7-50-53.4-60.1l.3-4.6 52.3-11.5c13-2.6 12.3-22.7-2.9-22.7-3.7 0-43.1 9.2-49.4 10.6-2-5.2-7.5-14.1-13.8-14.1-3.2 0-6.3 3.2-9.5 4-9.2 2.6-31 2.9-21.5 20.1L15.9 298.5c-5.5 1.1-8.9 6.3-8.9 11.8 0 6 5.5 10.9 11.5 10.9 8 0 131.3-28.4 147.4-32.2 2.6 3.2 4.6 6.3 7.8 8.6 20.1 14.4 59.8 85.9 76.4 85.9 24.1 0 58-22.4 71.3-41.9 3.2-4.3 6.9-7.5 12.4-6.9.6 13.8-31.6 34.2-33 43.7-1.4 10.2-1 35.2-.3 41.1 26.7 8.1 52-3.6 77.9-2.9 4.3-21 10.6-41.9 9.8-63.5l-.3-9.5c-1.4-34.2-10.9-38.5-34.8-58.6-1.1-1.1-2.6-2.6-3.7-4 2.2-1.4 1.1-1 4.6-1.7 88.5 0 56.3 183.6 111.5 229.9 33.1-15 72.5-27.9 103.5-47.2-29-25.6-52.6-45.7-72.7-79.9zm-196.2 46.1v27.2l11.8-3.4-2.9-23.8zm-68.7-150.4l24.1 61.2 21-13.8-31.3-50.9zm84.4 154.9l2 12.4c9-1.5 58.4-6.6 58.4-14.1 0-1.4-.6-3.2-.9-4.6-26.8 0-36.9 3.8-59.5 6.3z"/></svg>')
/* --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,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 576 512"><path d="M244 246c-3.2-2-6.3-2.9-10.1-2.9-6.6 0-12.6 3.2-19.3 3.7l1.7 4.9zm135.9 197.9c-19 0-64.1 9.5-79.9 19.8l6.9 45.1c35.7 6.1 70.1 3.6 106-9.8-4.8-10-23.5-55.1-33-55.1zM340.8 177c6.6 2.8 11.5 9.2 22.7 22.1 2-1.4 7.5-5.2 7.5-8.6 0-4.9-11.8-13.2-13.2-23 11.2-5.7 25.2-6 37.6-8.9 68.1-16.4 116.3-52.9 146.8-116.7C548.3 29.3 554 16.1 554.6 2l-2 2.6c-28.4 50-33 63.2-81.3 100-31.9 24.4-69.2 40.2-106.6 54.6l-6.3-.3v-21.8c-19.6 1.6-19.7-14.6-31.6-23-18.7 20.6-31.6 40.8-58.9 51.1-12.7 4.8-19.6 10-25.9 21.8 34.9-16.4 91.2-13.5 98.8-10zM555.5 0l-.6 1.1-.3.9.6-.6zm-59.2 382.1c-33.9-56.9-75.3-118.4-150-115.5l-.3-6c-1.1-13.5 32.8 3.2 35.1-31l-14.4 7.2c-19.8-45.7-8.6-54.3-65.5-54.3-14.7 0-26.7 1.7-41.4 4.6 2.9 18.6 2.2 36.7-10.9 50.3l19.5 5.5c-1.7 3.2-2.9 6.3-2.9 9.8 0 21 42.8 2.9 42.8 33.6 0 18.4-36.8 60.1-54.9 60.1-8 0-53.7-50-53.4-60.1l.3-4.6 52.3-11.5c13-2.6 12.3-22.7-2.9-22.7-3.7 0-43.1 9.2-49.4 10.6-2-5.2-7.5-14.1-13.8-14.1-3.2 0-6.3 3.2-9.5 4-9.2 2.6-31 2.9-21.5 20.1L15.9 298.5c-5.5 1.1-8.9 6.3-8.9 11.8 0 6 5.5 10.9 11.5 10.9 8 0 131.3-28.4 147.4-32.2 2.6 3.2 4.6 6.3 7.8 8.6 20.1 14.4 59.8 85.9 76.4 85.9 24.1 0 58-22.4 71.3-41.9 3.2-4.3 6.9-7.5 12.4-6.9.6 13.8-31.6 34.2-33 43.7-1.4 10.2-1 35.2-.3 41.1 26.7 8.1 52-3.6 77.9-2.9 4.3-21 10.6-41.9 9.8-63.5l-.3-9.5c-1.4-34.2-10.9-38.5-34.8-58.6-1.1-1.1-2.6-2.6-3.7-4 2.2-1.4 1.1-1 4.6-1.7 88.5 0 56.3 183.6 111.5 229.9 33.1-15 72.5-27.9 103.5-47.2-29-25.6-52.6-45.7-72.7-79.9zm-196.2 46.1v27.2l11.8-3.4-2.9-23.8zm-68.7-150.4l24.1 61.2 21-13.8-31.3-50.9zm84.4 154.9l2 12.4c9-1.5 58.4-6.6 58.4-14.1 0-1.4-.6-3.2-.9-4.6-26.8 0-36.9 3.8-59.5 6.3z"/></svg>');
}

.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);
}
Expand All @@ -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 {
Expand All @@ -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);
}

4 changes: 3 additions & 1 deletion docs/index.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
---
template: home.html
title: CodePoint
ᴴₒᴴₒᴴₒ: false
social:
cards_layout_options:
title: Documentation that simply works
---
2 changes: 1 addition & 1 deletion docs/learning_resources/CN_Series/preface.md
Original file line number Diff line number Diff line change
@@ -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"
Expand Down
13 changes: 13 additions & 0 deletions docs/learning_resources/blog/posts/CN.md
Original file line number Diff line number Diff line change
@@ -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
---
13 changes: 13 additions & 0 deletions docs/learning_resources/blog/posts/DBMS.md
Original file line number Diff line number Diff line change
@@ -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
---
36 changes: 19 additions & 17 deletions mkdocs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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:
Expand Down Expand Up @@ -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
Expand Down
1 change: 0 additions & 1 deletion requirements.txt
Original file line number Diff line number Diff line change
@@ -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
Expand Down

0 comments on commit c06332f

Please sign in to comment.