Skip to content

Commit 19e6af0

Browse files
authored
Merge branch 'main' into main
Signed-off-by: Larry Masinter <[email protected]>
2 parents e995386 + 3075dc8 commit 19e6af0

File tree

3 files changed

+48
-8
lines changed

3 files changed

+48
-8
lines changed

README.md

Lines changed: 42 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -152,8 +152,21 @@ hugo v0.111.3-5d4eb5154e1fed125ca8e9b5a0315c4180dab192+extended linux/amd64 Buil
152152

153153
Be sure your version is at least `v0.101.0`. Older versions of `hugo` may fail to load correctly.
154154

155-
With `Hugo` successfully installed, change directories to the location where you cloned the `Interlisp.github.io`. Then run `Hugo` using the following
156-
command:
155+
Secondly, there is one data file that is required to successfully build and run the `Interlisp.org` website locally, `data/bibliography.json`.
156+
The production version of the website uses a GitHub Action to retrieve this file.
157+
We can mimic that functionality by going to the `scripts` directory in your clone of the `Intelisp.github.io` repository.
158+
Once in the directory, run the following command:
159+
160+
```bash
161+
./update_bibliography.sh
162+
```
163+
164+
This script will retrieve the bibliography from our Zotero site, format it appropriately and place the created file
165+
in the appropriate location, the `data` directory.
166+
167+
This completes all the setup required for `Hugo`.
168+
169+
To run `Hugo` go to the root directory of your repository clone and run the following command:
157170

158171
```bash
159172
hugo server
@@ -215,3 +228,30 @@ that have components specific to `Interlisp.github.io` are as follows:
215228
- `favicons` - contains `favicon.png` a small icon that browsers can use when referencing the website
216229
- `Resources` - contains the current `Interlisp-D` logo, used on the home page, and another instance of `favicon.png`
217230
- `CNAME` - a oneline text file that provides support for using a [custom domain](https://gohugo.io/hosting-and-deployment/hosting-on-github/#use-a-custom-domain)
231+
232+
## Search
233+
234+
`Interlisp.org` uses Google Custom Search to provide search results encompassing
235+
the `Interlisp.org` website, our GitHub sites used for continued development of
236+
Medley Interlisp, and the discussions groups associated with both the Medley project and
237+
Interlisp.
238+
239+
The search engine is identified in the `hugo.toml` file:
240+
241+
```toml
242+
# Google Custom Search Engine ID. Remove or comment out to disable search.
243+
gcs_engine_id = "33ef4cbe0703b4f3a"
244+
```
245+
246+
Search results are returned and presented using the page template, `search.md`.
247+
The page template currently contains only a `yaml` header specifying the
248+
layout as being `search`.
249+
250+
### Updating Search
251+
252+
Modfying the websites that are searched requires updating the Google Custom
253+
Search engine settings. This is done via logging into Google's Programmable Search
254+
Engine Dashboard at: [https://programmablesearchengine.google.com](https://programmablesearchengine.google.com)
255+
256+
Access to the Programmable Search Engine Dashboard is restricted. To suggest updates or changes
257+
open an issue: [Search Engine Issue](https://github.com/interlisp/medley/issues/new?template=bug_report.md&title=Search_Engine_Issue)

content/en/_index.html

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
- /hugo
55
---
66

7-
{{< blocks/cover title="The Medley Interlisp Project" subtitle="A Retrofuturistic Software System" image_anchor="smart" color="orange" height="min">}}
7+
{{< blocks/cover title="The Medley Interlisp Project" subtitle="a retrofuturistic software system" image_anchor="smart" color="orange" height="min">}}
88
<div class="top-summary">
99
What did we leave behind on the path to developing today's computer systems? Could there be lessons for the future of computing hidden in the past? Enter the Medley software environment to explore these questions.
1010
</div>
@@ -35,13 +35,14 @@ <h1>The Interlisp Revival</h1>
3535
<p>Medley's life as a commercial product ended in the 1990s, and until 2009 its source code only remained in the hands of the development team. Now the system is running again on modern computer systems, thanks to the combined efforts of original developers and interested newcomers. Our goal is to revive Interlisp in language, environment and spirit through the Medley Interlisp Project.</p>
3636
3737
38+
<div class="col">
3839
<h3>What do all these terms mean?</h3>
3940
<p>With over five decades of history and many design iterations, there are a lot of names and other vocabulary associated with the project. <a href="medley/project/glossary">Visit the glossary</a> to learn more.
4041
</p>
41-
42-
<h3>Have other questions?</h3><br />
42+
<h3>Have other questions?</h3>
4343
<p><a href="medley/project/faqs">Our FAQs page</a> addresses other common queries about the project.</p>
44-
-->
44+
</div>
45+
4546
<!-- >{{< carousel items="1" height="500" unit="px" duration="7000" >}} -->
4647

4748
{{< /blocks/section >}}

hugo.toml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
1-
# baseURL = "https://interlisp.org"
2-
baseURL = "https://phantomics.github.io/InterlispDraft.github.io/"
1+
baseURL = "https://interlisp.org"
32

43
relativeURLs = true
54
canonifyURLs = true

0 commit comments

Comments
 (0)