Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
24 commits
Select commit Hold shift + click to select a range
0b2482e
Initial attempt to create individual pages for the Bibliography entries.
MattHeffron Apr 15, 2025
f212723
Improved, but still work in progress.
MattHeffron Apr 16, 2025
f346a50
Update github action to set bibSplit.pl executable
stumbo May 22, 2025
10c52d2
Publications Page -- work in progress
stumbo Jun 27, 2025
f1af633
WIP
stumbo Jul 9, 2025
afcd74b
WIP
stumbo Jul 16, 2025
cc2c0ef
Bibliography WIP
stumbo Aug 21, 2025
86ba565
Initial implementation of list of all bibliography entries
stumbo Aug 24, 2025
a2b6188
Initial implementation of list of all bibliography entries
stumbo Aug 24, 2025
f6a2620
Merge branch 'mth5--bibliography-items-individual-pages' into bs1_bib…
stumbo Sep 25, 2025
7ff6032
Updates to bibliography page
stumbo Oct 3, 2025
8dba241
Update bibliography entry to link to Zotero
stumbo Oct 9, 2025
c8b317f
Add missing edits.
stumbo Oct 9, 2025
ca4ac24
Update Zotero link wording and open in new tab
stumbo Oct 9, 2025
aee5b11
Fixed a few Hugo syntax errors.
MattHeffron Oct 9, 2025
c45050d
Updates to author tags
stumbo Oct 15, 2025
c9ccc82
Start of building out individual bibliography pages
stumbo Oct 20, 2025
49411f7
Continued work on creating individual entries.
stumbo Oct 22, 2025
fb57d07
Finish individual bibliography entry creation
stumbo Oct 23, 2025
6e84cf9
Taxonomy initial work. Still WIP
stumbo Oct 25, 2025
6596148
Some edge case cleanups.
MattHeffron Oct 26, 2025
92b7232
Taxonomy support for filtering bibliographical entries
stumbo Oct 26, 2025
86d61c2
Merge remote-tracking branch 'origin/bs1_bibliography' into bs1_bibli…
stumbo Oct 27, 2025
bea77f4
Turn off saving of the 00-rawItems.json and tags.json files.
MattHeffron Oct 27, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
46 changes: 18 additions & 28 deletions .github/workflows/gh-pages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -57,27 +57,25 @@ jobs:
cacheHit: ${{ steps.cache-zotero-bib.outputs.cache-hit }}

runs-on: ubuntu-latest
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
steps:

- name: Get Zotero Version Information
id: zoteroVersion
uses: fjogeleit/http-request-action@v1
with:
url: "https://api.zotero.org/groups/2914042/items?format=versions"
method: "GET"
url: https://api.zotero.org/groups/2914042/items?format=versions
method: GET

- name: Cache Zotero Bibliography
id: cache-zotero-bib
uses: actions/cache@v4
env:
cache-name: cache-zotero_bib
id: cache-zotero
uses: actions/cache/restore@v4
with:
path: ~/data
key: ${{ fromJson(steps.zoteroVersion.outputs.headers).last-modified-version }}
restore-keys: |
${{ fromJson(steps.zoteroVersion.outputs.headers).last-modified-version }}
lookup-only: true
path: |
static/data/bibliography.json
static/data/bibItems
content/en/history/bibliography
key: bib-${{ fromJson(steps.zoteroVersion.outputs.headers).last-modified-version }}

# ----------------------------------------------------------------------------
# Build the website. This job is conditional, we will always run it on a
Expand All @@ -94,31 +92,23 @@ jobs:
fetch-depth: 0

- name: Cache Zotero Bibliography
id: cache-zotero-bib
id: cache-bib
uses: actions/cache@v4
env:
cache-name: cache-zotero_bib
with:
path: ~/data
key: ${{ needs.check.outputs.zoteroVersion }}
restore-keys: |
${{ needs.check.outputs.zoteroVersion }}
path: |
static/data/bibliography.json
static/data/bibItems
content/en/history/bibliography
key: bib-${{ needs.check.outputs.zoteroVersion }}

- name: Install Bibliography
env:
CACHE_HIT: ${{ steps.cache-zotero-bib.outputs.cache-hit }}
if: steps.cache-bib.outputs.cache-hit != 'true'
run: |
if [[ "$CACHE_HIT" == 'true' ]]; then
echo "Use Cache"
sudo cp --recursive ~/data ${GITHUB_WORKSPACE}/static
ls -la ${GITHUB_WORKSPACE}/static/data
else
echo "Retrieve bibliography"
cd scripts
chmod +x ./update_bibliography.sh
chmod +x ./bibSplit.pl
./update_bibliography.sh
sudo cp --recursive ${GITHUB_WORKSPACE}/static/data ~/data
fi

# Install Hugo Extended
#
Expand Down
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -18,3 +18,4 @@ _gen/
.hugo_build.lock
.idea
data/bibliography.json
/docs
8 changes: 8 additions & 0 deletions assets/scss/_styles_project.scss
Original file line number Diff line number Diff line change
@@ -1,7 +1,15 @@
@import "publications/publications";

.text-center.py-2 .text-white {
display: none;
}

div.td-page-meta {
display: none;
}

.article-container {
max-width: 760px;
padding: 0 20px;
margin: 0 auto;
}
6 changes: 3 additions & 3 deletions config/_default/hugo.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -35,9 +35,9 @@ defaultContentLanguageInSubdir: false
enableMissingTranslationPlaceholders: true

# Disable rendering of the specified page kinds
disableKinds:
- taxonomy
- term
#disableKinds:
# - term
# Note terms are needed for taxonomies to work

outputs:
home:
Expand Down
9 changes: 7 additions & 2 deletions config/_default/languages.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,14 @@
# See: https://gohugo.io/content-management/multilingual/
#
en:
languageName: English"
languageName: English
languageCode: en-us
# Weight used for sorting.
weight: 1
contentDir: content/en
params:
description: "Dedicated to restoring and preserving the Interlisp experience"
description: "Dedicated to restoring and preserving the Interlisp experience"

# Languages
# Create a section for each of your site's languages.
# Documentation: https://docs.hugoblox.com/reference/language/
2 changes: 1 addition & 1 deletion config/_default/module.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,4 +8,4 @@
- path: "github.com/google/docsy"
disable: false
- path: "github.com/google/docsy/dependencies"
disable: false
disable: false
39 changes: 37 additions & 2 deletions config/_default/params.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,27 @@ links:
# icon: "fa fa-envelope"
# desc: "Discuss development issues around the project"

taxonomies:
taxonomy:
taxonomyCloud:
- authors
taxonomyCloudTitle:
- Authors
taxonomyPageHeader:
- authors
- item_type

#related:
# threshold: 80
# includeNewer: true
# toLower: true
# indices:
# - name: item_type
# weight: 5
# - name: tags
# weight: 100
# - name: categories
# weight: 70

# Nothing defined

# User Interface Configuration options
Expand Down Expand Up @@ -150,7 +170,7 @@ ui:
sidebar_cache_limit: 100

# We have almost 200 attributes; don't truncate the sidebar to max 50 contents.
sidebar_menu_truncate: 1000
sidebar_menu_truncate: 0

# Set to true to disable breadcrumb navigation.
breadcrumb_disable: false
Expand All @@ -163,3 +183,18 @@ ui:
# Identify the custom css files
custom_css:
- "css/custom.css"

# Extensions -- From wowchemy

extensions:
decap_cms:
branch: main
local_backend: false
academicons:
enable: true

# Citation style

publications:
date_format: January 2006
citation_style: apa
7 changes: 6 additions & 1 deletion config/_default/permalinks.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,9 @@
#
# see: https://gohugo.io/content-management/urls/#permalinks
#
blog: /:section/:year/:month/:day/:slug/
blog: '/:section/:year/:month/:day/:slug/'

authors: '/author/:slug/'
tags: '/tag/:slug/'
categories: '/category/:slug/'
publication_types: '/publication-type/:slug/'
5 changes: 5 additions & 0 deletions config/_default/services.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
rss:
limit: -1
title: "Interlisp.org RSS Feed"
description: "The latest news from Interlisp.org"
link: "https://interlisp.org"
4 changes: 4 additions & 0 deletions config/_default/taxonomies.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
tag: tags
category: categories
author: authors
item_type: item_type
10 changes: 4 additions & 6 deletions content/en/history/bibliography/_index.md
Original file line number Diff line number Diff line change
@@ -1,14 +1,12 @@
---
title: Bibliography
heading: Interlisp Bibliography
type: bibliography
cascade:
type: bibliography
weight: 5
type: docs
aliases:
- /bibliography/

---

## Interlisp Bibliography

(This bibliography is kept in sync with our [Zotero](https://www.zotero.org/) collection [Library](https://www.zotero.org/groups/2914042/interlisp/library).

{{< bibTable >}}
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,6 @@ module github.com/Interlisp/Interlisp.github.io
go 1.20

require (
github.com/google/docsy v0.10.0 // indirect
github.com/google/docsy v0.12.0 // indirect
github.com/google/docsy/dependencies v0.7.2 // indirect
)
9 changes: 4 additions & 5 deletions go.sum
Original file line number Diff line number Diff line change
@@ -1,13 +1,12 @@
github.com/FortAwesome/Font-Awesome v0.0.0-20230327165841-0698449d50f2/go.mod h1:IUgezN/MFpCDIlFezw3L8j83oeiIuYoj28Miwr/KUYo=
github.com/FortAwesome/Font-Awesome v0.0.0-20240108205627-a1232e345536/go.mod h1:IUgezN/MFpCDIlFezw3L8j83oeiIuYoj28Miwr/KUYo=
github.com/FortAwesome/Font-Awesome v0.0.0-20240402185447-c0f460dca7f7/go.mod h1:IUgezN/MFpCDIlFezw3L8j83oeiIuYoj28Miwr/KUYo=
github.com/google/docsy v0.9.1 h1:+jqges1YCd+yHeuZ1BUvD8V8mEGVtPxULg5j/vaJ984=
github.com/google/docsy v0.9.1/go.mod h1:saOqKEUOn07Bc0orM/JdIF3VkOanHta9LU5Y53bwN2U=
github.com/google/docsy v0.10.0 h1:6tMDacPwAyRWNCfvsn/9qGOZDQ8b0aRzjRZvnZPY5dg=
github.com/google/docsy v0.10.0/go.mod h1:c0nIAqmRTOuJ01F85U/wJPQtc3Zj9N58Kea9bOT2AJc=
github.com/google/docsy/dependencies v0.6.0/go.mod h1:EDGc2znMbGUw0RW5kWwy2oGgLt0iVXBmoq4UOqstuNE=
github.com/FortAwesome/Font-Awesome v0.0.0-20241216213156-af620534bfc3/go.mod h1:IUgezN/MFpCDIlFezw3L8j83oeiIuYoj28Miwr/KUYo=
github.com/google/docsy v0.12.0 h1:CddZKL39YyJzawr8GTVaakvcUTCJRAAYdz7W0qfZ2P4=
github.com/google/docsy v0.12.0/go.mod h1:1bioDqA493neyFesaTvQ9reV0V2vYy+xUAnlnz7+miM=
github.com/google/docsy/dependencies v0.7.2 h1:+t5ufoADQAj4XneFphz4A+UU0ICAxmNaRHVWtMYXPSI=
github.com/google/docsy/dependencies v0.7.2/go.mod h1:gihhs5gmgeO+wuoay4FwOzob+jYJVyQbNaQOh788lD4=
github.com/twbs/bootstrap v4.6.2+incompatible/go.mod h1:fZTSrkpSf0/HkL0IIJzvVspTt1r9zuf7XlZau8kpcY0=
github.com/twbs/bootstrap v5.2.3+incompatible/go.mod h1:fZTSrkpSf0/HkL0IIJzvVspTt1r9zuf7XlZau8kpcY0=
github.com/twbs/bootstrap v5.3.3+incompatible/go.mod h1:fZTSrkpSf0/HkL0IIJzvVspTt1r9zuf7XlZau8kpcY0=
github.com/twbs/bootstrap v5.3.6+incompatible/go.mod h1:fZTSrkpSf0/HkL0IIJzvVspTt1r9zuf7XlZau8kpcY0=
34 changes: 34 additions & 0 deletions layouts/bibliography/baseof.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
<!doctype html>
<html itemscope itemtype="http://schema.org/WebPage"
{{- with .Site.Language.LanguageDirection }} dir="{{ . }}" {{- end -}}
{{ with .Site.Language.Lang }} lang="{{ . }}" {{- end }} {{/**/ -}}
class="no-js">
<head>
{{ partial "head.html" . }}
</head>
<body class="td-{{ .Kind }}{{ with .Page.Params.body_class }} {{ . }}{{ end }}">
<header>
{{ partial "navbar.html" . }}
</header>
<div class="container-fluid td-outer">
<div class="td-main" {{- .Section | safeHTMLAttr }}>
<div class="row flex-xl-nowrap">
<aside class="d-none d-xl-block col-xl-2 td-sidebar-toc d-print-none">
{{ partial "page-meta-links.html" . }}
{{ partial "toc.html" . }}
{{ partial "taxonomy_terms_clouds.html" . }}
</aside>
<main class="col-12 col-md-9 col-xl-8 ps-md-5" role="main">
{{ partial "version-banner.html" . }}
{{ if not (.Param "ui.breadcrumb_disable") -}}
{{ partial "breadcrumb.html" . -}}
{{ end -}}
{{ block "main" . }}{{ end }}
</main>
</div>
</div>
{{ partial "footer.html" . }}
</div>
{{ partial "scripts.html" . }}
</body>
</html>
Loading