Migrated to Svelty-y Bookish.

This commit is contained in:
Amy J. Ko 2023-02-09 14:10:02 -08:00
parent 098ba58fad
commit 380348e73d
49 changed files with 1670 additions and 4309 deletions

3
.gitignore vendored
View file

@ -1,3 +1,4 @@
.DS_Store
.vscode/
.vscode/
build

View file

@ -1,6 +0,0 @@
<!DOCTYPE html>
<html>
<head>
<meta http-equiv="refresh" content="0; URL=https://faculty.washington.edu/ajko/books/cooperative-software-development/#/architecture" />
</head>
</html>

2740
book.json

File diff suppressed because it is too large Load diff

File diff suppressed because one or more lines are too long

3040
bookish.js

File diff suppressed because one or more lines are too long

View file

@ -1,6 +0,0 @@
<!DOCTYPE html>
<html>
<head>
<meta http-equiv="refresh" content="0; URL=https://faculty.washington.edu/ajko/books/cooperative-software-development/#/communication" />
</head>
</html>

View file

@ -1,6 +0,0 @@
<!DOCTYPE html>
<html>
<head>
<meta http-equiv="refresh" content="0; URL=https://faculty.washington.edu/ajko/books/cooperative-software-development/#/comprehension" />
</head>
</html>

View file

@ -1,6 +0,0 @@
<!DOCTYPE html>
<html>
<head>
<meta http-equiv="refresh" content="0; URL=https://faculty.washington.edu/ajko/books/cooperative-software-development/#/debugging" />
</head>
</html>

View file

@ -1 +0,0 @@
ssh ajko@ovid.u.washington.edu "cd public_html/books/cooperative-software-development && git pull"

View file

@ -1,6 +0,0 @@
<!DOCTYPE html>
<html>
<head>
<meta http-equiv="refresh" content="0; URL=https://faculty.washington.edu/ajko/books/cooperative-software-development/#/evolution" />
</head>
</html>

View file

@ -1,6 +0,0 @@
<!DOCTYPE html>
<html>
<head>
<meta http-equiv="refresh" content="0; URL=https://faculty.washington.edu/ajko/books/cooperative-software-development/#/history" />
</head>
</html>

Binary file not shown.

Before

Width:  |  Height:  |  Size: 52 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 10 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 28 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 10 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 72 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 41 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 29 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 25 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 113 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 22 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 30 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 25 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 32 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 20 KiB

View file

@ -1,83 +0,0 @@
<!DOCTYPE html>
<html lang="en">
<head>
<base href="/ajko/books/cooperative-software-development/">
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
<meta property="og:title" content="Cooperative Software Development">
<meta property="og:image" content="https://faculty.washington.edu/ajko/books/cooperative-software-development/images/cover.jpg" />
<meta property="og:description" content="A textbook teaching human and cooperative aspects of software engineering." />
<meta property="og:url" content="https://faculty.washington.edu/ajko/cooperative-software-development">
<meta name="twitter:card" content="summary_large_image">
<!-- Bookish -->
<script src="bookish.js" defer></script>
<link rel="stylesheet" href="bookish.css">
<!-- Theme -->
<style>
@import url('https://fonts.googleapis.com/css2?family=Bebas+Neue&family=Roboto:ital,wght@0,300;0,500;1,300&display=swap');
:root {
/* Background colors */
--bookish-background-color: #FFFFFF;
--bookish-block-background-color: #FCFAFA;
/* Border colors */
--bookish-border-color-light: #E0E0E0;
--bookish-border-color-bold: #000000;
/* Foreground colors */
--bookish-paragraph-color: #000000;
--bookish-highlight-color: #bb4242;
--bookish-link-color: #bb4242;
--bookish-bullet-color: #bb4242;
/* Fonts */
--bookish-paragraph-font-family: "Roboto", serif;
--bookish-header-font-family: "Bebas Neue", serif;
--bookish-bullet-font-family: "Courier New", monospace;
/* Font weights */
--bookish-paragraph-font-weight: 300;
--bookish-bold-font-weight: 500;
--bookish-link-font-weight: 300;
/* Line heights */
--bookish-paragraph-line-height: 2rem;
--bookish-header-line-height: 1.3em;
}
.bookish-dark {
--bookish-paragraph-color: #DADADA;
--bookish-highlight-color: #b36363;
--bookish-link-color: #b36363;
--bookish-bullet-color: #b36363;
}
</style>
</head>
<body>
<script type="text/javascript">
var _gaq = _gaq || [];
_gaq.push(['_setAccount', 'UA-10917999-1']);
_gaq.push(['_trackPageview']);
(function() {
var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
})();
</script>
<body>
</html>

View file

@ -1,6 +0,0 @@
<!DOCTYPE html>
<html>
<head>
<meta http-equiv="refresh" content="0; URL=https://faculty.washington.edu/ajko/books/cooperative-software-development/#/monitoring" />
</head>
</html>

View file

@ -1,6 +0,0 @@
<!DOCTYPE html>
<html>
<head>
<meta http-equiv="refresh" content="0; URL=https://faculty.washington.edu/ajko/books/cooperative-software-development/#/organizations" />
</head>
</html>

View file

@ -1,6 +0,0 @@
<!DOCTYPE html>
<html>
<head>
<meta http-equiv="refresh" content="0; URL=https://faculty.washington.edu/ajko/books/cooperative-software-development/#/process" />
</head>
</html>

View file

@ -1,6 +0,0 @@
<!DOCTYPE html>
<html>
<head>
<meta http-equiv="refresh" content="0; URL=https://faculty.washington.edu/ajko/books/cooperative-software-development/#/productivity" />
</head>
</html>

27
publish.sh Executable file
View file

@ -0,0 +1,27 @@
#!/bin/zsh
# Exit when commands fail.
set -e
# Delete the reader if it's sitting around.
if [ -d "bookish-reader" ]
then
rm -rf bookish-reader
fi
# Clone the reader.
git clone https://github.com/amyjko/bookish-reader
cd bookish-reader
# Bind the book, moving the build here.
zsh bind.sh
if [ "$1" = "preview" ]
then
npx vite preview
else
# Back to root
cd ..
# Delete the reader
rm -rf bookish-reader
# Copy the .htaccess file to the build
cp .htaccess build
# Sync the build folder to the hosting folder
rsync -vzripc --delete build/ ajko@ovid.u.washington.edu:~/public_html/books/cooperative-software-development
fi

View file

@ -1,6 +0,0 @@
<!DOCTYPE html>
<html>
<head>
<meta http-equiv="refresh" content="0; URL=https://faculty.washington.edu/ajko/books/cooperative-software-development/#/quality" />
</head>
</html>

View file

@ -1,6 +0,0 @@
<!DOCTYPE html>
<html>
<head>
<meta http-equiv="refresh" content="0; URL=https://faculty.washington.edu/ajko/books/cooperative-software-development/#/requirements" />
</head>
</html>

View file

@ -1,6 +0,0 @@
<!DOCTYPE html>
<html>
<head>
<meta http-equiv="refresh" content="0; URL=https://faculty.washington.edu/ajko/books/cooperative-software-development/#/specifications" />
</head>
</html>

View file

@ -1,6 +0,0 @@
<!DOCTYPE html>
<html>
<head>
<meta http-equiv="refresh" content="0; URL=https://faculty.washington.edu/ajko/books/cooperative-software-development/#/verification" />
</head>
</html>