You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
docs: streamline Jekyll configuration and link management
- Replaced inline JavaScript for fixing links with a separate file for better maintainability.
- Updated the create-jekyll-config.sh script to copy the link-fixer JavaScript instead of generating it inline.
- Removed outdated link adjustments from fix-docs.sh to simplify the documentation processing.
- Added `nav_exclude: true` to schemas/index.md and set `toc: false` in the schema reference for improved navigation control.
Copy file name to clipboardExpand all lines: .github/scripts/docs/fix-docs.sh
-12Lines changed: 0 additions & 12 deletions
Original file line number
Diff line number
Diff line change
@@ -138,18 +138,6 @@ for dir in code-based configuration-based; do
138
138
}
139
139
'"$file">"$temp_file"
140
140
141
-
if [[ "$file"=="PAGE_VIEWS.md" ]];then
142
-
sed "${SED_INPLACE[@]}"'s|\(see our guidance on page events\)(\.\./configuration-based/PAGE_EVENTS.md)|\1(/features/configuration-based/PAGE_EVENTS)|g'"$temp_file"
143
-
sed "${SED_INPLACE[@]}"'s|\[plugin option\](/forms-engine-plugin/https://|[plugin option](https://|g'"$temp_file"
144
-
fi
145
-
146
-
if [[ "$file"=="PAGE_TEMPLATES.md" ]];then
147
-
sed "${SED_INPLACE[@]}"'s|\[PLUGIN_OPTIONS.md\](../../PLUGIN_OPTIONS.md#custom-filters)|\[Plugin Options](/PLUGIN_OPTIONS#custom-filters)|g'"$temp_file"
148
-
fi
149
-
150
-
sed "${SED_INPLACE[@]}"'s|/forms-engine-plugin/forms-engine-plugin/|/forms-engine-plugin/|g'"$temp_file"
151
-
sed "${SED_INPLACE[@]}"'s|/forms-engine-plugin/https://|https://|g'"$temp_file"
0 commit comments