summaryrefslogtreecommitdiffstats
path: root/src/js
Commit message (Collapse)AuthorAgeFilesLines
* enable the Swift language highlight in code blocksRoman Shamritskiy2018-12-281-0/+1
|
* Add clojure to highlight.js languagesDominic Monroe2018-10-131-0/+1
|
* fix scroll into view behavior in navigationDan Allen2018-08-121-9/+6
| | | | | | | - set position relative on .nav-menu - remove position relative from .nav-item - optimize computations for scroll into view - remove debug statements
* more debugging of scrollIntoViewDan Allen2018-08-121-2/+2
|
* debug navigation scrollIntoViewDan Allen2018-08-121-0/+3
|
* make text of text-only nav item with children clickableDan Allen2018-08-051-0/+20
|
* fix race condition in fragment jumperDan Allen2018-04-151-0/+1
| | | | - sometimes the built-in jump wins out; jump again after delay to be sure
* rename current class to context in navigation explore panelDan Allen2018-03-271-1/+1
|
* assume a single nav menu in the navigation scriptDan Allen2018-03-271-6/+2
|
* short-circuit navigation menu logic if navigation menu is absentDan Allen2018-03-271-14/+18
|
* scope DOM queries for menu elements to the menu panelDan Allen2018-03-271-7/+8
|
* consolidate the from value resolution in the find functionDan Allen2018-03-271-2/+1
|
* Enable Kotlin and Scala language support in highlight.js configThomas Girard2018-03-151-0/+2
|
* isolate state for each nav menuDan Allen2018-03-141-12/+18
| | | | | | | - add data-component attribute to navigation container - add data-version attribute to navigation container - store state for each menu separately, using the component + version as the key - add version field to nav-state data to detect & purge incompatible data
* Enable nix language support in highlight.js configPierre Radermecker2018-03-141-0/+1
|
* enable haskell language support in highlight.js configDan Allen2018-03-141-0/+1
|
* format and consolidate code in navigation scriptDan Allen2018-02-051-10/+3
|
* open menu item when activatedDan Allen2018-02-051-11/+23
| | | | | | - open menu item when activated (i.e., clicked) - reorder logic in navigation script to be more intuitive - use single query to find all menu items to open
* look for in-page links anywhere in pageDan Allen2018-02-041-1/+1
| | | | - fixes the scroll offset when an in-page link in the site navigation is clicked
* align templates with UI modelDan Allen2018-01-021-9/+22
| | | | | | | | | | | | | | - align templates with Antora's UI model - add relativize helper to relativize a root relative URL to the current page - add detag helper to strip HTML tags from content - detag page title in HTML title element - replace the term "domain" with "component" - rename navigation-component to navigation-menu - update navigation JavaScript to activate path to current page in navigation tree - update build preview task to assign correct properties on model - update sample UI model - remove page-versions and has-versions helpers - compare selected/latest/current using equality instead of checking boolean property
* add JavaScript for fragment jumperDan Allen2017-11-201-0/+37
|
* add JavaScript for mobile navbarDan Allen2017-11-201-0/+12
|
* add JavaScript for page version selectorDan Allen2017-11-201-0/+18
|
* add JavaScript for navigation menuDan Allen2017-11-181-0/+122
|
* update eslint rules and format JavaScriptDan Allen2017-10-121-1/+1
| | | | | | - set maximum line length to 120 - don't require a space immediately after the line comment character or inside a block comment - format JavaScript
* integrate highlight.js as vendor scriptDan Allen2017-10-111-0/+27
- add highlight.js as dependency - add script to require highlight.js and register languages - add footer scripts partial - link to compiled highlight.js script