Skip to content

Commit

Permalink
Merge pull request #1 from PREPONDERANCE/dev
Browse files Browse the repository at this point in the history
Basic Settings
  • Loading branch information
PREPONDERANCE authored Aug 31, 2024
2 parents 80940d4 + d611d74 commit 5072891
Show file tree
Hide file tree
Showing 4 changed files with 98 additions and 0 deletions.
30 changes: 30 additions & 0 deletions .github/workflows/deploy_docs.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
name: deploy_docs
on:
push:
branches:
- master
- 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
working-directory: ./notes
Binary file added notes/docs/assets/logo.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
19 changes: 19 additions & 0 deletions notes/docs/index.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
# CS231n Notes

## Introduction

This repository will hold notes on [CS231n course](https://cs231n.stanford.edu/schedule.html).

## Project Layout

```bash
.
├─ assignments/
│ └─ assignment1
│ └─ assignment2
│ └─ assignment3
├─ docs/
│ └─ content
│ └─ index.md
└─ mkdocs.yml
```
49 changes: 49 additions & 0 deletions notes/mkdocs.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,49 @@
site_name: CS231n
repo_url: https://github.com/PREPONDERANCE/CS231n
repo_name: CS231n Notes

markdown_extensions:
- pymdownx.highlight:
anchor_linenums: true
line_spans: __span
pygments_lang_class: true
- pymdownx.arithmatex:
generic: true
- pymdownx.inlinehilite
- pymdownx.snippets
- pymdownx.superfences
- attr_list
- md_in_html

extra_javascript:
- https://unpkg.com/mathjax@3/es5/tex-mml-chtml.js

theme:
name: material
favicon: assets/logo.jpg
features:
- search.share
- search.suggest
- navigation.footer
- content.code.copy
- content.code.annotate
palette:
- media: "(prefers-color-scheme)"
primary: indigo
toggle:
icon: material/brightness-auto
name: Switch to light mode

- media: "(prefers-color-scheme: light)"
scheme: default
primary: indigo
toggle:
icon: material/weather-sunny
name: Switch to dark mode

- media: "(prefers-color-scheme: dark)"
scheme: slate
primary: black
toggle:
icon: material/weather-night
name: Switch to light mode

0 comments on commit 5072891

Please sign in to comment.