Permalink
Show file tree
Hide file tree
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Basic repo for chromebook info
- Loading branch information
James Shuttleworth
committed
Aug 16, 2021
1 parent
6b3f3ea
commit c56420be71d93d2a45ff10d65bc0e2f2965a1e90
Showing
10 changed files
with
153 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
*~ | ||
/venv/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,37 @@ | ||
INVENV = $(shell pip3 -V | grep 'venv') | ||
current_dir = $(shell pwd) | ||
MKDOCS_PORT=8008 | ||
|
||
|
||
build: | ||
# cd docs/assessment/cw1 && remarkable -d ../ -t cwTemplate.jinja2 cw1_brief.md | ||
# cd docs/assessment/cw2 && remarkable -d ../ -t cwTemplate.jinja2 cw2_brief.md | ||
# cd docs/assessment/resit && remarkable -d ../ -t cwTemplate.jinja2 cw1_resit_brief.md && remarkable -d ../ -t cwTemplate.jinja2 cw2_resit_brief.md | ||
|
||
mkdocs build --clean | ||
|
||
serve: | ||
mkdocs serve --dev-addr localhost:$(MKDOCS_PORT) | ||
|
||
publish: | ||
mkdocs gh-deploy --config-file ./mkdocs.yml --remote-branch gh-pages | ||
|
||
clean: | ||
rm -rf ./site | ||
|
||
|
||
prereqs: venvcheck FORCE | ||
pip install -r requirements.txt | ||
#cd reMarkAble && python setup.py install | ||
venv: FORCE | ||
python3 -m venv venv | ||
|
||
venvcheck: | ||
ifeq ($(INVENV),) | ||
$(error You should only run this from within the venv. Use '. ./venv/bin/activate') | ||
else | ||
@echo "venv check passed\n" | ||
endif | ||
|
||
|
||
FORCE: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,52 @@ | ||
@import url("https://fonts.googleapis.com/css2?family=Share+Tech+Mono&display=swap"); | ||
.md-header, .md-footer{ | ||
|
||
background: rgb(234,243,246); | ||
background: linear-gradient(0deg, rgba(134,143,146) 0%, rgba(191,193,165) 100%); | ||
color: #000; | ||
|
||
} | ||
|
||
.md-header img{ | ||
|
||
box-shadow: 0 0 5px #555; | ||
} | ||
|
||
.codetitle, .codetitle code{ | ||
background: #ccc; | ||
color: #333; | ||
} | ||
|
||
.codetitle a{ | ||
color: #00f; | ||
margin: 0px 1em; | ||
} | ||
|
||
.codeblock{ | ||
padding:1em; | ||
border: 1px solid #333; | ||
} | ||
|
||
.dlbtn{ | ||
float:right; | ||
} | ||
|
||
|
||
img[src*="#screenshot"], pre.terminal{ | ||
-webkit-box-shadow: 10px 10px 23px 0px rgba(0,0,0,0.38); | ||
-moz-box-shadow: 10px 10px 23px 0px rgba(0,0,0,0.38); | ||
box-shadow: 10px 10px 23px 0px rgba(0,0,0,0.38); | ||
border: #931 1px solid; | ||
|
||
} | ||
|
||
|
||
pre.terminal{ | ||
padding:1ex; | ||
color: #EEEECC; | ||
background: #110; | ||
font-family: 'Share Tech Mono', monospace; | ||
font-size: 12pt; | ||
} | ||
|
||
|
BIN
+15.1 KB
docs/images/logo_col.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
BIN
+2.33 KB
docs/images/logo_ico.jpg
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
# Chromebook stuff |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
# Powerwashing |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
# First-time setup |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,48 @@ | ||
site_name: 'CUEH Chromebook Repo' | ||
|
||
nav: | ||
- Home: index.md | ||
- 'First-time setup': 'setup.md' | ||
- 'Powerwashing': 'powerwash.md' | ||
|
||
markdown_extensions: | ||
- codehilite | ||
- admonition | ||
- pymdownx.details | ||
- pymdownx.superfences | ||
- pymdownx.emoji: | ||
emoji_index: !!python/name:materialx.emoji.twemoji | ||
emoji_generator: !!python/name:materialx.emoji.to_svg | ||
- pymdownx.keys | ||
- footnotes | ||
- mdx_math | ||
plugins: | ||
- search | ||
- macros | ||
|
||
|
||
extra: | ||
# codelink: 'https://github.coventry.ac.uk/pages/CUEH/py-quickstart' | ||
# codelink: 'http://localhost:8000' | ||
draft: 1 | ||
year: '2021/22' | ||
|
||
|
||
|
||
theme: | ||
name: material | ||
palette: | ||
scheme: preference | ||
logo: 'images/logo_ico.jpg' | ||
#custom_dir: custom_theme | ||
favicon: images/logo_ico.jpg | ||
extra_css: | ||
#- css/mk_ultra.css | ||
- css/extra.css | ||
|
||
|
||
extra_javascript: | ||
- https://cdnjs.cloudflare.com/ajax/libs/mathjax/2.7.0/MathJax.js?config=TeX-AMS-MML_HTMLorMML | ||
- https://polyfill.io/v3/polyfill.min.js?features=es6 | ||
- https://cdn.jsdelivr.net/npm/mathjax@3/es5/tex-mml-chtml.js | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
mkdocs>=0.17.1 | ||
mkdocs-markdownextradata-plugin | ||
mkdocs-material | ||
markdown-blockdiag | ||
WeasyPrint | ||
mkdocs-pdf-export-plugin | ||
mkdocs-macros-plugin | ||
mkdocs-windmill | ||
pdoc3 | ||
markdown | ||
python-markdown-math |