Uh oh!
There was an error while loading. Please reload this page.
fix: the sidebar links to another site. - #1336
Conversation
This pull request is being automatically deployed with Vercel (learn more). 🔍 Inspect: https://vercel.com/docsify-core/docsify-preview/kn8xskqo0 |
This pull request is automatically built and testable in CodeSandbox. To see build info of the built libraries, click here or the icon next to each commit SHA. Latest deployment of this branch, based on commit ccc343e:
|
Uh oh!
There was an error while loading. Please reload this page.
sy-records
commented
Aug 15, 2020
I think if the sidebar has an external link, you should click to jump.. Otherwise, why set the external link? |
Koooooo-7
commented
Aug 15, 2020
it is not setting the sidebar into external link issue . Currently, when u set the title |
trusktr
left a comment
There was a problem hiding this comment.
Looks good. Can we add tests? (May want to rebase on the playwright PR, or just wait until it is merged soon)
Koooooo-7
commented
Aug 22, 2020
yup, waiting for the playwright PR merged. |
Koooooo-7
commented
Aug 27, 2020
@trusktr I add a simple test at |
@wszydlak I have to say it is quite a long time to make it 😅 , there is something blocked about the tests rn, I mean the tests of all the projects, we r working on integrating new tests components to docsify now. cc @anikethsaha I think we'd better setup the tests in place in this week. and any suggests about it? |
anikethsaha
commented
Sep 15, 2020
I am +1 to do a patch release. Lets review some other PRs that has tests already implemented. |
Koooooo-7
left a comment
There was a problem hiding this comment.
// TODO: The test components changed now, if the test should adjust to new one?
Koooooo-7
commented
Oct 14, 2020
Add test. |
* develop: (81 commits) fix: upgrade dompurify from 2.1.0 to 2.1.1 (#1402) fix: upgrade dompurify from 2.0.17 to 2.1.0 (#1397) fix: search on homepage test (#1398) fix: the sidebar links to another site. (#1336) fix: Can't search homepage content (#1391) fix: upgrade debug from 4.1.1 to 4.3.0 (#1390) fix: packages/docsify-server-renderer/package.json & packages/docsify-server-renderer/package-lock.json to reduce vulnerabilities (#1389) Fix eslint warnings (#1388) docs: add crossOriginLinks configurations details. (#1386) Remove Cypress screenshots Fix friendly message display Add Vue 3 compatibility Show dir listing & help msg for manual instance Add NODE_MODULES_URL global Jest + Playwright Testing (#1276) update doc (#1381) Fix scroll event end value fix: upgrade docsify from 4.11.4 to 4.11.6 (#1373) chore(deps): bump node-fetch in /packages/docsify-server-renderer (#1370) test: fix cannot search list content (#1367) ...
Summary
Fix#1069 , the sidebar should always direct to current site content.
SO, Removing the sidebar titles'
<a>tag (if had) when the header with a link.What kind of change does this PR introduce? (check at least one)
If changing the UI of default theme, please provide the before/after screenshot:
Does this PR introduce a breaking change? (check one)
If yes, please describe the impact and migration path for existing applications:
The PR fulfills these requirements:
fix #xxx[,#xxx], where "xxx" is the issue number)fix"href" of sidebar headers #1069
You have tested in the following browsers: (Providing a detailed version will be better.)
If adding a new feature, the PR's description includes:
To avoid wasting your time, it's best to open a feature request issue first and wait for approval before working on it.