diff --git a/.github/workflows/htmlproofer.yml b/.github/workflows/htmlproofer.yml
deleted file mode 100644
index b64aa1a..0000000
--- a/.github/workflows/htmlproofer.yml
+++ /dev/null
@@ -1,32 +0,0 @@
-name: HTMLProofer (links)
-
-on:
- pull_request:
- branches: [ "master" ]
-
-jobs:
- test:
- runs-on: ubuntu-latest
- steps:
- - name: Checkout
- uses: actions/checkout@v4
-
- - name: Setup Ruby
- uses: ruby/setup-ruby@v1
- with:
- ruby-version: '3.2'
- bundler-cache: true
-
- - name: Build site
- run: |
- bundle install --jobs 4 --retry 3
- bundle exec jekyll build --trace
-
- - name: Run HTMLProofer
- run: |
- bundle exec htmlproofer ./_site \
- --disable-external \
- --enforce_https \
- --check_html \
- --check_favicon
-
diff --git a/_includes/head.html b/_includes/head.html
index 3257d1d..722d32e 100644
--- a/_includes/head.html
+++ b/_includes/head.html
@@ -5,6 +5,12 @@
{% seo %}
+
+
+
+
+
+
{% feed_meta %}
diff --git a/_sass/_base.scss b/_sass/_base.scss
index d0cc6f9..89c38ac 100644
--- a/_sass/_base.scss
+++ b/_sass/_base.scss
@@ -131,7 +131,9 @@ code {
font-size: 15px;
border: 1px solid $grey-color-light;
border-radius: 3px;
- background-color: #eef;
+ background-color: $code-bg-color; // dark code background
+ color: $text-color; // readable on dark bg
+ font-family: $code-font-family;
}
code {
@@ -140,7 +142,7 @@ code {
pre {
padding: 8px 12px;
- overflow-x: scroll;
+ overflow-x: auto;
> code {
border: 0;
diff --git a/_sass/_layout.scss b/_sass/_layout.scss
index 1fc8c22..bcc2e3f 100644
--- a/_sass/_layout.scss
+++ b/_sass/_layout.scss
@@ -5,6 +5,7 @@
border-top: 5px solid $brand-color;
border-bottom: 1px solid $grey-color-light;
min-height: 56px;
+ background-color: $brand-color;
// Positioning context for the mobile navigation icon
position: relative;
diff --git a/corpora.md b/corpora.md
deleted file mode 100644
index b1aaf48..0000000
--- a/corpora.md
+++ /dev/null
@@ -1,5 +0,0 @@
----
-title: Corpora
-redirect_to:
- - https://github.com/cltk
----
diff --git a/css/main.scss b/css/main.scss
index 55bb554..e1a2b6d 100755
--- a/css/main.scss
+++ b/css/main.scss
@@ -10,7 +10,7 @@ img.cltk_logo {
// Our variables
-$base-font-family: Helvetica, Arial, sans-serif;
+$base-font-family: 'Noto Serif', Georgia, serif;
$base-font-size: 16px;
$small-font-size: $base-font-size * 0.875;
$base-line-height: 1.5;
@@ -32,6 +32,10 @@ $content-width: 800px;
$on-palm: 600px;
$on-laptop: 800px;
+// Code colors (dark mode)
+$code-bg-color: hsl(225, 15%, 18%);
+$code-font-family: 'Noto Sans Mono', 'SFMono-Regular', Consolas, Menlo, monospace;
+
// Using media queries with like this:
diff --git a/docs.md b/docs.md
index 4373164..47d9e86 100644
--- a/docs.md
+++ b/docs.md
@@ -1,5 +1,5 @@
---
-title: Legacy Docs (v0.1.x)
+title: Docs
redirect_to:
- - https://legacy.cltk.org
+ - https://docs.cltk.org
---
diff --git a/docs_v10.md b/docs_v10.md
deleted file mode 100644
index 47d9e86..0000000
--- a/docs_v10.md
+++ /dev/null
@@ -1,5 +0,0 @@
----
-title: Docs
-redirect_to:
- - https://docs.cltk.org
----
diff --git a/favicon.ico b/favicon.ico
deleted file mode 100755
index 94b4c27..0000000
Binary files a/favicon.ico and /dev/null differ
diff --git a/favicon.svg b/favicon.svg
new file mode 100644
index 0000000..b13a23a
--- /dev/null
+++ b/favicon.svg
@@ -0,0 +1,42 @@
+
+
diff --git a/index.md b/index.md
index 7f7bf1b..c665695 100644
--- a/index.md
+++ b/index.md
@@ -4,7 +4,27 @@ layout: default
The Classical Language Toolkit (CLTK) is a Python library offering natural language processing (NLP) for the languages of pre–modern Eurasia. Pre-configured pipelines are available for 19 languages.
-## Maintainers
+- Install: `pip install "cltk[openai,stanza,ollama]"`
+- Code:
+- Docs:
+
+# Maintainers
* [Kyle P. Johnson](https://github.com/kylepjohnson)
* [Clément Besnier](https://github.com/clemsciences)
+
+# Previous versions
+
+Previous generations of the CLTK are not supported anymore, but for those needing to use or reference past versions, these are preserved.
+
+## Versions `1.x`
+
+- Install: `pip install cltk==1.5.0`
+- Code:
+- Docs:
+
+## Versions `0.x`
+
+- Install: `pip install cltk==0.1.121`
+- Code:
+- Docs:
diff --git a/tutorials.md b/tutorials.md
deleted file mode 100644
index d3b239e..0000000
--- a/tutorials.md
+++ /dev/null
@@ -1,5 +0,0 @@
----
-title: Legacy Tutorials (v0.1.x)
-redirect_to:
- - https://github.com/cltk/tutorials
----
diff --git a/tutorials_10.md b/tutorials_10.md
deleted file mode 100644
index dab8744..0000000
--- a/tutorials_10.md
+++ /dev/null
@@ -1,5 +0,0 @@
----
-title: Tutorials
-redirect_to:
- - https://github.com/cltk/cltk/tree/master/notebooks
----