cypress-documentation
                                
                                 cypress-documentation copied to clipboard
                                
                                    cypress-documentation copied to clipboard
                            
                            
                            
                        Broken changelog page
- fixes the broken changelog page.
The latest updates on your projects. Learn more about Vercel for Git ↗︎
| Name | Status | Preview | Updated | 
|---|---|---|---|
| cypress-documentation | ✅ Ready (Inspect) | Visit Preview | Sep 26, 2022 at 6:37PM (UTC) | 
@jaffrepaul so I manage to fix the changelog page partially. The issue I cannot figure out is how to sort the changelog orders in desc order so the latest release is first. It looks like we can do it, via these docs, but I cannot figure it out so maybe you or @elylucas can give it a shot.
https://docusaurus.io/docs/sidebar/autogenerated#customize-the-sidebar-items-generator
@jaffrepaul nice work getting this together! I haven't had a chance to look at the PR yet, but I see 2 things that are different than the current implementation:
- We aren't setting an "active" class on the heading being viewed.
- We aren't scrolling down far enough. The version number heading is being cut off currently.
This is the current changelog:
Screen Shot 2022-09-20 at 12 47 07 PM
This site:
@jaffrepaul nice work getting this together! I haven't had a chance to look at the PR yet, but I see 2 things that are different than the current implementation:
- We aren't setting an "active" class on the heading being viewed.
- We aren't scrolling down far enough. The version number heading is being cut off currently.
This is the current changelog:
Screen Shot 2022-09-20 at 12 47 07 PM
~~This site:~~
Cool. I solved the scroll issue. The active class has oddly proven to be difficult since its part of the TOC hack.