Skip to content

Commit c804532

Browse files
committed
Bump Theme 5.18
1 parent 051a27e commit c804532

File tree

51 files changed

+144
-253
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

51 files changed

+144
-253
lines changed

.github/workflows/gh-pages.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ jobs:
2222
- name: Setup Hugo
2323
uses: peaceiris/actions-hugo@v2
2424
with:
25-
hugo-version: '0.101.0'
25+
hugo-version: '0.117.0'
2626
# extended: true
2727

2828
- name: Build

.gitlab-ci.yml

Lines changed: 43 additions & 43 deletions
Original file line numberDiff line numberDiff line change
@@ -1,50 +1,50 @@
1-
image: docker:20.10.11
1+
# image: docker:20.10.11
22

3-
variables:
4-
# When using dind service, you must instruct docker to talk with the
5-
# daemon started inside of the service. The daemon is available with
6-
# a network connection instead of the default /var/run/docker.sock socket.
7-
#
8-
# The 'docker' hostname is the alias of the service container as described at
9-
# https://docs.gitlab.com/ee/ci/docker/using_docker_images.html#accessing-the-services
10-
#
11-
# If you're using GitLab Runner 12.7 or earlier with the Kubernetes executor and Kubernetes 1.6 or earlier,
12-
# the variable must be set to tcp://localhost:2375 because of how the
13-
# Kubernetes executor connects services to the job container
14-
# DOCKER_HOST: tcp://localhost:2375
15-
#
16-
DOCKER_HOST: tcp://docker:2375
17-
#
18-
# This instructs Docker not to start over TLS.
19-
DOCKER_TLS_CERTDIR: ""
20-
#
21-
# Checkout submodules recursively
22-
GIT_SUBMODULE_STRATEGY: recursive
3+
# variables:
4+
# # When using dind service, you must instruct docker to talk with the
5+
# # daemon started inside of the service. The daemon is available with
6+
# # a network connection instead of the default /var/run/docker.sock socket.
7+
# #
8+
# # The 'docker' hostname is the alias of the service container as described at
9+
# # https://docs.gitlab.com/ee/ci/docker/using_docker_images.html#accessing-the-services
10+
# #
11+
# # If you're using GitLab Runner 12.7 or earlier with the Kubernetes executor and Kubernetes 1.6 or earlier,
12+
# # the variable must be set to tcp://localhost:2375 because of how the
13+
# # Kubernetes executor connects services to the job container
14+
# # DOCKER_HOST: tcp://localhost:2375
15+
# #
16+
# DOCKER_HOST: tcp://docker:2375
17+
# #
18+
# # This instructs Docker not to start over TLS.
19+
# DOCKER_TLS_CERTDIR: ""
20+
# #
21+
# # Checkout submodules recursively
22+
# GIT_SUBMODULE_STRATEGY: recursive
2323

24-
services:
25-
- docker:20.10.11-dind
24+
# services:
25+
# - docker:20.10.11-dind
2626

27-
before_script:
28-
- docker info
29-
- docker login -u $CI_REGISTRY_USER -p $CI_REGISTRY_PASSWORD $CI_REGISTRY
27+
# before_script:
28+
# - docker info
29+
# - docker login -u $CI_REGISTRY_USER -p $CI_REGISTRY_PASSWORD $CI_REGISTRY
3030

31-
build-latest:
32-
stage: build
33-
only:
34-
- tags
35-
script:
36-
- docker pull $CI_REGISTRY_IMAGE:latest || true
37-
- docker build --cache-from $CI_REGISTRY_IMAGE:latest --tag $CI_REGISTRY_IMAGE:$CI_COMMIT_SHA --tag $CI_REGISTRY_IMAGE:latest .
38-
- docker push $CI_REGISTRY_IMAGE:$CI_COMMIT_SHA
39-
- docker push $CI_REGISTRY_IMAGE:latest
40-
41-
# build-branches:
31+
# build-latest:
4232
# stage: build
43-
# except:
44-
# - master
45-
# - main
33+
# only:
34+
# - tags
4635
# script:
47-
# - docker pull $CI_REGISTRY_IMAGE:$CI_COMMIT_BRANCH || true
48-
# - docker build --cache-from $CI_REGISTRY_IMAGE:latest --tag $CI_REGISTRY_IMAGE:$CI_COMMIT_SHA --tag $CI_REGISTRY_IMAGE:$CI_COMMIT_BRANCH .
36+
# - docker pull $CI_REGISTRY_IMAGE:latest || true
37+
# - docker build --cache-from $CI_REGISTRY_IMAGE:latest --tag $CI_REGISTRY_IMAGE:$CI_COMMIT_SHA --tag $CI_REGISTRY_IMAGE:latest .
4938
# - docker push $CI_REGISTRY_IMAGE:$CI_COMMIT_SHA
50-
# - docker push $CI_REGISTRY_IMAGE:$CI_COMMIT_BRANCH
39+
# - docker push $CI_REGISTRY_IMAGE:latest
40+
41+
# # build-branches:
42+
# # stage: build
43+
# # except:
44+
# # - master
45+
# # - main
46+
# # script:
47+
# # - docker pull $CI_REGISTRY_IMAGE:$CI_COMMIT_BRANCH || true
48+
# # - docker build --cache-from $CI_REGISTRY_IMAGE:latest --tag $CI_REGISTRY_IMAGE:$CI_COMMIT_SHA --tag $CI_REGISTRY_IMAGE:$CI_COMMIT_BRANCH .
49+
# # - docker push $CI_REGISTRY_IMAGE:$CI_COMMIT_SHA
50+
# # - docker push $CI_REGISTRY_IMAGE:$CI_COMMIT_BRANCH

Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ FROM nginx:alpine as build
33
RUN apk add --update \
44
wget
55

6-
ARG HUGO_VERSION="0.101.0"
6+
ARG HUGO_VERSION="0.117.0"
77
RUN wget --quiet "https://github.com/gohugoio/hugo/releases/download/v${HUGO_VERSION}/hugo_${HUGO_VERSION}_Linux-64bit.tar.gz" && \
88
tar xzf hugo_${HUGO_VERSION}_Linux-64bit.tar.gz && \
99
rm -r hugo_${HUGO_VERSION}_Linux-64bit.tar.gz && \

config.toml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ theme = ["hugo-theme-relearn"]
2020
# TELE - Teleprompter
2121
# EMBED - Embeddable Version
2222
[outputs]
23-
home = ["HTML", "RSS", "PRINT", "JSON"]
23+
home = ["HTML", "RSS", "PRINT", "SEARCH", "SEARCHPAGE"]
2424
section = ["HTML", "RSS", "PRINT", "TELE", "EMBED"]
2525
page = ["HTML", "RSS", "PRINT", "TELE", "EMBED"]
2626

@@ -87,7 +87,9 @@ theme = ["hugo-theme-relearn"]
8787
# this can be overridden in the pages frontmatter
8888
ordersectionsby = "weight"
8989
# Change default color scheme with a variant one. Eg. can be "red", "blue", "green" or an array like [ "blue", "green" ].
90-
themeVariant = ["light-theme", "dark-theme"]
90+
themeVariant = ["auto", "light-theme", "dark-theme"]
91+
# The first element is the variant for light mode, the second for dark mode
92+
themeVariantAuto = ["light-theme", "dark-theme"]
9193
# Change the title separator. Default to "::".
9294
# titleSeparator = "-"
9395
# If set to true, the menu in the sidebar will be displayed in a collapsible tree view.
Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,12 @@
11
+++
2-
title = "HS Introduction"
2+
title = "High School Introduction"
33
weight = 6
4-
chapter = true
4+
archetype = "chapter"
5+
ordinal = "0"
56
pre = "<b>0. </b>"
67
hidden = true
78
noprint = true
89
+++
910

10-
### Chapter 0
11-
12-
# High School Introduction
1311

1412
Welcome to the Computer Science Introductory course!

content/00-introduction/_index.md

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2,12 +2,9 @@
22
title = "Introduction"
33
date = 2018-08-24T10:53:05-05:00
44
weight = 5
5-
chapter = true
5+
archetype = "chapter"
6+
ordinal = "0"
67
pre = "<b>0. </b>"
78
+++
89

9-
### Chapter 0
10-
11-
# Introduction
12-
1310
Welcome to the Computer Science Introductory course!
Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,11 @@
11
+++
22
title = "Trial Introduction"
33
weight = 7
4-
chapter = true
4+
archetype = "chapter"
55
pre = "<b>0. </b>"
6+
ordinal = "0"
67
hidden = true
78
noprint = true
89
+++
910

10-
### Chapter 0
11-
12-
# Trial Introduction
13-
1411
Welcome to the Computational Core Trial Course!

content/_index.md

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,7 @@
11
+++
2-
title = "Homepage"
3-
date = 2021-05-24T01:01:01-05:00
2+
title = "Intro CS Textbook"
3+
archetype = "home"
44
+++
55

6-
# CC 110 Textbook
76

8-
This is the textbook for CC 110.
7+
This is the textbook for Intro to CS.

content/i-concepts/01-what-is-computing-science/_index.md

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,13 +2,11 @@
22
title = "What is Computing Science?"
33
date = 2020-08-10T16:23:05-05:00
44
weight = 100
5-
chapter = true
5+
archetype = "chapter"
6+
ordinal = "1"
67
pre = "<b>1. </b>"
78
+++
89

9-
### Chapter 1
10-
11-
# What is Computing Science?
1210

1311
In this module, we will dissect what computing science really is. To do this we will step back in time to determine what the motivation was for computing machines, the products of those needs, and
1412

content/i-concepts/02-early-computing-machines/_index.md

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,12 +2,10 @@
22
title = "Early Computing Machines"
33
date = 2020-08-10T16:23:05-05:00
44
weight = 200
5-
chapter = true
5+
archetype = "chapter"
6+
ordinal = "2"
67
pre = "<b>2. </b>"
78
+++
89

9-
### Chapter 2
10-
11-
# Early Computing Machines
1210

1311
![Antikythera Mechanism](https://upload.wikimedia.org/wikipedia/commons/thumb/6/66/NAMA_Machine_d%27Anticyth%C3%A8re_1.jpg/673px-NAMA_Machine_d%27Anticyth%C3%A8re_1.jpg)

0 commit comments

Comments
 (0)