Comments (6)
Yes, I've seen this and I presume it's something in our scripts doing it (probably the thing that highlights the sidebar or auto-expands the sub-headings when you're within that section?) but haven't looked into what it is yet.
from meteor-theme-hexo.
This hadn't been a more prominent problem until proxy-release-notes.md
since markdown header-syntax (e.g. #
, ##
, ###
) normally replaces symbols (something along the lines of [\W]
, I believe) with hyphens (-
) when it generates the id
s for the resulting <h#>
tags.
In the case of proxy-release-notes.md
(and other newer docs markdown), we manually generate the anchor to prevent it from breaking permalinks if we change the header itself, and the proxy versions are some of the only headers which utilize periods (à la, 1.0.4
) causing this smooth-scroll
bug to rear its head.
Anyhow, fixed with an upgrade of smooth-scroll
(which is now served via CDN too). 248d0ba.
Thanks for reporting this!
from meteor-theme-hexo.
Yeah, I didn't think it was helpful to include dates in the anchors along with the version number. Thanks!
from meteor-theme-hexo.
What you did absolutely makes sense, just verbalizing the reason why this is cropping up now. I'll deploy this next week after I've bunched some more features to reduce PR/update noise.
from meteor-theme-hexo.
@glasser This is deployed now to the Engine docs! (i.e. fixed).
from meteor-theme-hexo.
Thanks!
from meteor-theme-hexo.
Related Issues (20)
- <em> is not italic HOT 1
- Theme License HOT 2
- [mobile] Can't scroll properly HOT 4
- [mobile] Menu click target too small
- Make sure forum link goes to same protocol
- Empty lines in code snippets are not displayed HOT 3
- offset header on deep link HOT 2
- Default rendering for markdown doesn't match GitHub README HOT 2
- Report error after installing HOT 3
- h5 is really small compared to body and don't have links in the sidebar
- Links and Code look the same HOT 1
- Apollo docs need to upgrade to the new navbar
- [feature] Broken link checker
- “Edit on GitHub” button is broken on version branches. HOT 1
- Versioned documentation without trailing slash breaks links.
- Can't test Algolia locally
- .content doesn't extend to bottom of screen on mobile HOT 3
- Display the nav_links in the mobile menu HOT 1
- Remove Lodash
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from meteor-theme-hexo.