Skip to content

Commit

Permalink
STCOR-621 point MainNav to documentation's root URL (#1226)
Browse files Browse the repository at this point in the history
Point to the documentation site's root URL, https://docs.folio.org/,
instead of https://docs.folio.org/docs/, which corresponds to the
Honeysuckle release. This will have the effect of keeping the destinaton
link "current" since the "Go to the docs" button at the root URL always
points to the most-recent release.

Refs STCOR-621
  • Loading branch information
zburke committed Jul 25, 2022
1 parent d449114 commit 598f347
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
# Change history for stripes-core

## 8.3.0 IN PROGRESS

* Use documenation's root URL in NavBar `?` link. Refs STCOR-621.

## [8.2.0](https://github.com/folio-org/stripes-core/tree/v8.2.0) (2022-06-14)
[Full Changelog](https://github.com/folio-org/stripes-core/compare/v8.1.0...v8.2.0)

Expand Down
2 changes: 1 addition & 1 deletion src/components/MainNav/MainNav.js
Original file line number Diff line number Diff line change
Expand Up @@ -199,7 +199,7 @@ class MainNav extends Component {
{({ lastVisited }) => {
const apps = this.getAppList(lastVisited);
const selectedApp = apps.find(entry => entry.active);
const helpUrl = stripes.config.helpUrl ?? 'https://docs.folio.org/docs';
const helpUrl = stripes.config.helpUrl ?? 'https://docs.folio.org';

return (
<header className={css.navRoot}>
Expand Down

0 comments on commit 598f347

Please sign in to comment.