Skip to content

Commit

Permalink
setup basic config
Browse files Browse the repository at this point in the history
  • Loading branch information
iqlal committed Jul 11, 2024
1 parent 68f9d7a commit c078dcd
Show file tree
Hide file tree
Showing 9 changed files with 152 additions and 0 deletions.
27 changes: 27 additions & 0 deletions .github/workflows/build-pages.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
name: build-pages
on:
push:
branches: main
permissions:
contents: write
jobs:
deploy:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Configure Git Credentials
run: |
git config user.name github-actions[bot]
git config user.email 41898282+github-actions[bot]@users.noreply.github.com
- uses: actions/setup-python@v5
with:
python-version: 3.x
- run: echo "cache_id=$(date --utc '+%V')" >> $GITHUB_ENV
- uses: actions/cache@v4
with:
key: mkdocs-material-${{ env.cache_id }}
path: .cache
restore-keys: |
mkdocs-material-
- run: pip install mkdocs-material
- run: mkdocs gh-deploy --force
21 changes: 21 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
# Python virtual environment
.venv/

# Environment files
.env
.venv/
venv/
ENV/

# Node modules for themes or plugins
node_modules/

# IDE specific files
.idea/
.vscode/
*.swp
*.swo

# Operating System files
.DS_Store
Thumbs.db
1 change: 1 addition & 0 deletions docs/administration/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
# Labs Assignment
1 change: 1 addition & 0 deletions docs/index.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
# Halo Nesa! - Basis Data Course
1 change: 1 addition & 0 deletions docs/labs/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
# Labs Assignment
1 change: 1 addition & 0 deletions docs/non-relational/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
# Non-Relational Database
1 change: 1 addition & 0 deletions docs/relational/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
# Relational Database
98 changes: 98 additions & 0 deletions mkdocs.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,98 @@
# Page Information
site_name: Database System - 2024/2025 (odd semester)
site_url: https://iqlal.github.io/basisdata-unesa
site_author: Muhammad Istiqlal
repo_name: iqlal/basisdata-unesa
repo_url: https://github.com/iqlal/basisdata-unesa

# Page Configuration
theme:
name: material
# custom_dir: overrides
palette:
# Light mode
- media: "(prefers-color-scheme: light)"
scheme: default
primary: black
accent: light blue
toggle:
icon: material/toggle-switch-off-outline
name: Switch to dark mode
# Dark mode
- media: "(prefers-color-scheme: dark)"
scheme: slate
primary: black
accent: light blue
toggle:
icon: material/toggle-switch
name: Switch to light mode
font:
text: IBM Plex Sans
code: IBM Plex Mono
favicon:
logo:
features:
- navigation.instant
- navigation.instant.prefetch
- navigation.instant.progress
- navigation.instant.preview
- navigation.tracking
- navigation.tabs
- navigation.tabs.sticky
- navigation.sections
- navigation.expand
- navigation.path
- navigation.indexes
- navigation.top
- navigation.footer
- toc.extend
- toc.follow
- content.code.copy
- content.code.select
- content.code.annotate
- content.tabs.link
# - content.action.edit
# - content.action.view
- search.suggest
- search.highlight
- search.share

plugins:
- search

# Extension
markdown_extensions:
- admonition
- pymdownx.details
- pymdownx.superfences
- pymdownx.highlight:
anchor_linenums: true
line_spans: __span
pygments_lang_class: true
- pymdownx.inlinehilite
- pymdownx.snippets
- def_list
- pymdownx.tasklist:
custom_checkbox: true
- attr_list
- md_in_html
- pymdownx.emoji:
emoji_index: !!python/name:material.extensions.emoji.twemoji
emoji_generator:
!!python/name:material.extensions.emoji.to_svg # Page Navigation


nav:
- Home: "index.md"

- Relational Database:
- Relational Database: "operating-system/README.md"

- Non-Relational Database:
- Non-Relational Database: "infrastructure-as-code/README.md"

- Database Administration:
- Database Administration: "containerization/README.md"

- Labs Assignment:
- Labs Assignment: "kubernetes/README.md"
1 change: 1 addition & 0 deletions requirement.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
mkdocs-material

0 comments on commit c078dcd

Please sign in to comment.