Skip to content

Commit

Permalink
Updates the package for active header links to get it to run correctly
Browse files Browse the repository at this point in the history
  • Loading branch information
bretterer committed Mar 20, 2019
1 parent d17c339 commit d40a92c
Show file tree
Hide file tree
Showing 6 changed files with 2,107 additions and 1,091 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,8 @@
"chalk": "^2.4.2",
"cross-env": "^5.2.0",
"if-env": "^1.0.4",
"mocha": "^5.2.0",
"markdown-link-check": "^3.7.2",
"mocha": "^5.2.0",
"protractor": "^5.4.2",
"recursive-readdir": "^2.2.2",
"remove": "^0.1.5",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ module.exports = (options) => ({
clientRootMixin: path.resolve(__dirname, 'clientRootMixin.js'),
define: {
AHL_SIDEBAR_LINK_SELECTOR: options.sidebarLinkSelector || '.sidebar-link',
AHL_HEADER_ANCHOR_SELECTOR: options.headerAnchorSelector || '.header-anchor'
AHL_HEADER_ANCHOR_SELECTOR: options.headerAnchorSelector || '.header-anchor',
AHL_HEADER_TOP_OFFSET: options.headerTopOffset || 90
}
})
Original file line number Diff line number Diff line change
@@ -1,9 +1,12 @@
{
"name": "@okta/vuepress-plugin-active-header-links",
"version": "1.0.0-alpha.1",
"description": "active-header-links plugin for oktas vuepress, Temporary placeholder until updated in core",
"version": "1.0.0",
"description": "active-header-links plugin for okta vuepress, Temporary placeholder until updated in core",
"main": "index.js",
"dependencies": {
"lodash.throttle": "^4.1.1"
},
"peerDependencies": {
"vuepress": "^1.0.0-alpha.33"
}
}
3 changes: 2 additions & 1 deletion packages/@okta/vuepress-site/.vuepress/config.js
Original file line number Diff line number Diff line change
Expand Up @@ -211,7 +211,8 @@ module.exports = {
},

plugins: [
'@okta/vuepress-plugin-my-okta'
'@okta/vuepress-plugin-my-okta',
'@okta/vuepress-plugin-active-header-links'
],

evergreen: false,
Expand Down
2 changes: 1 addition & 1 deletion packages/@okta/vuepress-theme-default/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
"homepage": "https://github.com/okta/okta.github.io",
"dependencies": {
"@vuepress/plugin-active-header-links": "^1.0.0-alpha.33",
"@okta/vuepress-plugin-active-header-links": "^1.0.0-alpha.1",
"@okta/vuepress-plugin-active-header-links": "^1.0.0",
"axios": "^0.18.0",
"lodash": "^4.17.11",
"node-sass": "^4.9.4",
Expand Down
Loading

0 comments on commit d40a92c

Please sign in to comment.