stevedlawrence commented on code in PR #132:
URL: https://github.com/apache/daffodil-site/pull/132#discussion_r1609853753
##########
site/layersTOC.md:
##########
@@ -0,0 +1,64 @@
+---
+description: Pluggable Extensions to Enable Algorithmic Transformations
+ in DFDL
+group: 'nav-right'
+layout: page
+title: 'Layers - Algorithmic
+ Extensions for DFDL'
+---
+<!--
+{% comment %}
+Licensed to the Apache Software Foundation (ASF) under one or more
+contributor license agreements. See the NOTICE file distributed with
+this work for additional information regarding copyright ownership.
+The ASF licenses this file to you under the Apache License, Version 2.0
+(the "License"); you may not use this file except in compliance with
+the License. You may obtain a copy of the License at
+
+http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+{% endcomment %}
+-->
+
+### Table of Contents
+
+<!--
+{% comment %}
+NOTE: Generate using `pandoc -s --toc layers.md -o layersTOC.md`
+
+Followed by fixing up the layerTOC.md page so it works.
+{% endcomment %}
+-->
+
+- [Introduction](#introduction)
+ - [Built-in Layers](#built-in-layers)
+ - [Custom Plug-In Layers](#custom-plug-in-layers)
+ - [Transforming Layers and Checksum
+ Layers](#transforming-layers-and-checksum-layers)
+ - [Transforming Layers](#transforming-layers)
+ - [Checksum Layers](#checksum-layers)
+ - [Layer Composition](#layer-composition)
+- [Using Layers](#using-layers)
+ - [Example: Line Folding](#example-line-folding)
+ - [Example: Base64, GZip, and
+ BoundaryMark](#example-base64-gzip-and-boundarymark)
+- [Defining Custom Plug-In Layers](#defining-custom-plug-in-layers)
+ - [Layer Variables:](#layer-variables)
+ - [Layer Exception Handling:](#layer-exception-handling)
+ - [Compatibility with Daffodil 3.7.0 and
+ prior](#compatibility-with-daffodil-3.7.0-and-prior)
+- [Daffodil Built-In Layer
+ Documentation](#daffodil-built-in-layer-documentation)
+ - [Line Folded Layers](#line-folded-layers)
+ - [General Usage](#general-usage)
+ - [Layer Name: lineFolded\_IMF](#layer-name-linefolded_imf)
+ - [Layer Name:
+ lineFolded\_iCalendar](#layer-name-linefolded_icalendar)
+
+
+{% include_relative layers.md %}
Review Comment:
It looks like kramdown (the markdown parser used by jekyll) supports
automatic generation of table of contents:
https://kramdown.gettalong.org/converter/html.html#toc
If that works decently we should use that so these links don't get out of
sync as updates are made.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]