1/** 2 * Copyright 2021 OpenConfig Project 3 * 4 * Licensed under the Apache License, Version 2.0 (the "License"); 5 * you may not use this file except in compliance with the License. 6 * You may obtain a copy of the License at 7 * 8 * http://www.apache.org/licenses/LICENSE-2.0 9 * 10 * Unless required by applicable law or agreed to in writing, software 11 * distributed under the License is distributed on an "AS IS" BASIS, 12 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 * See the License for the specific language governing permissions and 14 * limitations under the License. 15 */ 16 17tocbot.init({ 18 // Where to render the table of contents. 19 tocSelector: '.js-toc', 20 // Where to grab the headings to build the table of contents. 21 contentSelector: '.js-toc-content', 22 // Which headings to grab inside of the contentSelector element. 23 headingSelector: 'h1, h2, h3, h4', 24 // For headings inside relative or absolute positioned containers within content. 25 hasInnerContainers: true, 26 orderedList: false, 27 28});
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.