Skip to content

Commit 4eabd13

Browse files
committed
Round 2 of updates
1 parent 4f134bc commit 4eabd13

File tree

8 files changed

+109
-47
lines changed

8 files changed

+109
-47
lines changed

config/_default/hugo.toml renamed to config/_default/hugo.yaml

Lines changed: 31 additions & 34 deletions
Original file line numberDiff line numberDiff line change
@@ -2,43 +2,43 @@
22
#
33
# Hugo parameters for Interlisp.org
44
#
5+
# An overview of hugo configuration files can be found at:
6+
# https://gohugo.io/getting-started/configuration/#configure-server
7+
#
58

6-
relativeURLs = true
7-
canonifyURLs = true
9+
# relativeURLs: Enable to force all relative URLs to be relative to content root
10+
relativeURLs: true
811

9-
enableRobotsTXT = true
12+
# canonifyURLs: Convert relative URLs to absolute URLs
13+
canonifyURLs: true
1014

11-
assetDir = "static"
15+
# enableRobotsTXT: Enable generation of Robots.txt file
16+
enableRobotsTXT: true
1217

13-
# ****************************************************************************
14-
#
15-
# Docsy
16-
#
18+
# aasetDir: Location where Hugo looks for assets
19+
assetDir: static
1720

18-
# Will give values to .Lastmod etc.
19-
# enableGitInfo = true
21+
# Enable .GitInfo object for each page. This will give values to .Lastmod etc.
22+
enableGitInfo: false
2023

21-
# Language settings
22-
defaultContentLanguage = "en"
23-
defaultContentLanguageInSubdir = false
24+
# Top Level Language defaults
25+
# See languages.yaml for language specific values
26+
defaultContentLanguage: "en"
27+
defaultContentLanguageInSubdir: false
2428

2529
# Useful when translating.
26-
enableMissingTranslationPlaceholders = true
30+
enableMissingTranslationPlaceholders: true
2731

28-
disableKinds = ["taxonomy", "taxonomyTerm", "RSS"]
32+
# Disable rendering of the specified page kinds
33+
disableKinds: [taxonomy, term, RSS]
2934

30-
# Highlighting config
31-
pygmentsCodeFences = true
32-
pygmentsUseClasses = false
35+
# Code Highlighting configuration
36+
pygmentsCodeFences: true
37+
pygmentsUseClasses: false
3338
# Use the new Chroma Go highlighter in Hugo.
34-
pygmentsUseClassic = false
39+
pygmentsUseClassic: false
3540
#pygmentsOptions = "linenos=table"
3641
# See https://help.farbox.com/pygments.html
37-
pygmentsStyle = "tango"
38-
39-
# Configure how URLs look like per section.
40-
[permalinks]
41-
blog = "/:section/:year/:month/:day/:slug/"
4242

4343
# ****************************************************************************
4444
#
@@ -49,34 +49,31 @@ blog = "/:section/:year/:month/:day/:slug/"
4949
# [outputs]
5050
# section = ["HTML", "print"]
5151

52-
[params]
53-
54-
# privacy_policy = "https://policies.google.com/privacy"
52+
# paramas
5553

5654
# Set Google Analytics to use GA4
57-
disableGtagForUniversalAnalytics = false
58-
55+
disableGtagForUniversalAnalytics: false
5956

6057
# First one is picked as the Twitter card image if not set on page.
6158
# images = ["images/project-illustration.png"]
6259

6360
# Menu title if your navbar has a versions selector to access old versions of your site.
6461
# This menu appears only if you have at least one [params.versions] set.
65-
version_menu = "Releases"
62+
version_menu: Releases
6663

6764
# Flag used in the "version-banner" partial to decide whether to display a
6865
# banner on every page indicating that this is an archived version of the docs.
6966
# Set this flag to "true" if you want to display the banner.
70-
archived_version = false
67+
archived_version: false
7168

7269
# The version number for the version of the docs represented in this doc set.
7370
# Used in the "version-banner" partial to display a version number for the
7471
# current doc set.
75-
version = "0.0"
72+
version: 0.0
7673

7774
# A link to latest version of the docs. Used in the "version-banner" partial to
7875
# point people to the main doc site.
79-
url_latest_version = "https://example.com"
76+
url_latest_version: https://example.com
8077

8178
# Enable Algolia DocSearch
8279
#algolia_docsearch = false
@@ -86,5 +83,5 @@ url_latest_version = "https://example.com"
8683

8784
# Enable syntax highlighting and copy buttons on code blocks with Prism
8885
# Default "Chroma" syntax highlighter has no dot support, so use Prism instead
89-
prism_syntax_highlighting = false
86+
prism_syntax_highlighting: false
9087

config/_default/languages.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,8 @@
22
#
33
# Language configuration
44
#
5+
# See: https://gohugo.io/content-management/multilingual/
6+
#
57
en:
68
description: "Dedicated to restoring and preserving the Interlisp experience"
79
languageName: English"

config/_default/params.yaml

Lines changed: 48 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,39 @@
1+
# --------------------------------------------------------------------
2+
#
13
# Parameters
4+
#
5+
# copyright: site copyright information
6+
# authors: text list of authors
7+
# from_year: year in copyright statement
8+
#
29
copyright:
310
authors: Interlisp.org
411
from_year: 2024
512

13+
# github information
14+
# github_repo: url to repo of web site
15+
# github_branch: main branch of repo
16+
# github_subdir: unused by Interlisp.org
17+
# github_project_repo: added by Interlisp.org points to repo used
18+
# for issue reporting
19+
#
620
github_repo: https://github.com/interlisp/Interlisp.github.io
721
github_branch: main
8-
github_project_repo: https://github.com/interlisp/medley
922
github_subdir:
23+
github_project_repo: https://github.com/interlisp/medley
24+
25+
# Google custom seach engine configuration
26+
# gcs_engine_id: search engine
1027
gcs_engine_id: 33ef4cbe0703b4f3a
1128

12-
# End user relevant links. These will show up on left side of footer and in the community page if you have one.
29+
# Footer Links
30+
#
31+
# user: End user relevant links. These will show up on
32+
# left side of footer and in the community page if you have one.
33+
# name: displayed when moused over
34+
# url: url to use when selected
35+
# desc: description
36+
# icon: icon to display
1337
links:
1438
user:
1539
- name: "User mailing list"
@@ -25,7 +49,8 @@ links:
2549
# icon: "fab fa-stack-overflow"
2650
# desc: "Practical questions and curated answers"
2751

28-
# Developer relevant links. These will show up on right side of footer and in the community page if you have one.
52+
# developer: Developer relevant links. These will show up on right
53+
# side of footer and in the community page if you have one.
2954
developer:
3055
- name: "On GitHub"
3156
url: "https://github.com/interlisp"
@@ -44,14 +69,23 @@ taxonomy:
4469
# Nothing defined
4570

4671
# User Interface Configuration options
72+
#
73+
# feedback:
74+
# Adds a H2 section titled "Feedback" to the bottom of each doc. The responses
75+
# are sent to Google Analytics as events. This feature depends
76+
# on [services.googleAnalytics] and will be disabled if
77+
# "services.googleAnalytics.id" is not set.
78+
#
79+
# If you want this feature, but occasionally need to remove the
80+
# "Feedback" section from a single page,
81+
# add "hide_feedback: true" to the page's front matter.
82+
# enable: boolean Turn feedback
83+
# yes: text to display with yes is selected
84+
# no: text to display when no is selected
85+
4786
ui:
48-
# Adds a H2 section titled "Feedback" to the bottom of each doc. The responses are sent to Google Analytics as events.
49-
# This feature depends on [services.googleAnalytics] and will be disabled if "services.googleAnalytics.id" is not set.
50-
# If you want this feature, but occasionally need to remove the "Feedback" section from a single page,
51-
# add "hide_feedback: true" to the page's front matter.
5287
feedback:
5388
enable: true
54-
# The responses that the user sees after clicking "yes" (the page was helpful) or "no" (the page was not helpful).
5589
yes: 'Glad to hear it! Please <a href="https://github.com/Interlisp/medley/issues/new?template=documentation.md&projects=Interlisp/medley/5">tell us how we can improve</a>.'
5690
no: 'Sorry to hear that. Please <a href="https://github.com/Interlisp/medley/issues/new?template=documentation.md&projects=Interlisp/medley/5">tell us how we can improve</a>.'
5791

@@ -73,6 +107,12 @@ ui:
73107

74108
# Set to true to hide the sidebar search box (the top nav search box will still be displayed if search is enabled)
75109
sidebar_search_disable: false
110+
# Sidebar generation is slow otherwise
111+
sidebar_cache_limit: 100
112+
113+
# We have almost 200 attributes; don't truncate the sidebar to max 50 contents.
114+
sidebar_menu_truncate: 1000
115+
76116
# Set to true to disable breadcrumb navigation.
77117
breadcrumb_disable: false
78118

@@ -81,8 +121,3 @@ ui:
81121

82122
ul_show: 3
83123

84-
# Sidebar generation is slow otherwise
85-
sidebar_cache_limit: 100
86-
87-
# We have almost 200 attributes; don't truncate the sidebar to max 50 contents.
88-
sidebar_menu_truncate: 1000

config/_default/permalinks.yaml

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
# --------------------------------------------------------------------
2+
#
3+
# Permalinks
4+
#
5+
# Define a URL pattern for each top-level section.
6+
#
7+
# see: https://gohugo.io/content-management/urls/#permalinks
8+
#
9+
blog: /:section/:year/:month/:day/:slug/

config/_default/privacy.yaml

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
# ------------------------------------------------------------------
2+
#
3+
# Privacy Settings
4+
#
5+
# See: https://gohugo.io/about/hugo-and-gdpr/
6+
#
7+
# googleAnalytics:
8+
# ananymizIP: Enable anonymiation of IP addresses
9+
# disable: Set to true to disable googleAnalytics
10+
# respectDoNotTrack: Check for Do Not Track in headers
11+
# useSessionStorage: Store session information in storage and
12+
# not in cookies
13+
privacy:
14+
googleAnalytics:
15+
anonymizeIP: true
16+
disable: false
17+
respectDoNotTrack: true
18+
useSessionStorage: true

config/production/config.toml

Whitespace-only changes.

config/production/hugo.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
baseURL: https://interlisp.org
File renamed without changes.

0 commit comments

Comments
 (0)