From 2729ce3ccbd73f77eb1b21ee1b8732461c3828a8 Mon Sep 17 00:00:00 2001 From: aetter Date: Fri, 28 May 2021 10:48:19 -0700 Subject: [PATCH 01/19] Breaks site --- _config.yml | 52 +- _external_links/javadoc.md | 7 + _includes/nav.html | 32 +- _layouts/default.html | 56 +- _opensearch_dashboards_docs/gantt.md | 26 + _opensearch_dashboards_docs/index.md | 18 + _opensearch_dashboards_docs/install/docker.md | 23 + _opensearch_dashboards_docs/install/index.md | 10 + .../install/plugins.md | 205 ++ _opensearch_dashboards_docs/install/tar.md | 30 + _opensearch_dashboards_docs/maptiles.md | 29 + _opensearch_dashboards_docs/notebooks.md | 63 + _opensearch_dashboards_docs/reporting.md | 54 + _opensearch_docs/aggregations.md | 160 ++ _opensearch_docs/bucket-agg.md | 1348 ++++++++++ _opensearch_docs/catapis.md | 256 ++ _opensearch_docs/cluster.md | 338 +++ _opensearch_docs/common-parameters.md | 17 + _opensearch_docs/configuration.md | 68 + _opensearch_docs/index-alias.md | 202 ++ _opensearch_docs/index-data.md | 271 ++ _opensearch_docs/index-templates.md | 202 ++ _opensearch_docs/index.md | 89 + _opensearch_docs/install/docker-security.md | 178 ++ _opensearch_docs/install/docker.md | 324 +++ .../install/important-settings.md | 40 + _opensearch_docs/install/index.md | 11 + _opensearch_docs/install/plugins.md | 263 ++ _opensearch_docs/install/tar.md | 147 ++ _opensearch_docs/logs.md | 174 ++ _opensearch_docs/metric-agg.md | 635 +++++ _opensearch_docs/pipeline-agg.md | 1257 ++++++++++ _opensearch_docs/popular-api.md | 189 ++ _opensearch_docs/query-dsl/bool.md | 290 +++ _opensearch_docs/query-dsl/full-text.md | 435 ++++ _opensearch_docs/query-dsl/index.md | 120 + _opensearch_docs/query-dsl/term.md | 450 ++++ _opensearch_docs/reindex-data.md | 284 +++ _opensearch_docs/rest-api/bulk.md | 169 ++ .../rest-api/cluster-allocation.md | 144 ++ _opensearch_docs/rest-api/index.md | 10 + _opensearch_docs/search-template.md | 415 ++++ _opensearch_docs/snapshot-restore.md | 381 +++ _opensearch_docs/tasksapis.md | 230 ++ _opensearch_docs/units.md | 18 + _opensearch_docs/ux.md | 1076 ++++++++ _opensearch_plugins_docs/ad/api.md | 2175 +++++++++++++++++ _opensearch_plugins_docs/ad/index.md | 165 ++ _opensearch_plugins_docs/ad/security.md | 86 + _opensearch_plugins_docs/ad/settings.md | 42 + _opensearch_plugins_docs/alerting/api.md | 1466 +++++++++++ _opensearch_plugins_docs/alerting/cron.md | 64 + _opensearch_plugins_docs/alerting/index.md | 16 + _opensearch_plugins_docs/alerting/monitors.md | 373 +++ _opensearch_plugins_docs/alerting/security.md | 79 + _opensearch_plugins_docs/alerting/settings.md | 59 + _opensearch_plugins_docs/async/index.md | 251 ++ _opensearch_plugins_docs/async/security.md | 76 + _opensearch_plugins_docs/async/settings.md | 29 + _opensearch_plugins_docs/cli/index.md | 100 + .../im/index-rollups/index.md | 457 ++++ .../im/index-rollups/rollup-api.md | 235 ++ _opensearch_plugins_docs/im/index.md | 12 + _opensearch_plugins_docs/im/ism/api.md | 494 ++++ _opensearch_plugins_docs/im/ism/index.md | 103 + .../im/ism/managedindices.md | 75 + _opensearch_plugins_docs/im/ism/policies.md | 666 +++++ _opensearch_plugins_docs/im/ism/settings.md | 50 + .../im/refresh-analyzer/index.md | 40 + _opensearch_plugins_docs/knn/api.md | 153 ++ .../knn/approximate-knn.md | 162 ++ _opensearch_plugins_docs/knn/index.md | 42 + _opensearch_plugins_docs/knn/jni-library.md | 12 + .../knn/knn-score-script.md | 316 +++ .../knn/painless-functions.md | 63 + .../knn/performance-tuning.md | 111 + _opensearch_plugins_docs/knn/settings.md | 36 + _opensearch_plugins_docs/pa/api.md | 196 ++ _opensearch_plugins_docs/pa/dashboards.md | 162 ++ _opensearch_plugins_docs/pa/index.md | 101 + _opensearch_plugins_docs/pa/rca/api.md | 63 + _opensearch_plugins_docs/pa/rca/index.md | 17 + _opensearch_plugins_docs/pa/rca/reference.md | 11 + _opensearch_plugins_docs/pa/reference.md | 560 +++++ _opensearch_plugins_docs/ppl/commands.md | 672 +++++ _opensearch_plugins_docs/ppl/datatypes.md | 36 + _opensearch_plugins_docs/ppl/endpoint.md | 22 + _opensearch_plugins_docs/ppl/functions.md | 10 + _opensearch_plugins_docs/ppl/identifiers.md | 72 + _opensearch_plugins_docs/ppl/index.md | 58 + _opensearch_plugins_docs/ppl/protocol.md | 71 + _opensearch_plugins_docs/ppl/settings.md | 35 + .../security/access-control/api.md | 1261 ++++++++++ .../access-control/cross-cluster-search.md | 242 ++ .../access-control/default-action-groups.md | 54 + .../access-control/document-level-security.md | 127 + .../access-control/field-level-security.md | 125 + .../security/access-control/field-masking.md | 126 + .../security/access-control/impersonation.md | 49 + .../security/access-control/index.md | 28 + .../security/access-control/multi-tenancy.md | 162 ++ .../security/access-control/permissions.md | 162 ++ .../security/access-control/users-roles.md | 171 ++ .../security/audit-logs/field-reference.md | 171 ++ .../security/audit-logs/index.md | 191 ++ .../security/audit-logs/storage-types.md | 109 + .../security/configuration/client-auth.md | 113 + .../security/configuration/concepts.md | 27 + .../security/configuration/configuration.md | 402 +++ .../security/configuration/disable.md | 60 + .../configuration/generate-certificates.md | 205 ++ .../security/configuration/index.md | 22 + .../security/configuration/ldap.md | 542 ++++ .../security/configuration/openid-connect.md | 337 +++ .../security/configuration/proxy.md | 208 ++ .../security/configuration/saml.md | 332 +++ .../security/configuration/security-admin.md | 235 ++ .../security/configuration/system-indices.md | 26 + .../security/configuration/tls.md | 210 ++ .../security/configuration/yaml.md | 255 ++ _opensearch_plugins_docs/security/index.md | 25 + _opensearch_plugins_docs/sql/aggregations.md | 148 ++ _opensearch_plugins_docs/sql/basic.md | 359 +++ _opensearch_plugins_docs/sql/cli.md | 101 + _opensearch_plugins_docs/sql/complex.md | 420 ++++ _opensearch_plugins_docs/sql/datatypes.md | 117 + _opensearch_plugins_docs/sql/delete.md | 78 + _opensearch_plugins_docs/sql/endpoints.md | 224 ++ _opensearch_plugins_docs/sql/functions.md | 133 + _opensearch_plugins_docs/sql/index.md | 74 + _opensearch_plugins_docs/sql/jdbc.md | 12 + _opensearch_plugins_docs/sql/limitation.md | 119 + _opensearch_plugins_docs/sql/metadata.md | 70 + _opensearch_plugins_docs/sql/monitoring.md | 50 + _opensearch_plugins_docs/sql/odbc.md | 206 ++ _opensearch_plugins_docs/sql/partiql.md | 215 ++ _opensearch_plugins_docs/sql/protocol.md | 330 +++ _opensearch_plugins_docs/sql/settings.md | 33 + _opensearch_plugins_docs/sql/sql-full-text.md | 119 + _opensearch_plugins_docs/sql/troubleshoot.md | 90 + _opensearch_plugins_docs/sql/workbench.md | 73 + .../trace/data-prepper-reference.md | 178 ++ .../trace/data-prepper.md | 135 + _opensearch_plugins_docs/trace/get-started.md | 83 + _opensearch_plugins_docs/trace/index.md | 17 + .../trace/ta-dashboards.md | 22 + _opensearch_troubleshooting_docs/index.md | 95 + .../openid-connect.md | 117 + _opensearch_troubleshooting_docs/saml.md | 138 ++ .../security-admin.md | 106 + _opensearch_troubleshooting_docs/tls.md | 224 ++ build.sh | 2 +- images/ad.png | Bin 0 -> 335986 bytes images/alerting.png | Bin 0 -> 37201 bytes images/cli.gif | Bin 0 -> 3264524 bytes images/cluster.png | Bin 0 -> 24024 bytes images/expression.png | Bin 0 -> 18560 bytes images/expressionAtom.png | Bin 0 -> 28119 bytes images/gantt-chart.png | Bin 0 -> 155596 bytes images/hot-rod.png | Bin 0 -> 69159 bytes images/ism.png | Bin 0 -> 25747 bytes images/joinPart.png | Bin 0 -> 32167 bytes images/markdown-notebook.png | Bin 0 -> 124195 bytes images/perftop-grid.png | Bin 0 -> 43724 bytes images/perftop.png | Bin 0 -> 241207 bytes images/ppl.png | Bin 0 -> 225171 bytes images/predicate.png | Bin 0 -> 31446 bytes images/reporting-error.png | Bin 0 -> 32921 bytes images/saml-keycloak-sign-documents.png | Bin 0 -> 32654 bytes images/security-ccs.png | Bin 0 -> 114329 bytes images/security-dls.png | Bin 0 -> 223201 bytes images/security.png | Bin 0 -> 55298 bytes images/selectElement.png | Bin 0 -> 19280 bytes images/selectElements.png | Bin 0 -> 6010 bytes images/showFilter.png | Bin 0 -> 6355 bytes images/showStatement.png | Bin 0 -> 8542 bytes images/singleDeleteStatement.png | Bin 0 -> 8741 bytes images/sql.png | Bin 0 -> 314656 bytes images/ta-dashboard.png | Bin 0 -> 169329 bytes images/ta-diagram.drawio | 1 + images/ta-services.png | Bin 0 -> 204886 bytes images/ta-trace.png | Bin 0 -> 190293 bytes images/ta.svg | 3 + images/tableName.png | Bin 0 -> 5948 bytes images/tableSource.png | Bin 0 -> 9645 bytes images/workbench.gif | Bin 0 -> 1324114 bytes 186 files changed, 30908 insertions(+), 51 deletions(-) create mode 100644 _external_links/javadoc.md create mode 100644 _opensearch_dashboards_docs/gantt.md create mode 100644 _opensearch_dashboards_docs/index.md create mode 100644 _opensearch_dashboards_docs/install/docker.md create mode 100644 _opensearch_dashboards_docs/install/index.md create mode 100644 _opensearch_dashboards_docs/install/plugins.md create mode 100644 _opensearch_dashboards_docs/install/tar.md create mode 100644 _opensearch_dashboards_docs/maptiles.md create mode 100644 _opensearch_dashboards_docs/notebooks.md create mode 100644 _opensearch_dashboards_docs/reporting.md create mode 100644 _opensearch_docs/aggregations.md create mode 100644 _opensearch_docs/bucket-agg.md create mode 100644 _opensearch_docs/catapis.md create mode 100644 _opensearch_docs/cluster.md create mode 100644 _opensearch_docs/common-parameters.md create mode 100755 _opensearch_docs/configuration.md create mode 100644 _opensearch_docs/index-alias.md create mode 100644 _opensearch_docs/index-data.md create mode 100644 _opensearch_docs/index-templates.md create mode 100644 _opensearch_docs/index.md create mode 100644 _opensearch_docs/install/docker-security.md create mode 100644 _opensearch_docs/install/docker.md create mode 100644 _opensearch_docs/install/important-settings.md create mode 100644 _opensearch_docs/install/index.md create mode 100644 _opensearch_docs/install/plugins.md create mode 100644 _opensearch_docs/install/tar.md create mode 100644 _opensearch_docs/logs.md create mode 100644 _opensearch_docs/metric-agg.md create mode 100644 _opensearch_docs/pipeline-agg.md create mode 100644 _opensearch_docs/popular-api.md create mode 100644 _opensearch_docs/query-dsl/bool.md create mode 100644 _opensearch_docs/query-dsl/full-text.md create mode 100644 _opensearch_docs/query-dsl/index.md create mode 100644 _opensearch_docs/query-dsl/term.md create mode 100644 _opensearch_docs/reindex-data.md create mode 100644 _opensearch_docs/rest-api/bulk.md create mode 100644 _opensearch_docs/rest-api/cluster-allocation.md create mode 100644 _opensearch_docs/rest-api/index.md create mode 100644 _opensearch_docs/search-template.md create mode 100644 _opensearch_docs/snapshot-restore.md create mode 100644 _opensearch_docs/tasksapis.md create mode 100644 _opensearch_docs/units.md create mode 100644 _opensearch_docs/ux.md create mode 100644 _opensearch_plugins_docs/ad/api.md create mode 100644 _opensearch_plugins_docs/ad/index.md create mode 100644 _opensearch_plugins_docs/ad/security.md create mode 100644 _opensearch_plugins_docs/ad/settings.md create mode 100644 _opensearch_plugins_docs/alerting/api.md create mode 100644 _opensearch_plugins_docs/alerting/cron.md create mode 100644 _opensearch_plugins_docs/alerting/index.md create mode 100644 _opensearch_plugins_docs/alerting/monitors.md create mode 100644 _opensearch_plugins_docs/alerting/security.md create mode 100644 _opensearch_plugins_docs/alerting/settings.md create mode 100644 _opensearch_plugins_docs/async/index.md create mode 100644 _opensearch_plugins_docs/async/security.md create mode 100644 _opensearch_plugins_docs/async/settings.md create mode 100644 _opensearch_plugins_docs/cli/index.md create mode 100644 _opensearch_plugins_docs/im/index-rollups/index.md create mode 100644 _opensearch_plugins_docs/im/index-rollups/rollup-api.md create mode 100644 _opensearch_plugins_docs/im/index.md create mode 100644 _opensearch_plugins_docs/im/ism/api.md create mode 100644 _opensearch_plugins_docs/im/ism/index.md create mode 100644 _opensearch_plugins_docs/im/ism/managedindices.md create mode 100644 _opensearch_plugins_docs/im/ism/policies.md create mode 100644 _opensearch_plugins_docs/im/ism/settings.md create mode 100644 _opensearch_plugins_docs/im/refresh-analyzer/index.md create mode 100644 _opensearch_plugins_docs/knn/api.md create mode 100644 _opensearch_plugins_docs/knn/approximate-knn.md create mode 100644 _opensearch_plugins_docs/knn/index.md create mode 100644 _opensearch_plugins_docs/knn/jni-library.md create mode 100644 _opensearch_plugins_docs/knn/knn-score-script.md create mode 100644 _opensearch_plugins_docs/knn/painless-functions.md create mode 100644 _opensearch_plugins_docs/knn/performance-tuning.md create mode 100644 _opensearch_plugins_docs/knn/settings.md create mode 100644 _opensearch_plugins_docs/pa/api.md create mode 100644 _opensearch_plugins_docs/pa/dashboards.md create mode 100644 _opensearch_plugins_docs/pa/index.md create mode 100644 _opensearch_plugins_docs/pa/rca/api.md create mode 100644 _opensearch_plugins_docs/pa/rca/index.md create mode 100644 _opensearch_plugins_docs/pa/rca/reference.md create mode 100644 _opensearch_plugins_docs/pa/reference.md create mode 100644 _opensearch_plugins_docs/ppl/commands.md create mode 100644 _opensearch_plugins_docs/ppl/datatypes.md create mode 100644 _opensearch_plugins_docs/ppl/endpoint.md create mode 100644 _opensearch_plugins_docs/ppl/functions.md create mode 100644 _opensearch_plugins_docs/ppl/identifiers.md create mode 100644 _opensearch_plugins_docs/ppl/index.md create mode 100644 _opensearch_plugins_docs/ppl/protocol.md create mode 100644 _opensearch_plugins_docs/ppl/settings.md create mode 100644 _opensearch_plugins_docs/security/access-control/api.md create mode 100644 _opensearch_plugins_docs/security/access-control/cross-cluster-search.md create mode 100644 _opensearch_plugins_docs/security/access-control/default-action-groups.md create mode 100644 _opensearch_plugins_docs/security/access-control/document-level-security.md create mode 100644 _opensearch_plugins_docs/security/access-control/field-level-security.md create mode 100644 _opensearch_plugins_docs/security/access-control/field-masking.md create mode 100644 _opensearch_plugins_docs/security/access-control/impersonation.md create mode 100644 _opensearch_plugins_docs/security/access-control/index.md create mode 100644 _opensearch_plugins_docs/security/access-control/multi-tenancy.md create mode 100644 _opensearch_plugins_docs/security/access-control/permissions.md create mode 100644 _opensearch_plugins_docs/security/access-control/users-roles.md create mode 100644 _opensearch_plugins_docs/security/audit-logs/field-reference.md create mode 100644 _opensearch_plugins_docs/security/audit-logs/index.md create mode 100644 _opensearch_plugins_docs/security/audit-logs/storage-types.md create mode 100644 _opensearch_plugins_docs/security/configuration/client-auth.md create mode 100755 _opensearch_plugins_docs/security/configuration/concepts.md create mode 100755 _opensearch_plugins_docs/security/configuration/configuration.md create mode 100755 _opensearch_plugins_docs/security/configuration/disable.md create mode 100755 _opensearch_plugins_docs/security/configuration/generate-certificates.md create mode 100644 _opensearch_plugins_docs/security/configuration/index.md create mode 100755 _opensearch_plugins_docs/security/configuration/ldap.md create mode 100755 _opensearch_plugins_docs/security/configuration/openid-connect.md create mode 100644 _opensearch_plugins_docs/security/configuration/proxy.md create mode 100755 _opensearch_plugins_docs/security/configuration/saml.md create mode 100755 _opensearch_plugins_docs/security/configuration/security-admin.md create mode 100644 _opensearch_plugins_docs/security/configuration/system-indices.md create mode 100755 _opensearch_plugins_docs/security/configuration/tls.md create mode 100644 _opensearch_plugins_docs/security/configuration/yaml.md create mode 100755 _opensearch_plugins_docs/security/index.md create mode 100644 _opensearch_plugins_docs/sql/aggregations.md create mode 100644 _opensearch_plugins_docs/sql/basic.md create mode 100644 _opensearch_plugins_docs/sql/cli.md create mode 100644 _opensearch_plugins_docs/sql/complex.md create mode 100644 _opensearch_plugins_docs/sql/datatypes.md create mode 100644 _opensearch_plugins_docs/sql/delete.md create mode 100644 _opensearch_plugins_docs/sql/endpoints.md create mode 100644 _opensearch_plugins_docs/sql/functions.md create mode 100644 _opensearch_plugins_docs/sql/index.md create mode 100644 _opensearch_plugins_docs/sql/jdbc.md create mode 100644 _opensearch_plugins_docs/sql/limitation.md create mode 100644 _opensearch_plugins_docs/sql/metadata.md create mode 100644 _opensearch_plugins_docs/sql/monitoring.md create mode 100644 _opensearch_plugins_docs/sql/odbc.md create mode 100644 _opensearch_plugins_docs/sql/partiql.md create mode 100644 _opensearch_plugins_docs/sql/protocol.md create mode 100644 _opensearch_plugins_docs/sql/settings.md create mode 100644 _opensearch_plugins_docs/sql/sql-full-text.md create mode 100644 _opensearch_plugins_docs/sql/troubleshoot.md create mode 100644 _opensearch_plugins_docs/sql/workbench.md create mode 100644 _opensearch_plugins_docs/trace/data-prepper-reference.md create mode 100644 _opensearch_plugins_docs/trace/data-prepper.md create mode 100644 _opensearch_plugins_docs/trace/get-started.md create mode 100644 _opensearch_plugins_docs/trace/index.md create mode 100644 _opensearch_plugins_docs/trace/ta-dashboards.md create mode 100644 _opensearch_troubleshooting_docs/index.md create mode 100644 _opensearch_troubleshooting_docs/openid-connect.md create mode 100644 _opensearch_troubleshooting_docs/saml.md create mode 100644 _opensearch_troubleshooting_docs/security-admin.md create mode 100644 _opensearch_troubleshooting_docs/tls.md create mode 100644 images/ad.png create mode 100644 images/alerting.png create mode 100644 images/cli.gif create mode 100644 images/cluster.png create mode 100644 images/expression.png create mode 100644 images/expressionAtom.png create mode 100644 images/gantt-chart.png create mode 100644 images/hot-rod.png create mode 100644 images/ism.png create mode 100644 images/joinPart.png create mode 100644 images/markdown-notebook.png create mode 100644 images/perftop-grid.png create mode 100644 images/perftop.png create mode 100644 images/ppl.png create mode 100644 images/predicate.png create mode 100644 images/reporting-error.png create mode 100644 images/saml-keycloak-sign-documents.png create mode 100644 images/security-ccs.png create mode 100644 images/security-dls.png create mode 100644 images/security.png create mode 100644 images/selectElement.png create mode 100644 images/selectElements.png create mode 100644 images/showFilter.png create mode 100644 images/showStatement.png create mode 100644 images/singleDeleteStatement.png create mode 100644 images/sql.png create mode 100644 images/ta-dashboard.png create mode 100644 images/ta-diagram.drawio create mode 100644 images/ta-services.png create mode 100644 images/ta-trace.png create mode 100644 images/ta.svg create mode 100644 images/tableName.png create mode 100644 images/tableSource.png create mode 100644 images/workbench.gif diff --git a/_config.yml b/_config.yml index b33172dd..19ce7802 100644 --- a/_config.yml +++ b/_config.yml @@ -1,18 +1,3 @@ -# Welcome to Jekyll! -# -# This config file is meant for settings that affect your whole blog, values -# which you are expected to set up once and rarely edit after that. If you find -# yourself editing this file very often, consider using Jekyll's data files -# feature for the data you need to update frequently. -# -# For technical reasons, this file is *NOT* reloaded automatically when you use -# 'bundle exec jekyll serve'. If you change this file, please restart the server process. - -# Site settings -# These are used to personalize your new site. If you look in the HTML files, -# you will see them accessed via {{ site.title }}, {{ site.email }}, and so on. -# You can create any custom variable you would like, and they will be accessible -# in the templates via {{ site.myvariable }}. title: OpenSearch documentation description: >- # this means to ignore newlines until "baseurl:" Documentation for OpenSearch, the Apache 2.0 search, analytics, and visualization suite with advanced security, alerting, SQL support, automated index management, deep performance analysis, and more. @@ -39,6 +24,43 @@ aux_links: - "https://opensearch.org" color_scheme: opensearch +# Define Jekyll collections +collections: + # Define a collection named "tests", its documents reside in the "_tests" directory + opensearch_docs: + permalink: "/:collection/:path/" + output: true + opensearch_dashboards_docs: + permalink: "/:collection/:path/" + output: true + opensearch_plugins_docs: + permalink: "/:collection/:path/" + output: true + external_links: + permalink: "/:collection/:path/" + output: true + +just_the_docs: + # Define the collections used in the theme + collections: + opensearch_docs: + name: OpenSearch + # nav_exclude: true + # nav_fold: true + # search_exclude: true + opensearch_dashboards_docs: + name: OpenSearch Dashboards + #nav_fold: true + opensearch_plugins_docs: + name: Plugins + #nav_fold: true + opensearch_troubleshooting_docs: + name: Troubleshooting + #nav_fold: true + external_links: + name: External links + + # Enable or disable the site search # Supports true (default) or false search_enabled: true diff --git a/_external_links/javadoc.md b/_external_links/javadoc.md new file mode 100644 index 00000000..6bcc81cc --- /dev/null +++ b/_external_links/javadoc.md @@ -0,0 +1,7 @@ +--- +layout: default +title: Javadoc +nav_order: 1 +permalink: /javadoc/ +redirect_to: https://opensearch.org/docs/javadocs/ +--- diff --git a/_includes/nav.html b/_includes/nav.html index 9fc8b022..4330a15b 100644 --- a/_includes/nav.html +++ b/_includes/nav.html @@ -60,7 +60,7 @@ {%- for node in pages_list -%} {%- if node.parent == nil -%} {%- unless node.nav_exclude -%} - {%- endunless -%} {%- endfor -%} - {%- endif -%} {%- endunless -%} {%- endif -%} {%- endfor -%} - + +{%- if page.collection == include.key -%} + + {%- for node in pages_list -%} + {%- if node.parent == nil -%} + {%- if page.parent == node.title or page.grand_parent == node.title -%} + {%- assign first_level_url = node.url | absolute_url -%} + {%- endif -%} + {%- if node.has_children -%} + {%- assign children_list = pages_list | where: "parent", node.title -%} + {%- for child in children_list -%} + {%- if child.has_children -%} + {%- if page.url == child.url or page.parent == child.title and page.grand_parent == child.parent -%} + {%- assign second_level_url = child.url | absolute_url -%} + {%- endif -%} + {%- endif -%} + {%- endfor -%} + {%- endif -%} + {%- endif -%} + {%- endfor -%} + + {% if page.has_children == true and page.has_toc != false %} + {%- assign toc_list = pages_list | where: "parent", page.title | where: "grand_parent", page.parent -%} + {%- endif -%} + +{%- endif -%} diff --git a/_layouts/default.html b/_layouts/default.html index 14d95c9a..fe35f3f5 100755 --- a/_layouts/default.html +++ b/_layouts/default.html @@ -38,13 +38,6 @@ layout: table_wrappers - - External - - - - -